MCP SQL 数据库访问服务
提供客户端访问 MySQL 和 PostgreSQL 数据库的 MCP 服务器。
快速入门
-
将本仓库克隆到本地: git clone https://github.com/algonacci/mcp-sql.git
-
在您的 MCP 配置文件中添加以下内容以启用 SQL 访问功能: { "mcpServers": { "sql_access": { "command": "uv", "args": [ "--directory", "%USERPROFILE%/Documents/GitHub/mcp-sql", "run", "python", "main.py" ] } } }
-
启动服务并运行 main.py。