An MCP server that provides LLMs access to other LLMs
An MCP server that provides access to LLMs using the LlamaIndexTS library.
This MCP server provides the following tools:
generate_code
: Generate code based on a descriptiongenerate_code_to_file
: Generate code and write it directly to a file at a specific line numbergenerate_documentation
: Generate documentation for codeask_question
: Ask a question to the LLM
To install LLM Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @sammcj/mcp-llm --client claude
npm install
npm run build
The repository includes an example script that demonstrates how to use the MCP server programmatically:
node examples/use-mcp-server.js
This script starts the MCP server and sends requests to it using curl commands.
{
"description": "Create a function that calculates the factorial of a number",
"language": "JavaScript"
}
{
"description": "Create a function that calculates the factorial of a number",
"language": "JavaScript",
"filePath": "/path/to/factorial.js",
"lineNumber": 10,
"replaceLines": 0
}
The generate_code_to_file
tool supports both relative and absolute file paths. If a relative path is provided, it will be resolved relative to the current working directory of the MCP server.
{
"code": "function factorial(n) {\n if (n <= 1) return 1;\n return n * factorial(n - 1);\n}",
"language": "JavaScript",
"format": "JSDoc"
}
{
"question": "What is the difference between var, let, and const in JavaScript?",
"context": "I'm a beginner learning JavaScript and confused about variable declarations."
}
A Model Context Protocol (MCP) server that provides onchain tools for LLMs, allowing them to interact with the Base network and Coinbase API.
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io
A Model Context Protocol (MCP) server that provides tools for interacting with the Twitch API using the Helix API.
A simple note-taking MCP server for recording and managing notes with AI models.