Hey HN,
I built pg-mcp, a Model Context Protocol (MCP) server for PostgreSQL that provides structured schema inspection and query execution for LLMs and agents. It's multi-tenant and runs over HTTP/SSE (not stdio)
Features - Supports multiple database connections from multiple agents
- Schema Introspection: Returns table structures, types, indexes and constraints; enriched with descriptions from pg_catalog. (for well documented databases)
- Read-Only Queries: Controlled execution of queries via MCP.
- EXPLAIN Tool: Helps smart agents optimize queries before execution.
- Extension Plugins: YAML-based plugin system for Postgres extensions (supports pgvector and postgis out of the box).
- Server Mode: Spin up the container and it's ready to accept connections at http://localhost:8000/sse
Comments URL: https://news.ycombinator.com/item?id=43520953
Points: 11
# Comments: 2
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

Article URL: https://250bpm.substack.com/p/accountability-sinks
Article URL: https://oregoncapitalchronicle.com/2025/05/02/t

Article URL: https://www.vice.com/en/article/the-totalitarian-buddhist-who-beat-sim-city/
Comments

Article URL: https://arxiv.org/abs/2504.18920
Comments URL: https://news.ycombinator.c

Article URL: https://github.com/c1570/Connomore64
Comments URL: https://news.ycomb