PostgreSQL
Connects the agent to a PostgreSQL database through the Postgres MCP Pro server (postgres-mcp) in restricted, read-only mode so it can inspect schemas, explain queries and suggest indexes without being able to change data.
What it does
Connects the agent to a PostgreSQL database through the Postgres MCP Pro server (postgres-mcp) in restricted, read-only mode so it can inspect schemas, explain queries and suggest indexes without being able to change data.
- Category
- integrationdatabase
- Platforms
- backend
- Frameworks and tools
- postgres
- Capabilities
- database-inspectionquery-analysisindex-advice
Example tasks
- “Explain why the orders dashboard query is slow and propose an index, with the plan before and after.”
- “List tables without primary keys or with unused indexes.”
- “Check the health of the database: connections, bloat and cache hit ratio.”
Works with
Permissions summary
Files
No file access
Shell
No shell commands
Network
Needs network access
MCP
postgres
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .mcp.json |
| OpenAI Codex | Adapter | .codex/mcp.example.json |
| Cursor | Native | .cursor/mcp.json |
| VS Code (Copilot) | Native | .vscode/mcp.json |
| Generic markdown | Adapter | docs/forgekit/integrations/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (51 lines in total).
- 01PostgreSQL integration
- 02Setup
- 03Required environment variables
- 04Permissions and least privilege
- 05What the recommended agents can do with it
- 06Security notes
- 07Disable
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — PostgreSQL
1.0.0
- Initial release.