MCP ConfigsMay 12, 2026·2 min read

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.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Needs Confirmation · 62/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Manual
Trust
Trust: Established
Entrypoint
pgedge-postgres-mcp
Universal CLI install command
npx tokrepo install e3c6ca46-f9f3-5f60-8ff3-7316792032f3
Intro

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 & Thanks

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

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets