postgres-mcp-readonly
by mahin1995
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_ROWS | No | Default maximum rows returned | 500 |
| AUDIT_LOG | No | Set to true to write JSON audit events to stderr | false |
| DATABASE_URL | No | Single PostgreSQL connection string (backward compatible). Example: postgres://user:pass@localhost:5432/dbname | |
| DATABASE_URLS | No | Multiple PostgreSQL URLs as alias=url pairs or JSON. Example: default=postgres://user:pass@localhost:5432/app,analytics=postgres://user:pass@localhost:5432/analytics | |
| MAX_STATEMENTS | No | Maximum semicolon-separated statements per multi-statement tool call | 10 |
| DEFAULT_DATABASE | No | Default alias used when tool input omits database | default |
| STATEMENT_TIMEOUT_MS | No | Query timeout in milliseconds | 5000 |
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
- 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/mahin1995/postgres-mcp-readonly'
If you have feedback or need assistance with the MCP directory API, please join our Discord server