Skip to main content
Glama
multi-postgres-mcp-server

multi-postgres-mcp-server

by VKirill

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_POSTGRES_CONFIGNoPath to config.json (default: ~/.mcp-postgres/config.json). Alternative to the --config CLI argument.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pg_list_databasesB

List all available PostgreSQL databases

pg_queryA

Execute a SQL query against a PostgreSQL database. Read-only by default; write queries allowed only if the connection is configured with readOnly: false.

pg_list_tablesB

List tables in a PostgreSQL database with estimated row counts

pg_describe_tableB

Describe columns, types, constraints, and indexes of a PostgreSQL table

pg_list_schemasC

List all schemas in a PostgreSQL database

pg_health_checkA

Test database connectivity and return PostgreSQL version and response latency

pg_explainB

Run EXPLAIN ANALYZE on a query and return the execution plan. The query is always rolled back to prevent side effects.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation5/5

Each tool targets a distinct metadata or execution concern: database listing, schema listing, table listing, table description, query execution, health check, and plan explanation. There is no meaningful overlap between e.g. pg_list_tables and pg_describe_table, since one enumerates and the other details a single table.

Naming Consistency5/5

Every tool follows the same pg_ + verb_noun snake_case pattern (pg_list_databases, pg_describe_table, pg_health_check). The convention is predictable and the pg_ prefix cleanly marks the server's namespace.

Tool Count5/5

Seven tools is a well-scoped surface for a read-mostly PostgreSQL inspection server. Each tool covers a clearly separate step of the discovery/query workflow with no filler.

Completeness4/5

The introspect-query-explain lifecycle is covered cleanly, including a safe read-only default and rollback for EXPLAIN. Minor gaps remain: despite the 'multi' server name there is no tool to enumerate configured connections/servers, and there is no listing for views, functions, or indexes as first-class objects (they are only reachable via pg_query).

Maintenance

ActivityInactive
ResponsivenessNo recent community issues