Skip to main content
Glama

go-mcp-postgres

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSNYesConnection string for PostgreSQL database in the format postgresql://user:pass@host:port/db
READ_ONLYNoEnable read-only mode, where only tools beginning with 'list', 'read_' and 'desc_' are available
WITH_EXPLAIN_CHECKNoRun EXPLAIN statement before executing queries to check the query plan

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

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