Skip to main content
Glama

Postgres MCP Server

by wesleyyeung

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_NAMEYesThe database name
DB_PORTYesThe database port
DB_USERYesThe database user
DB_ADDRESSYesThe database address/host
DB_PASSWORDYesThe database password
MCP_API_KEYNoOptional API key for HTTP mode authentication. If set, the HTTP mode will require Authorization: Bearer <MCP_API_KEY> on every request. Stdio mode does not use the token.

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/wesleyyeung/postgres-mcp'

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