Skip to main content
Glama
amar141989-dev

readonly-postgres-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_SSLNoEnable SSL connectionfalse
PG_HOSTNoPostgreSQL server host
PG_PORTNoPostgreSQL server port5432
PG_DATABASENoDatabase name
PG_MAX_ROWSNoMaximum rows returned by queries10000
PG_PASSWORDNoDatabase password
PG_USERNAMENoDatabase user with readonly access
PG_SEARCH_PATHNoSchema search pathpublic
PG_MCP_ALLOW_ADHOCNoAllow ad-hoc SQL queries (true/false)true
PG_STATEMENT_TIMEOUT_MSNoStatement timeout in milliseconds30000

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/amar141989-dev/readonly-postgres-mcp'

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