A side-by-side look at the Mssql MCP and Postgres MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Mssql MCP 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.
MSSQL_CONNECTION_STRING.list_databases, list_schemas, list_objects.POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB.query, execute, explain_query.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 61/100 · Good | 60/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | other | other |
| Pricing | Free | Free |
| Required env vars | MSSQL_CONNECTION_STRING | POSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DB |
| Verified owner | Community listing | Community listing |
| GitHub stars | 6 | 12 |
| Directory activity | 0 views 0 installs 0 upvotes | 4 views 0 installs 0 upvotes |
| Tools | 9 | 15 |
| Full listing | View Mssql MCP | View Postgres MCP |
list_databasesList all databases with an `is_current` flag (system DBs excluded).list_schemasList schemas in the current or specified database.list_objectsList tables/views/procedures/functions with schema, type, and limit filters (default 1000).get_object_detailsReturn columns, parameters, indexes, and triggers for a specific object.execute_sqlExecute a T-SQL batch. SELECT in Restricted; DML/DDL in Unrestricted.explain_queryShow the execution plan summary (or raw XML) without executing the query.analyze_indexesMissing-index analysis from `sys.dm_db_missing_index_*` DMVs (workload-wide or per-query).get_top_queriesTop queries by CPU/duration/reads from `sys.dm_exec_query_stats`.analyze_db_healthSummary health check: size, VLFs, fragmentation, stats staleness, blocking.queryExecute read-only SQL queries against the databaseexecuteExecute write operations (INSERT/UPDATE/DELETE) when enabledexplain_queryGet EXPLAIN plan for query optimizationlist_schemasList all schemas in the databaselist_tablesList tables in a specific schemadescribe_tableGet table structure (columns, types, constraints)list_viewsList views in a schemadescribe_viewGet view definition and columnslist_functionsList functions and procedurestable_statsGet table statistics (row count, size, bloat)list_indexesList indexes for a tablelist_constraintsList constraints (PK, FK, UNIQUE, CHECK)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.
{
"mcpServers": {
"codegiveness-mssql-mcp": {
"command": "npx",
"args": [
"-y",
"@codegiveness/mssql-mcp"
],
"env": {
"MSSQL_CONNECTION_STRING": "YOUR_MSSQL_CONNECTION_STRING_HERE"
}
}
}
}
{
"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"
}
}
}
}