Show HN: Cloud-Ready Postgres MCP Server

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

https://github.com/stuzero/pg-mcp

созданный 2d | 30 мар. 2025 г., 04:40:08


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

Show HN: Duolingo-style exercises but with real-world content like the news

I've been working on a little side project that combines Duolingo-like listening comprehension exercises with real content .

Every video is transcribed to get much better transcripts than the cl

1 апр. 2025 г., 07:50:05 | Hacker news