MCP LLM
@sammcj
关于 MCP LLM
An MCP server that provides LLMs access to other LLMs
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-llm": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@sammcj/mcp-llm",
"--client",
"claude"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP LLM?
MCP LLM is an MCP server that provides access to LLMs using the LlamaIndexTS library. It offers tools for code generation, documentation, and question answering, intended for developers who want to integrate LLM capabilities into AI‑powered coding workflows.
How to use MCP LLM?
Install via Smithery with npx -y @smithery/cli install @sammcj/mcp-llm --client claude, or manually from source by cloning the repository, running npm install and npm run build, then updating your MCP client configuration. Use the provided tools (generate_code, generate_code_to_file, generate_documentation, ask_question) by sending JSON‑formatted requests.
Key features of MCP LLM
- Generate code from a natural‑language description.
- Write generated code directly to a file at a specific line.
- Generate documentation for existing code.
- Ask open‑ended questions to the LLM.
- Supports both relative and absolute file paths.
Use cases of MCP LLM
- Rapidly scaffold functions or algorithms from a description.
- Insert generated code into an existing file at a precise location.
- Automatically produce JSDoc or similar docs for a code snippet.
- Get answers to programming questions with optional contextual hints.
FAQ from MCP LLM
What tools does MCP LLM provide?
It provides four tools: generate_code, generate_code_to_file, generate_documentation, and ask_question.
How do I install MCP LLM?
You can install it automatically via Smithery using the command npx -y @smithery/cli install @sammcj/mcp-llm --client claude, or manually by cloning the repository and running npm install and npm run build.
Can I generate code directly into a file?
Yes, the generate_code_to_file tool accepts a filePath, lineNumber, and replaceLines parameter to write generated code to a specific file and line.
Does the server support relative file paths in generate_code_to_file?
Yes. If a relative path is provided, it is resolved relative to the current working directory of the MCP server.
Which LLM library does MCP LLM use?
It uses the LlamaIndexTS library under the hood.
AI 与智能体 分类下的更多 MCP 服务器
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
评论