Skip to content
Agentmart
Submit a tool

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

IndexedMITLocal (stdio)★ 24
Write a review

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.

We use your email only for this newsletter. Privacy

About

MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.

No 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_table
  • list_schemas
  • list_tables
  • query

Delete 2 · Delete, drop, revoke or wipe things.

  • connect_db
  • execute

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • DATABASE_URL
  • PG_PASSWORD
  • PG_SSH_PASSPHRASE
  • PG_SSH_PASSWORD
  • PG_SSH_PRIVATE_KEY

Other settings (environment variables or headers).

  • PG_ALLOW_WRITE
  • PG_CONNECT_TIMEOUT
  • PG_DATABASE
  • PG_ENABLE_RUNTIME_CONNECT
  • PG_HOST
  • PG_MAX_RESULT_BYTES
  • PG_PORT
  • PG_SSH_AGENT
  • PG_SSH_FINGERPRINT
  • PG_SSH_HOST
  • PG_SSH_KEEPALIVE_INTERVAL
  • PG_SSH_PORT
Show 5 more settings
  • PG_SSH_USER
  • PG_SSLMODE
  • PG_SSL_CA
  • PG_STATEMENT_TIMEOUT
  • PG_USER

Network hosts it talks to 3

  • github.com · found in code
  • glama.ai · found in code
  • raw.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 database

    Switch 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-only

    Show 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 data

    Description is built at runtime.

  • list_schemasList schemasread-only

    List 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-only

    List 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, ...]}.

  • query

    Description 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
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)