drf-mcp-docs vs everything
并排对比,帮你在这两个 MCP server 之间做选择。
drf-mcp-docs by Abdulkhalek-1 | everything by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 17 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 43 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具效率工具 | 开发者工具AI / LLM 工具其它 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 2 个月前 | 本月 |
drf-mcp-docs · 概述
一个将Django REST Framework API文档通过MCP协议暴露给AI编码助手,帮助前端开发的MCP服务器。
everything · 概述
官方 MCP 测试服务器,展示协议全部功能,供客户端开发者使用。
drf-mcp-docs · 使用场景
- AI助手生成用于消费DRF API的React/Vue/Angular hooks
- 自动生成TypeScript或Python中的类型化API客户端代码
- 文档探索,AI可以查询端点详细信息和示例
- 使用自动生成的代码片段创建集成教程和指南
everything · 使用场景
- 测试 MCP 客户端实现是否支持所有协议功能
- 通过参考服务器学习 MCP 协议能力
- 验证客户端对不同传输方式的兼容性
drf-mcp-docs · 安装
安装
pip install drf-mcp-docs
# 使用特定模式生成器:
pip install drf-mcp-docs[spectacular] # 推荐
pip install drf-mcp-docs[yasg]配置
添加到Django设置中:
INSTALLED_APPS = [
# ...
'rest_framework',
'drf_mcp_docs',
]运行
**stdio传输**(用于本地AI工具):
python manage.py runmcpserver --transport stdio**可流式HTTP传输**(用于网络访问):
python manage.py runmcpserver --transport streamable-http --host 0.0.0.0 --port 8100Claude桌面配置
添加到~/.claude.json:
{
"mcpServers": {
"my-api-docs": {
"command": "python",
"args": ["manage.py", "runmcpserver", "--transport", "stdio"],
"cwd": "/path/to/your/django/project"
}
}
}everything · 安装
NPX(推荐)
{
"mcpServers": {
"everything": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"]
}
}
}Windows 用户请使用 cmd /c:
{
"mcpServers": {
"everything": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-everything"]
}
}
}Docker
{
"mcpServers": {
"everything": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/everything"]
}
}
}全局安装
npm install -g @modelcontextprotocol/server-everything@latest
npx @modelcontextprotocol/server-everything