Skip to main content
Glama
mgcrea

mcp-postgres

by mgcrea

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoServer port (http only)8080
POSTGRES_DBNoDatabase namepostgres
MCP_TRANSPORTNoTransport: http, stdiohttp
POSTGRES_HOSTNoPostgreSQL hostlocalhost
POSTGRES_PORTNoPostgreSQL port5432
POSTGRES_USERNoDatabase userpostgres
POSTGRES_PASSWORDNoDatabase password
POSTGRES_READONLYNoEnforce read-only queriestrue

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

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