A side-by-side look at the Mssql MCP and Postgres 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 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.DATABASE_URL.query, schema, table_info.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 61/100 · Good | 52/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | other | Not declared |
| Pricing | Free | Not declared |
| Required env vars | MSSQL_CONNECTION_STRING | DATABASE_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 6 | 0 |
| Directory activity | 0 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 9 | 5 |
| Full listing | View Mssql MCP | View Postgres |
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 SQL (SELECT, WITH, EXPLAIN, SHOW, ANALYZE). Returns a text table.schemaTables in a schema (default `public`) with columns and approximate row countstable_infoOne table: columns, types, null/default, PK, exact row countexplainEXPLAIN (FORMAT TEXT), optional ANALYZElist_schemasList non-system schemasPaste 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": {
"postgres": {
"command": "npx",
"args": [
"-y",
"mcp-pg-server"
],
"env": {
"DATABASE_URL": "YOUR_DATABASE_URL_HERE"
}
}
}
}