@yawlabs/postgres-mcp
by YawLabs
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOW_WRITES | No | Set to '1' or 'true' to allow write operations via pg_query and pg_explain ANALYZE-of-writes. Default is unset (read-only). | |
| DATABASE_URL | Yes | PostgreSQL connection string (required). | |
| POSTGRES_MAX_ROWS | No | Maximum rows returned by pg_query. Default is 1000. | 1000 |
| POSTGRES_POOL_MAX | No | Maximum pool connections. Default is 5. | 5 |
| POSTGRES_STATEMENT_TIMEOUT_MS | No | Per-statement timeout in milliseconds. Default is 30000. | 30000 |
| POSTGRES_CONNECTION_TIMEOUT_MS | No | TCP connect timeout in milliseconds. Default is 10000. | 10000 |
| POSTGRES_SSL_REJECT_UNAUTHORIZED | No | Set to 'false' to skip TLS cert verification (connection remains encrypted). Default is unset. |
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
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/YawLabs/postgres-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server