经 AI Skill Hub 精选评估,本地LLM服务器 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
本地LLM服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
本地LLM服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/strikersam/local-llm-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--llm---": {
"command": "npx",
"args": ["-y", "local-llm-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 本地LLM服务器 执行以下任务... Claude: [自动调用 本地LLM服务器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__llm___": {
"command": "npx",
"args": ["-y", "local-llm-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
STORAGE_BACKEND=sqlite to skip it entirelyThe wizard helps you choose providers, models, runtimes, a default agent, and a cost policy.
<p align="center"><img src="docs/screenshots/readme/v4-setup-wizard.png" width="92%" alt="Setup Wizard"/></p>
git clone https://github.com/strikersam/local-llm-server.git
cd local-llm-server
python -m venv .venv && source .venv/bin/activate
pip install -r backend/requirements.txt
Push to master — GitHub Actions does the rest automatically:
Required repository secrets:
| Secret | Where to get it |
|---|---|
RENDER_DEPLOY_HOOK_URL | Render dashboard → service → Settings → Deploy Hook |
RENDER_BACKEND_URL | Your Render service URL (e.g. https://my-service.onrender.com) |
Live demo: - Frontend: https://strikersam.github.io/local-llm-server/ - Backend API: https://local-llm-server.onrender.com/docs
Render free tier note: the backend sleeps after 15 minutes of inactivity and takes ~30 s to wake. Upgrade to Starter ($7/mo) to eliminate cold starts in production.
---
Central settings keep defaults, policies, and integrations in one place instead of scattered config files.
<p align="center"><img src="docs/screenshots/readme/v4-settings.png" width="92%" alt="Settings"/></p>
```bash cp .env.example .env
| Variable | Default | Description |
|---|---|---|
SECRET_KEY | *(required)* | JWT signing key — openssl rand -hex 32 |
STORAGE_BACKEND | mongo | Set to sqlite for zero-dependency storage |
MONGO_URL | mongodb://localhost:27017 | MongoDB connection string |
OLLAMA_BASE_URL | http://localhost:11434 | Local Ollama server |
LLM_PROVIDER | ollama | ollama · nvidia-nim · deepseek · bedrock · anthropic |
NVIDIA_API_KEY | *(optional)* | Nvidia NIM free-tier models — no local GPU required |
AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY | *(optional)* | AWS Bedrock (Claude Opus, Titan) |
ANTHROPIC_API_KEY | *(optional)* | Direct Anthropic API |
DEEPSEEK_API_KEY | *(optional)* | DeepSeek cloud API |
GITHUB_TOKEN | *(optional)* | Required for agents that open PRs, review code, or read issues |
LANGFUSE_HOST + _PUBLIC_KEY + _SECRET_KEY | *(optional)* | Observability traces |
TELEGRAM_BOT_TOKEN | *(optional)* | Remote control via Telegram |
ADMIN_EMAIL + ADMIN_PASSWORD | *(optional)* | First admin — created on first boot |
RUNTIME_DOCKER_ENABLED | false | Enable Docker agent runtime |
RUNTIME_OPENHANDS_ENABLED | false | Enable OpenHands runtime |
RUNTIME_AIDER_ENABLED | false | Enable Aider runtime |
Full reference: docs/configuration.md
```
python generate_api_key.py
高质量开源MCP工具,实现AI代理基础设施
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:本地LLM服务器 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | local-llm-server |
| Topics | aimcpautonomous |
| GitHub | https://github.com/strikersam/local-llm-server |
| 语言 | Python |
收录时间:2026-06-01 · 更新时间:2026-06-01 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端