mcp-postgres
Rank #138,239io.github.dockndevai/mcp-postgres
PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.
What you can do with mcp-postgres
mcp-postgres is a Model Context Protocol (MCP) server published by dockndevai. It ranks #138,239 of 199,637 active servers on MCP Toplist. mcp-postgres is listed across 2 registries — Official MCP and Glama, with 1 tracked version. It was first listed on Nov 23, 2026 and most recently updated on Nov 23, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What mcp-postgres can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using mcp-postgres
The registry listing declares required configuration before first use — typically an API key, token or connection string set via environment variables.
Declared by Glama, last synced Nov 30, 2026. Not independently verified by MCP Toplist.
- POSTGRES_URL · required
- POSTGRES_MODE · optional
- POSTGRES_SCHEMA_ALLOWLIST · optional
Connect mcp-postgres and confirm it works
claude mcp add mcp-postgres -e "POSTGRES_URL=<your POSTGRES_URL>" -e "POSTGRES_MODE=<your POSTGRES_MODE>" -e "POSTGRES_SCHEMA_ALLOWLIST=<your POSTGRES_SCHEMA_ALLOWLIST>" -- npx -y @dockndevai/mcp-postgresReplace each placeholder with your own value before saving.
[mcp_servers.mcp-postgres]
command = "npx"
args = ["-y", "@dockndevai/mcp-postgres"]
[mcp_servers.mcp-postgres.env]
POSTGRES_URL = "<your POSTGRES_URL>"
POSTGRES_MODE = "<your POSTGRES_MODE>"
POSTGRES_SCHEMA_ALLOWLIST = "<your POSTGRES_SCHEMA_ALLOWLIST>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<your POSTGRES_URL>",
"POSTGRES_MODE": "<your POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<your POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<your POSTGRES_URL>",
"POSTGRES_MODE": "<your POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<your POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<your POSTGRES_URL>",
"POSTGRES_MODE": "<your POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<your POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<your POSTGRES_URL>",
"POSTGRES_MODE": "<your POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<your POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<your POSTGRES_URL>",
"POSTGRES_MODE": "<your POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<your POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}Replace each placeholder with your own value before saving.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
- mcp-kubernetes#8,400
- mcp-clickhouse#9,210
- mcp-kafka#10,489
- ossian-mcp#11,900
- mcp-keycloak#12,812
- mcp-azure-devops#12,969
- mcp-grafana#13,209
- mcp-azure#13,321
- mcp-percona-pg#13,461
- mcp-debezium#13,545
- @dockndevai/mcp-outlook#16,730
- mcp-macos#17,482
No task-specific alternatives are catalogued for mcp-postgresyet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Nov 23, 2026
- Latest version published
- Nov 23, 2026
- Version history
- 1 version tracked (below)
- Requirements evidence
- Declared by Glama, last synced Nov 30, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Nov 30, 2026
- Official MCP ↗listed since Nov 24, 2026 · still listed
- Glama ↗listed since Nov 24, 2026 · still listed
Do you maintain mcp-postgres? to show as its verified maintainer and add your own summary, sign-in details and links. The rest of this page is read from the registry listings and from MCP Toplist's own connection check.
Available versions (1)
| Version | Published |
|---|---|
| 0.1.0 | Nov 23, 2026 |
Ranks ahead of 61,398 of 199,637 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.dockndevai%2Fmcp-postgres)<a href="https://mcptoplist.com/server/io.github.dockndevai%2Fmcp-postgres"><img src="https://mcptoplist.com/badge/io.github.dockndevai%2Fmcp-postgres.svg" alt="MCP Toplist: #138,239 of 199,637" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains mcp-postgres?
- mcp-postgres is maintained by dockndevai, which publishes 22 MCP servers (125 total versions) tracked on MCP Toplist.
- Is mcp-postgres listed on the Official MCP Registry?
- Yes — mcp-postgres is listed on the Official MCP Registry, alongside Glama.
- How many versions does mcp-postgres have?
- MCP Toplist tracks 1 version of mcp-postgres, most recently published on Nov 23, 2026.
- Where can I find the source code for mcp-postgres?
- The source code for mcp-postgres is hosted at github.com/dockndevai/mcp-postgres.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.