Skip to main content
Glama
User-Gold

PostgreSQL MCP Server for Claude Desktop

by User-Gold

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoPostgreSQL hostlocalhost
DB_NAMEYesDatabase name
DB_PORTNoPostgreSQL port5432
DB_USERYesDatabase user
LOG_LEVELNoLogging level (DEBUG/INFO/WARNING)INFO
PYTHONPATHNoPath to the project root, used to ensure modules are importable
DB_PASSWORDYesDatabase password
DB_MAX_CONNECTIONSNoMax pool connections10
DB_MIN_CONNECTIONSNoMin pool connections1
ALLOW_WRITE_OPERATIONSNoEnable INSERT/UPDATE/DELETEfalse

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/User-Gold/Claude-Desktop-to-PostgreSQL'

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