readonly-postgres-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PG_SSL | No | Enable SSL connection | false |
| PG_HOST | No | PostgreSQL server host | |
| PG_PORT | No | PostgreSQL server port | 5432 |
| PG_DATABASE | No | Database name | |
| PG_MAX_ROWS | No | Maximum rows returned by queries | 10000 |
| PG_PASSWORD | No | Database password | |
| PG_USERNAME | No | Database user with readonly access | |
| PG_SEARCH_PATH | No | Schema search path | public |
| PG_MCP_ALLOW_ADHOC | No | Allow ad-hoc SQL queries (true/false) | true |
| PG_STATEMENT_TIMEOUT_MS | No | Statement timeout in milliseconds | 30000 |
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/amar141989-dev/readonly-postgres-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server