everything vs fastapi_mcp
并排对比,帮你在这两个 MCP server 之间做选择。
everything by modelcontextprotocol | fastapi_mcp by tadata-org | |
|---|---|---|
| Stars | ★ 85,748 | ★ 11,863 |
| 30天用量 | — | — |
| 综合分 | 77 | 60 |
| 官方 | ✓ | — |
| 分类 | 开发者工具AI / LLM 工具其它 | 开发者工具网页抓取AI / LLM 工具 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 本月 | 6 个月前 |
everything · 概述
官方 MCP 测试服务器,展示协议全部功能,供客户端开发者使用。
fastapi_mcp · 概述
FastAPI-MCP 将 FastAPI 端点作为 MCP 工具暴露,内置身份验证功能。
everything · 使用场景
- 测试 MCP 客户端实现是否支持所有协议功能
- 通过参考服务器学习 MCP 协议能力
- 验证客户端对不同传输方式的兼容性
fastapi_mcp · 使用场景
- 将现有 REST API 转换为 AI 代理的 MCP 工具
- 安全地将内部 API 端点暴露给语言模型
- 通过最少的代码更改从现有 FastAPI 服务创建 MCP 服务器
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-everythingfastapi_mcp · 安装
使用 uv 或 pip 安装:
uv add fastapi-mcppip install fastapi-mcp在 FastAPI 应用中的基本用法:
from fastapi import FastAPI
from fastapi_mcp import FastApiMCP
app = FastAPI()
mcp = FastApiMCP(app)
mcp.mount()对于 Claude Desktop,添加到 config.json:
{
"mcpServers": {
"fastapi": {
"command": "python",
"args": ["-m", "fastapi_mcp"]
}
}
}