Skip to main content
Glama

pg-mcp

by stuzero

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_MCP_URLNoURL of the PostgreSQL MCP serverhttp://localhost:8000/sse
DATABASE_URLNoPostgreSQL connection string (e.g., postgresql://username:password@hostname:port/database)
ANTHROPIC_API_KEYNoYour Anthropic API key for Claude-powered natural language to SQL conversion

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stuzero/pg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server