Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

pgEdge Postgres MCP — Read-Only by Default + Web UI

pgEdge Postgres MCP is a Go MCP server for Postgres with read-only defaults, optional HTTP auth, and a web UI for database exploration and diagnostics.

MCP Hub
MCP Hub · Community
Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install e3c6ca46-f9f3-5f60-8ff3-7316792032f3 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

pgEdge Postgres MCP is a Go MCP server for Postgres with read-only defaults, optional HTTP auth, and a web UI for database exploration and diagnostics.

  • Best for: teams that want a Postgres MCP server with explicit read-only defaults and optional HTTP/Web UI surfaces
  • Works with: PostgreSQL 14+, Go 1.21+ (to build), MCP clients (Claude Desktop, Cursor), optional HTTP mode
  • Setup time: 20-45 minutes

Practical Notes

  • Quant: the docs show a YAML config format and multiple transports (stdio/HTTP), so you can standardize across local and shared deployments.
  • Quant: treat read-only as the default baseline; enable writes only with a config change (allow_writes) and a human approval rule.

Rollout pattern

  • Start in stdio mode from a developer laptop, validate core tools, then graduate to HTTP mode for shared access.
  • Create a dedicated DB user and keep permissions minimal; rely on the server’s explicit write-enable switch.
  • Add audit logging and a trace file before you let multiple teammates point agents at the same server.

Watchouts

If you enable HTTP mode for shared use, treat it like a real service: auth on, TLS when possible, and least-privilege DB credentials.

FAQ

Q: Do I need the web UI? A: No. You can run it purely as an MCP server over stdio for local development and keep the surface area small.

Q: How do writes work? A: The server is read-only by default. Writes require explicitly enabling them via configuration (for example allow_writes).

Q: What is the simplest first test? A: Run SELECT 1 via the query tool, then inspect one table schema to confirm connectivity and metadata access.

🙏

Source et remerciements

Source: https://github.com/pgEdge/pgedge-postgres-mcp > License: PostgreSQL > GitHub stars: 158 · forks: 14

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires