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.
Install
npx -y postgres-mysql-mcp-server
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"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>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.