legion-mcp
支持AI驱动数据访问的数据库MCP服务器. legion-mcp is a Model Context Protocol (MCP) server maintained by TheRaLabs. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 5 tools, including execute_query, execute_query_json, get_table_columns, get_table_types and get_query_history, that an agent can call directly. It is categorized under AI/Integration, Tool/Server and Database/PostgreSQL.
什么是MCP
该MCP服务器使AI助手能够通过模型上下文协议(Model Context Protocol)与数据库交互,提供查询执行、模式访问和数据库操作等MCP资源。
如何使用MCP
配置DB_TYPE和DB_CONFIG参数后,可作为独立服务器运行或与FastAPI集成。支持包括UV和PIP安装在内的多种部署方式。
MCP的用途
使AI助手能够执行数据库操作、分析数据并通过MCP协议保持上下文生成SQL查询。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the legion-mcp MCP server?
legion-mcp is a Model Context Protocol server from TheRaLabs. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect legion-mcp to my AI client?
Add legion-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does legion-mcp provide?
legion-mcp provides 5 tools: execute_query, execute_query_json, get_table_columns, get_table_types and get_query_history.
Is legion-mcp free to use?
legion-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
