What a Postgres MCP server actually does
The
Model Context Protocol (MCP) is an open standard that lets an AI host, such as a chat app, an IDE, or your own agent, discover and call tools exposed by a server.
The current specification revision is 2026-07-28. It made the protocol stateless: the old initialize handshake and protocol-level sessions are gone, and each request carries its own protocol version and client capabilities. Expect some clients and vendors to still speak
2025-11-25 for a while.
For a database, the server usually exposes two kinds of capability:
- Tools the model can call, such as run_query, describe_table, or a named business query like get_monthly_revenue.
- Resources that give context, such as table schemas, column descriptions, and approved join paths.
The original reference Postgres server from the MCP project wrapped every query in a READ ONLY transaction and exposed table schemas as resources.
It now sits in the project's archived servers repository and is no longer maintained. It was built for a laptop demo, not a shared server in front of customer data.