Skip to main content
Glama
nayzo

mcp-postgresdb-readonly

by nayzo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoIf set, starts server in HTTP mode on this port. If not set, runs in stdio mode.
MAX_ROWSNoMaximum rows returned per query (auto LIMIT). Default: 1000.1000
MCP_AUTH_TOKENNoBearer token required for HTTP mode. If not set, server is unprotected.
QUERY_TIMEOUT_MSNoQuery timeout in milliseconds. Default: 30000.30000
POSTGRES_PROD_SSLNoEnable SSL for production PostgreSQL. Default: true.true
POSTGRES_TEST_SSLNoEnable SSL for test PostgreSQL. Default: true.true
POSTGRES_PROD_HOSTNoHostname for production PostgreSQL database.
POSTGRES_PROD_PORTNoPort for production PostgreSQL database. Default: 5432.5432
POSTGRES_PROD_USERNoUser for production PostgreSQL database.
POSTGRES_TEST_HOSTNoHostname for test PostgreSQL database.
POSTGRES_TEST_PORTNoPort for test PostgreSQL database. Default: 5432.5432
POSTGRES_TEST_USERNoUser for test PostgreSQL database.
POSTGRES_PROD_SCHEMANoOptional schema to restrict access for production environment. If not set, all user schemas are accessible.
POSTGRES_STAGING_SSLNoEnable SSL for staging PostgreSQL. Default: true.true
POSTGRES_TEST_SCHEMANoOptional schema to restrict access for test environment.
POSTGRES_STAGING_HOSTNoHostname for staging PostgreSQL database.
POSTGRES_STAGING_PORTNoPort for staging PostgreSQL database. Default: 5432.5432
POSTGRES_STAGING_USERNoUser for staging PostgreSQL database.
RATE_LIMIT_PER_MINUTENoMaximum requests per minute. Default: 60.60
POSTGRES_PROD_DATABASENoDatabase name for production PostgreSQL.
POSTGRES_PROD_PASSWORDNoPassword for production PostgreSQL user.
POSTGRES_TEST_DATABASENoDatabase name for test PostgreSQL.
POSTGRES_TEST_PASSWORDNoPassword for test PostgreSQL user.
POSTGRES_STAGING_SCHEMANoOptional schema to restrict access for staging environment.
POSTGRES_STAGING_DATABASENoDatabase name for staging PostgreSQL.
POSTGRES_STAGING_PASSWORDNoPassword for staging PostgreSQL user.

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/nayzo/mcp-postgresdb-readonly'

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