PostgreSQL
io.github.antonorlov/mcp-postgres-server
Serveur MCP Non testé
MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
Fiche technique
- Auteur
- antonorlov (espace de noms du registre)
- Dépôt
- github.com/antonorlov/mcp-postgres-server
- Site
- github.com/antonorlov/mcp-postgres-server#readme
- Version
- 0.3.1
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- mcp-postgres-server 0.3.1 npm stdio
- Outils
- —
- Catégories
- Bases de données, Cloud et infrastructure
- Dernière mise à jour
- 14 sept. 2026
- Publication
- 14 sept. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 2 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : pas de test réussi pas encore
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.antonorlov/mcp-postgres-server)<a href="https://latlas.dev/mcp/io.github.antonorlov/mcp-postgres-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.antonorlov/mcp-postgres-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.antonorlov/mcp-postgres-server)<a href="https://latlas.dev/mcp/io.github.antonorlov/mcp-postgres-server"><img src="https://latlas.dev/badge/fiche/io.github.antonorlov/mcp-postgres-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet mcp-postgres-server (npm). Formats repris de la documentation de chaque client.
claude mcp add-json mcp-postgres-server '{"command":"npx","args":["-y","[email protected]"]}'{
"mcpServers": {
"mcp-postgres-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"mcp-postgres-server": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"mcp-postgres-server": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcp-postgres-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"mcp-postgres-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}[mcp_servers.mcp-postgres-server]
command = "npx"
args = ["-y","[email protected]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| DATABASE_URL | non (secret) | Full connection string (preferred). Supports sslmode in the URL. |
| PG_HOST | non | Database host (fallback when DATABASE_URL is not set). |
| PG_PORT | non | Database port. |
| PG_USER | non | Database user. |
| PG_PASSWORD | non (secret) | Database password. |
| PG_DATABASE | non | Database name. |
| PG_ALLOW_WRITE | non | When true, execute performs writes and reads are sent directly. Off (default) is read-only: execute refuses writes and each read runs in a READ ONLY transaction. |
| PG_SSLMODE | non | TLS mode. require/allow/prefer encrypt without verifying the certificate; verify-ca/verify-full verify it (supply a CA via PG_SSL_CA). Unlike libpq, allow/prefer do not fall back to plaintext, so a s… |
| PG_SSL_CA | non | Path to a CA certificate file. Setting it by itself implies verify-full. |
| PG_ENABLE_RUNTIME_CONNECT | non | Register the connect_db tool (runtime credential switching). |
| PG_MAX_RESULT_BYTES | non | Byte budget for a query result sent to the model. Whole rows are kept while they fit; over the budget returnedRows < rowCount and truncated is true. |
| PG_STATEMENT_TIMEOUT | non | Statement timeout in milliseconds, applied to every session. |
| PG_CONNECT_TIMEOUT | non | Timeout in milliseconds for a single connect attempt (raise it for slow links or SSH tunnels). |
| PG_SSH_HOST | non | SSH bastion host. Setting it enables tunneling: the server reaches the database only through an SSH tunnel to this host. Needs the ssh2 optional dependency. |
| PG_SSH_PORT | non | SSH bastion port. |
| PG_SSH_USER | non | SSH username. |
| PG_SSH_PRIVATE_KEY | non | Path to a private key file. If unset, auth falls back like ssh: a running agent (SSH_AUTH_SOCK), then a default key (~/.ssh/id_ed25519, id_rsa, id_ecdsa). |
| PG_SSH_PASSPHRASE | non (secret) | Passphrase for the private key, if encrypted. |
| PG_SSH_AGENT | non | true to use the ambient agent (SSH_AUTH_SOCK), or an explicit socket path / Windows named pipe. |
| PG_SSH_PASSWORD | non (secret) | SSH login password. Opt-in; a key or agent takes precedence. Prefer keys, a bastion often disables password auth. |
| PG_SSH_FINGERPRINT | non | Pinned host-key fingerprint (SHA256:...). Host-key verification is mandatory and set only this way: without it the tunnel refuses to connect. Get it with ssh-keygen -lF host. |
| PG_SSH_KEEPALIVE_INTERVAL | non | SSH keepalive interval in ms; the tunnel drops after 3 unanswered keepalives, and the next call reconnects. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[PostgreSQL — L’Atlas](https://latlas.dev/mcp/io.github.antonorlov/mcp-postgres-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.