← 返回目录查看 GitHub 仓库
🔒
fastapi_mcp
securityPythonremote🟢 活跃维护
11,797 stars
最后更新:2026/4/12
质量评分
良好71/100
0255075100
发现方式
github-search
最后更新
2026/4/12
首次收录
2026/4/12
状态
✓ 活跃
📝 简介
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
🏷️ 标签
fastapi_mcpaiauthenticationauthorizationclaude
🚀 安装与配置
🟢 一键安装快速安装
pip install fastapi_mcp复制Claude Desktop 配置
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"fastapi_mcp": {
"command": "uvx",
"args": [
"fastapi_mcp"
]
}
}
}复制Cursor 配置
在 Cursor Settings → MCP 中添加
{
"mcpServers": {
"fastapi_mcp": {
"command": "uvx",
"args": [
"fastapi_mcp"
]
}
}
}复制📋 环境要求: Python 3.10+