Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsMay 12, 2026·2 min de lectura

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.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 17/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp Config
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Asset
Comando de staging seguro
npx -y tokrepo@latest install e3c6ca46-f9f3-5f60-8ff3-7316792032f3 --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

Introducción

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.

🙏

Fuente y agradecimientos

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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados