postgres-mcp
by dkbearsong
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | Database host | |
| DB_NAME | No | Database name | |
| DB_PORT | No | Database port | 5432 |
| DB_USER | No | Database user | |
| PGSSLMODE | No | SSL mode (disable, prefer, require, verify-ca, verify-full) | prefer |
| ROW_LIMIT | No | Maximum number of rows returned by SELECT queries | 500 |
| BACKUP_DIR | No | Directory for storing backups | ./backups |
| DB_PASSWORD | No | Database password | |
| MAX_BACKUPS | No | Maximum number of backups to retain | 10 |
| DATABASE_URL | No | PostgreSQL connection URL (alternative to individual DB_* variables) | |
| MAX_BACKUP_AGE_DAYS | No | Maximum age of backups in days | 7.0 |
| LARGE_SCALE_THRESHOLD | No | Row count threshold for triggering disposable environment testing | 1000 |
| DB_BACKUP_THRESHOLD_BYTES | No | Threshold in bytes for triggering full database backup | 10485760 |
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/dkbearsong/Postgres-MCP-Tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server