
mcp-llm
by sammcj·★ 78·Score 37
An MCP server providing LLMs access to other LLMs with code generation, documentation creation, and question answering tools.
Overview
mcp-llm is a JavaScript-based MCP server that enables LLMs to access other LLM capabilities through a standardized interface. It leverages LlamaIndexTS to provide four main tools: generate_code for creating code based on descriptions, generate_code_to_file for directly writing code to files, generate_documentation for automatic documentation generation, and ask_question for querying LLM knowledge. The server offers both manual installation and automated installation via Smithery, making it accessible to different user preferences.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need programmatic access to LLM capabilities for code generation and documentation within an MCP workflow.
When NOT to choose this
Avoid this if you need enterprise-grade support or more advanced features like model customization, as this appears to be a smaller project with limited documentation.
Tools this server exposes
4 tools extracted from the READMEgenerate_codeGenerate code based on a description
generate_code_to_fileGenerate code and write it directly to a file at a specific line number
generate_documentationGenerate documentation for code
ask_questionAsk a question to the LLM
Comparable tools
Installation
Installing via Smithery
npx -y @smithery/cli install @sammcj/mcp-llm --client claudeManual Install From Source
- Clone the repository
- Install dependencies:
npm install- Build the project:
npm run build- Update your MCP configuration
FAQ
- What LLM providers does this MCP server support?
- The README doesn't specify which LLM providers are supported, but it uses the LlamaIndexTS library which typically supports various LLM providers.
- Can I use this with AI clients other than Claude?
- The installation guide specifically mentions Claude Desktop, but the underlying MCP protocol should make it compatible with any MCP-compliant client.
Compare mcp-llm with
Last updated · Auto-generated from public README + GitHub signals.