MCP SQL Server
Enables querying and managing PostgreSQL and MySQL databases through natural language, supporting connection management, query execution, schema inspection, and parameterized queries with connection pooling.
数据库
npm 0 个平台
0 项功能
安装
npx -y postgres-mysql-mcp-server
把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
{
"mcpServers": {
"postgres-mysql-mcp-server": {
"command": "npx",
"args": [
"-y",
"postgres-mysql-mcp-server"
],
"env": {
"DB_SSL": "<DB_SSL>",
"DB_HOST": "<DB_HOST>",
"DB_PORT": "<DB_PORT>",
"DB_TYPE": "<DB_TYPE>",
"DB_USER": "<DB_USER>",
"MYSQL_SSL": "<MYSQL_SSL>",
"MYSQL_HOST": "<MYSQL_HOST>",
"MYSQL_PORT": "<MYSQL_PORT>"
}
}
}
}把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
数据来源:公开的 MCP Server 目录。本站为独立第三方目录,与各 MCP Server 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。