Sviluppo · Server MCP locale

PostgreSQL

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

Vai al sito web di PostgreSQL

Cosa indica il MCP Registry

La voce come pubblicata nel MCP Registry ufficiale (consultazione: 4 ottobre 2026), ultima versione.

Nome nel registro
io.github.antonorlov/mcp-postgres-server
Versione
0.3.1
Stato
Attivo
Categoria
sviluppo
Trasporto
stdio (processo locale)
Pacchetto
npm
Pubblicato
14 settembre 2026
Aggiornato
14 settembre 2026
Editore
antonorlov (GitHub)
Namespace
Namespace verificato dal MCP Registry tramite GitHub (github.com/antonorlov) · come funziona
Elencato in
Server MCP per PostgreSQL, Server MCP per Supabase e Server MCP per Docker
Sito web
github.com/antonorlov/mcp-postgres-server#readme
Repository
github.com/antonorlov/mcp-postgres-server
Fonte
Voce nell’API del registro

Pacchetti

RegistroPacchettoVersioneTrasportoVariabili d’ambiente
npmruntime: npxmcp-postgres-server0.3.1stdioDATABASE_URL (segreto), PG_HOST, PG_PORT, PG_USER, PG_PASSWORD (segreto), PG_DATABASE, PG_ALLOW_WRITE, PG_SSLMODE, PG_SSL_CA, PG_ENABLE_RUNTIME_CONNECT, PG_MAX_RESULT_BYTES, PG_STATEMENT_TIMEOUT, PG_CONNECT_TIMEOUT, PG_SSH_HOST, PG_SSH_PORT, PG_SSH_USER, PG_SSH_PRIVATE_KEY, PG_SSH_PASSPHRASE (segreto), PG_SSH_AGENT e PG_SSH_PASSWORD (segreto)

Come collegare PostgreSQL

PostgreSQL viene eseguito in locale a partire da un pacchetto Node.js pubblicato nel registro npm: mcp-postgres-server, versione 0.3.1. Comunica via MCP su stdio, quindi il client lo avvia come programma e dialoga con esso tramite standard input e standard output. Richiede Node.js; i client in genere lo avviano con npx - il comando abituale è npx -y mcp-postgres-server@0.3.1. Legge queste variabili d’ambiente: DATABASE_URL (segreto), PG_HOST, PG_PORT, PG_USER, PG_PASSWORD (segreto), PG_DATABASE, PG_ALLOW_WRITE, PG_SSLMODE, PG_SSL_CA, PG_ENABLE_RUNTIME_CONNECT, PG_MAX_RESULT_BYTES, PG_STATEMENT_TIMEOUT, PG_CONNECT_TIMEOUT, PG_SSH_HOST, PG_SSH_PORT, PG_SSH_USER, PG_SSH_PRIVATE_KEY, PG_SSH_PASSPHRASE (segreto), PG_SSH_AGENT e PG_SSH_PASSWORD (segreto); vanno impostate nella configurazione del client per questo server.

Nel formato JSON mcpServers, letto da molti client MCP desktop e per editor di codice, la voce si presenta così (segnaposto tra parentesi angolari):

{
  "mcpServers": {
    "mcp-postgres-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-postgres-server@0.3.1"
      ],
      "env": {
        "DATABASE_URL": "<segreto>",
        "PG_HOST": "<valore>",
        "PG_PORT": "<valore>",
        "PG_USER": "<valore>",
        "PG_PASSWORD": "<segreto>",
        "PG_DATABASE": "<valore>",
        "PG_ALLOW_WRITE": "<valore>",
        "PG_SSLMODE": "<valore>",
        "PG_SSL_CA": "<valore>",
        "PG_ENABLE_RUNTIME_CONNECT": "<valore>",
        "PG_MAX_RESULT_BYTES": "<valore>",
        "PG_STATEMENT_TIMEOUT": "<valore>",
        "PG_CONNECT_TIMEOUT": "<valore>",
        "PG_SSH_HOST": "<valore>",
        "PG_SSH_PORT": "<valore>",
        "PG_SSH_USER": "<valore>",
        "PG_SSH_PRIVATE_KEY": "<valore>",
        "PG_SSH_PASSPHRASE": "<segreto>",
        "PG_SSH_AGENT": "<valore>",
        "PG_SSH_PASSWORD": "<segreto>"
      }
    }
  }
}

Ricavato dalla voce del registro, non testato qui. Cosa fa il server, e a quali condizioni, lo stabilisce il suo editore; prima di concedergli l’accesso ai propri account o file conviene consultarne il repository o il sito web. Come aggiungere un server MCP a un assistente · Prima di collegare un server

Altri server della categoria sviluppo

Tutti e 5152 →
ServerEsecuzioneEndpoint o pacchetto
Postgres MCPPostgreSQL MCP wrapper with.env credential mapping, tool selection, and safe read-only defaults.Locale · stdionpm: @edelciomolina/postgres-mcp
Postgres MCPEnterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI.Locale · stdioImmagine OCI (Docker): ghcr.io/pgedge/postgres-mcp:latest
Postgres MCPPostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.Locale · stdioPyPI: postgres-mcp-pro
Postgres Scout MCPScout your PostgreSQL databases with AI - safety features, monitoring, and data quality.Locale · stdionpm: postgres-scout-mcp
PostgreSQL (hardened, read-only)Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.Locale · stdio e HTTPnpm: postgres-mcp-hardened
PostgreSQL CVE & Release IntelligencePostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths.Locale · stdioPyPI: pg-cve-mcp
PostgreSQL MCP ServerPostgreSQL MCP Server - 27 tools for queries, schema, CRUD, DBA, HA & server management.Locale · stdionpm: @itunified.io/mcp-postgres
PostgreSQL MCP ServerPostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering.Locale · stdionpm: @neverinfamous/postgres-mcp