mcp_server_postgres

tanster1234/mcp_server_postgres

3.1

If you are the rightful owner of mcp_server_postgres and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents.

Tools

Functions exposed to the LLM to take actions

connect

Register a PostgreSQL connection string and get a secure connection ID.

disconnect

Explicitly close database connections when done.

pg_query

Execute read-only SQL queries using a connection ID.

pg_explain

Analyze query execution plans in JSON format.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources