# PostgreSQL MCP server

Agent View of the PolicyLayer registry record for PostgreSQL: identity, probed posture, risk grade, and all 1 tools classified. HTML page: https://policylayer.com/tools/postgres

## Facts

- Server id: `@modelcontextprotocol/server-postgres`
- Ref (repo): `modelcontextprotocol/server-postgres`
- Install: `npx -y @modelcontextprotocol/server-postgres`
- Homepage: https://github.com/modelcontextprotocol/server-postgres
- Registry record: grade F, identity verified
- Lifecycle: archived
- Rate-limited: no
- Tools: 1
- Tool categories present: Read
- Tags: postgres
- Record last modified: 2026-08-17T15:30:12.294Z

## Tools (1)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `query` | Read | Low | https://policylayer.com/tools/postgres/query.md |

## Tool descriptions

- `query` — Run a read-only SQL query

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=postgres · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/postgres
