Microsoft postgres-mcp
Microsoft's PostgreSQL server for agents, with saved connection profiles and passwords kept in secure storage.
- Last checked
- Nov 24, 2026
- Listed
- Nov 24, 2026
Install & connect
Third-party code: read it before you run it. HPSILab reviewed this guide but does not operate this server.
Install by client
claude mcp add microsoft-postgres-mcp -- npx -y @microsoft/postgres-mcp
Some servers need extra arguments or environment variables (keys, paths): check the official guide below.
Generated by HPSILab from this listing's endpoint and package, in each client's documented format. The official guide decides arguments, keys and versions.
Official guide
# From the project README: https://github.com/microsoft/postgres-mcp
# Add a connection profile, then store its password securely
npx -y @microsoft/postgres-mcp connection add local "postgresql://postgres@<your-host>:5432/postgres"
npx -y @microsoft/postgres-mcp connection set-password local
{
"mcpServers": {
"postgres": { "command": "npx", "args": ["-y", "@microsoft/postgres-mcp", "run"] }
}
}Links
More Data & Databases MCP servers
- Humblytics MCP
Humblytics' hosted server for live web analytics, A/B tests and marketing data.
- dbmcp
Privacy-first server for SQL databases: MySQL, PostgreSQL, SQLite and more.
- qdrant-mcp-server (mhalder)
Semantic search over a local Qdrant vector database, with Ollama embeddings by default. Community-maintained; not an official Qdrant product.
- apisql-mcp
One MCP server for all your databases through the APISQL service.
- mcp-server-arangodb
ArangoDB server for agents: query and manage databases and collections. Community-maintained; not an official ArangoDB product.
- mysql-mcp-server (askdba)
MySQL server for MCP written in Go, with row limits and an optional extended tool set.