Skip to main content
Glama
Rabin0404

pg-mcp-bridge

by Rabin0404

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_MCP_TOKENYesSame bearer token as in server config.php
PG_MCP_TUNNEL_URLYesFull URL to pg_mcp_tunnel.php

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
list_schemasA

List non-system PostgreSQL schemas available through the remote tunnel

list_tablesA

List tables and views in a schema

describe_tableA

Describe columns, types, nullability, defaults, and primary key for a table

queryA

Run a single SQL statement. Allowed statements depend on server access_mode: readonly (SELECT/EXPLAIN/SHOW), readwrite (+ INSERT/UPDATE/DELETE), full (+ CREATE/ALTER/DROP and other DDL). Use ping to see the current access_mode. Only one statement per call.

pingA

Check tunnel and PostgreSQL connectivity; returns version, database, user, and access_mode (readonly|readwrite|full)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clear, unique purpose: listing schemas, listing tables, describing columns, running SQL queries, and checking connectivity. There is no overlap or ambiguity.

Naming Consistency5/5

All tool names use a consistent snake_case verb_noun pattern, such as list_schemas, list_tables, describe_table, query, and ping. The naming is predictable and uniform.

Tool Count5/5

With 5 tools, the server covers all essential operations for a PostgreSQL bridge: schema exploration, table metadata, column details, arbitrary SQL execution, and connectivity checks. The count is well-scoped without unnecessary extras.

Completeness5/5

The tool surface is complete for its domain, providing full CRUD-like capabilities through the general query tool, plus necessary introspection tools. There are no obvious gaps; it supports both read and write operations as per access mode.

Maintenance

ActivitySlowing
ResponsivenessNo issues