SQL数据库访问服务

MCP服务器提供对多种SQL数据库(MySQL、PostgreSQL、SQLite、SQL Server和Oracle)的访问能力。

  • by algonacci
  • Python
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 algonacci/mcp-sql

使用说明

mcp sql

MCP服务器,使客户端能够访问SQL数据库(支持MySQL、PostgreSQL、SQLite、SQL server和Oracle)

用法

要使此MCP服务器工作,请将以下配置添加到MCP配置文件中:

{
  "mcpServers": {
    "sql_access": {
      "command": "uv",
      "args": [
        "--directory",
        "%USERPROFILE%/Documents/GitHub/mcp-sql",
        "run",
        "python",
        "main.py"
      ]
    }
  }
}