Skip to main content
Glama
andre-c-andersen

pg-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level: DEBUG, INFO, WARNING, ERROR, CRITICAL, or NONE. Defaults to INFO.INFO
DATABASE_URIYesPostgreSQL connection URI, e.g., postgresql://user:pass@localhost:5432/dbname

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_schemasB

List all schemas in the database

list_objectsC

List objects in a schema

get_object_detailsC

Show detailed information about a database object

execute_sqlB

Execute a read-only SQL query

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/andre-c-andersen/pg-mcp'

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