PostgreSQL
MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
Connector by antonorlov · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/antonorlov-mcp-postgres-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.
- Tools
- 4 read · 0 write · 2 delete
- Secrets
- 5 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 6
Read from the source code; the running server may list different tools.
Read 4 · Look things up without changing anything.
describe_tablelist_schemaslist_tablesquery
Delete 2 · Delete, drop, revoke or wipe things.
connect_dbexecute
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
DATABASE_URLPG_PASSWORDPG_SSH_PASSPHRASEPG_SSH_PASSWORDPG_SSH_PRIVATE_KEY
Other settings (environment variables or headers).
PG_ALLOW_WRITEPG_CONNECT_TIMEOUTPG_DATABASEPG_ENABLE_RUNTIME_CONNECTPG_HOSTPG_MAX_RESULT_BYTESPG_PORTPG_SSH_AGENTPG_SSH_FINGERPRINTPG_SSH_HOSTPG_SSH_KEEPALIVE_INTERVALPG_SSH_PORT
Show 5 more settings
PG_SSH_USERPG_SSLMODEPG_SSL_CAPG_STATEMENT_TIMEOUTPG_USER
Network hosts it talks to 3
github.com· found in codeglama.ai· found in coderaw.githubusercontent.com· found in code
Files it touches
- Your home directory (~)
Tools (6)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
connect_dbConnect to a different databaseSwitch the server to a different PostgreSQL database at runtime, replacing the current connection. Only use this when the user explicitly asks to connect elsewhere or the configured connection fails - normal operation uses the connection from the environment. Read-only mode and the statement timeout are re-applied to the new connection. Returns {message, host, database}.
describe_tableDescribe a tableread-onlyShow the structure of one table: column names, data types, nullability, defaults, and primary-key membership. Call this before writing non-trivial queries against a table. Returns {columns: [{column, type, nullable, default, is_primary_key}, ...]}.
executecan change or delete dataDescription is built at runtime.
list_schemasList schemasread-onlyList every schema in the connected database. Start here when exploring an unfamiliar database, then call list_tables for the schema you care about. Returns {schemas: [name, ...]}.
list_tablesList tablesread-onlyList all tables in a schema (default: 'public'). Use this before querying tables you have not seen yet, then call describe_table for column details. Returns {tables: [name, ...]}.
queryDescription is built at runtime.
Signals
- Stars
- 24
- Forks
- 10
- Open issues
- 0
- Last commit
- Sep 16, 2026 (1 month ago)
- Last release
- Sep 14, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.antonorlov/mcp-postgres-server- Version
- 0.3.1
- Auth
- API key
- Packages
- npm mcp-postgres-server
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
Cite this page
PostgreSQL MCP server. Agent Mart. https://agentmart.dev/connectors/antonorlov-mcp-postgres-server (last updated 2026-10-25)