← 返回目录查看 GitHub 仓库
🗄️
legion-mcp
databasesPythonremote🟢 活跃维护
88 stars
最后更新:2026/4/9
质量评分
良好71/100
0255075100
发现方式
github-search
最后更新
2026/4/9
首次收录
2026/4/12
状态
✓ 活跃
📝 简介
A server that helps people access and query data in databases using the Legion Query Runner with Model Context Protocol (MCP) in Python.
🏷️ 标签
legion-mcpdatabaselegion-aimcpmcp-server
🚀 安装与配置
🔴 需要自部署快速安装
pip install legion-mcp复制Claude Desktop 配置
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"legion-mcp": {
"command": "uvx",
"args": [
"legion-mcp"
]
}
}
}复制Cursor 配置
在 Cursor Settings → MCP 中添加
{
"mcpServers": {
"legion-mcp": {
"command": "uvx",
"args": [
"legion-mcp"
]
}
}
}复制📋 环境要求: Python 3.10+