Développement · Serveur MCP local
PostgreSQL
MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
Ce qu’indique le MCP Registry
L’entrée telle que publiée dans le MCP Registry officiel (consultée le 4 octobre 2026), dernière version.
- Nom dans le registre
io.github.antonorlov/mcp-postgres-server- Version
- 0.3.1
- Statut
- Actif
- Catégorie
- développement
- Transport
- stdio (processus local)
- Paquet
- npm
- Publié
- 14 septembre 2026
- Mis à jour
- 14 septembre 2026
- Éditeur
- antonorlov (GitHub)
- Espace de noms
- Espace de noms vérifié par le MCP Registry via GitHub (github.com/antonorlov) · comment
- Classé dans
- Serveurs MCP PostgreSQL, Serveurs MCP Supabase et Serveurs MCP Docker
- Site web
- github.com/antonorlov/mcp-postgres-server#readme
- Dépôt
- github.com/antonorlov/mcp-postgres-server
- Source
- Entrée dans l’API du registre
Paquets
| Registre | Paquet | Version | Transport |
|---|---|---|---|
| npmenvironnement d’exécution : npx | mcp-postgres-server | 0.3.1 | stdio |
Comment connecter PostgreSQL
PostgreSQL s’exécute en local depuis un paquet Node.js publié sur le registre npm : mcp-postgres-server, version 0.3.1. Il communique en MCP via stdio : le client le lance comme un programme et échange avec lui par l’entrée et la sortie standard. Il nécessite Node.js ; les clients le lancent généralement avec npx - la commande habituelle est npx -y mcp-postgres-server@0.3.1. Il lit ces variables d’environnement : DATABASE_URL (secret), PG_HOST, PG_PORT, PG_USER, PG_PASSWORD (secret), 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 (secret), PG_SSH_AGENT et PG_SSH_PASSWORD (secret) ; définissez-les dans la configuration du client pour ce serveur.
Au format JSON mcpServers, que lisent de nombreux clients MCP de bureau et éditeurs de code, l’entrée se présente ainsi (espaces réservés entre chevrons) :
{
"mcpServers": {
"mcp-postgres-server": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-server@0.3.1"
],
"env": {
"DATABASE_URL": "<secret>",
"PG_HOST": "<valeur>",
"PG_PORT": "<valeur>",
"PG_USER": "<valeur>",
"PG_PASSWORD": "<secret>",
"PG_DATABASE": "<valeur>",
"PG_ALLOW_WRITE": "<valeur>",
"PG_SSLMODE": "<valeur>",
"PG_SSL_CA": "<valeur>",
"PG_ENABLE_RUNTIME_CONNECT": "<valeur>",
"PG_MAX_RESULT_BYTES": "<valeur>",
"PG_STATEMENT_TIMEOUT": "<valeur>",
"PG_CONNECT_TIMEOUT": "<valeur>",
"PG_SSH_HOST": "<valeur>",
"PG_SSH_PORT": "<valeur>",
"PG_SSH_USER": "<valeur>",
"PG_SSH_PRIVATE_KEY": "<valeur>",
"PG_SSH_PASSPHRASE": "<secret>",
"PG_SSH_AGENT": "<valeur>",
"PG_SSH_PASSWORD": "<secret>"
}
}
}
}Déduit de l’entrée du registre, non testé ici. Ce que fait le serveur, et à quelles conditions, relève de son éditeur ; consultez son dépôt ou son site web avant de lui donner accès à vos comptes ou à vos fichiers. Comment ajouter un serveur MCP à un assistant · Avant de connecter un serveur
Autres serveurs : développement
| Serveur | Exécution |
|---|---|
| Postgres MCPPostgreSQL MCP wrapper with.env credential mapping, tool selection, and safe read-only defaults. | Local · stdio |
| Postgres MCPEnterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI. | Local · stdio |
| Postgres MCPPostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat. | Local · stdio |
| Postgres Scout MCPScout your PostgreSQL databases with AI - safety features, monitoring, and data quality. | Local · stdio |
| PostgreSQL (hardened, read-only)Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction. | Local · stdio et HTTP |
| PostgreSQL CVE & Release IntelligencePostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths. | Local · stdio |
| PostgreSQL MCP ServerPostgreSQL MCP Server - 27 tools for queries, schema, CRUD, DBA, HA & server management. | Local · stdio |
| PostgreSQL MCP ServerPostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering. | Local · stdio |