MCP Server Mysql vs Postgres MCP

A side-by-side look at the MCP Server Mysql and Postgres MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

MCP Server Mysql logoMCP Server MysqlDatabases · Local subprocess (stdio)MySQL database integration in NodeJS with configurable access controls and schema inspection52GoodAuth: otherPostgres MCP logoPostgres MCPDatabases · Local subprocess (stdio)PostgreSQL MCP server with 14 tools for querying, schema exploration, and table analysis. Features security-first design with SQL injection prevention and read-only by default.60GoodAuth: other

Verdict: choose MCP Server Mysql for databases work as a local process; choose Postgres MCP for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

MCP Server Mysql logoChoose MCP Server Mysql when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: other.
  • You have the keys it needs: MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, MYSQL_DB.
Explore MCP Server Mysql

Postgres MCP logoChoose Postgres MCP when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: other.
  • You have the keys it needs: POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB.
  • You want tools like query, execute, explain_query.
Explore Postgres MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMCP Server Mysql logoMCP Server MysqlPostgres MCP logoPostgres MCP
CategoryDatabasesDatabases
Quality signal52/100 · Good60/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
Authotherother
PricingFreeFree
Required env varsMYSQL_HOSTMYSQL_PORTMYSQL_USERMYSQL_PASSMYSQL_DBPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DB
Verified ownerCommunity listingCommunity listing
GitHub stars2,17912
Directory activity 3 views 0 installs 0 upvotes 4 views 0 installs 0 upvotes
ToolsNot listed15

Tools & capabilities

MCP Server Mysql tools

No tool names declared yet. Check the project README from the listing page.

Postgres MCP tools 15

  • queryExecute read-only SQL queries against the database
  • executeExecute write operations (INSERT/UPDATE/DELETE) when enabled
  • explain_queryGet EXPLAIN plan for query optimization
  • list_schemasList all schemas in the database
  • list_tablesList tables in a specific schema
  • describe_tableGet table structure (columns, types, constraints)
  • list_viewsList views in a schema
  • describe_viewGet view definition and columns
  • list_functionsList functions and procedures
  • table_statsGet table statistics (row count, size, bloat)
  • list_indexesList indexes for a table
  • list_constraintsList constraints (PK, FK, UNIQUE, CHECK)
  • +3 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

MCP Server Mysql

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "benborla29-mcp-server-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ],
      "env": {
        "MYSQL_HOST": "YOUR_MYSQL_HOST_HERE",
        "MYSQL_PORT": "YOUR_MYSQL_PORT_HERE",
        "MYSQL_USER": "YOUR_MYSQL_USER_HERE",
        "MYSQL_PASS": "YOUR_MYSQL_PASS_HERE",
        "MYSQL_DB": "YOUR_MYSQL_DB_HERE"
      }
    }
  }
}

Postgres MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "javimaligno-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@javiagui/postgresql-mcp"
      ],
      "env": {
        "POSTGRES_USER": "YOUR_POSTGRES_USER_HERE",
        "POSTGRES_PASSWORD": "YOUR_POSTGRES_PASSWORD_HERE",
        "POSTGRES_DB": "YOUR_POSTGRES_DB_HERE"
      }
    }
  }
}

Frequently asked questions

MCP Server Mysql is categorized under Databases and uses a local stdio subprocess. Postgres MCP belongs to Databases and uses a local stdio subprocess. Pick MCP Server Mysql for databases work and Postgres MCP for databases.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

MCP Server Mysql is listed as free. Auth: other. Postgres MCP is listed as free. Auth: other. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add benborla29-mcp-server-mysql and javimaligno-postgres-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, MCP Server Mysql has a quality signal of 52/100 (Good) with 3 views, 0 installs and 2,179 GitHub stars. Postgres MCP has 60/100 (Good) with 4 views, 0 installs and 12 GitHub stars.