postgres_mcp
by fvanevski
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | Required PostgreSQL connection URL. | |
| MCP_PG_ENV_FILE | No | Absolute path to an env file outside the launch directory. | |
| MCP_PG_LOG_LEVEL | No | Logging verbosity; set to DEBUG for detailed query logs. | INFO |
| MCP_PG_TRANSPORT | No | Transport to use (stdio or streamable-http). | stdio |
| MCP_PG_POOL_MAX_SIZE | No | Connection pool maximum size. | 5 |
| MCP_PG_POOL_MIN_SIZE | No | Connection pool minimum size. | 1 |
| MCP_PG_APPLICATION_NAME | No | PostgreSQL application_name sent for connection tracking. | mcp-postgres-server |
| MCP_PG_ALLOW_WRITE_COMMANDS | No | Whether write commands are allowed (disabled by default). | false |
| MCP_PG_CONFIRM_WRITE_COMMANDS | No | Whether a mandatory human approval prompt is required for write commands. | true |
| MCP_PG_POOL_OPEN_TIMEOUT_SECONDS | No | Pool open timeout in seconds. | 20 |
| MCP_PG_POOL_ACQUIRE_TIMEOUT_SECONDS | No | Pool acquire timeout in seconds. | 10 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/fvanevski/postgres_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server