# safe-postgres-mcp

> safe-postgres-mcp — samuel-cabral-safe-postgres-mcp. Use this tool when you need to safely interact with PostgreSQL databases without risking data mutation. It solves the problem of preventing unintended database modifications by enforcing read-only access at the database level, allowing AI agents to explore schemas and run SELECT queries. The tool takes database connections as input and outputs query results, making it ideal for use cases where data integrity is paramount.

Canonical page: https://skillsregistry.net/skills/samuel-cabral-safe-postgres-mcp  
JSON: https://api.skillsregistry.net/v1/skills/samuel-cabral-safe-postgres-mcp

## Description

A zero-config, read-only PostgreSQL MCP server that enforces read-only access at the database level using READ ONLY transactions, allowing AI agents to safely explore schemas and run SELECT queries without risk of mutation.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/klnleanm0v)
- **Repository:** <https://github.com/samuel-cabral/safe-postgres-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "samuel-cabral-safe-postgres-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/samuel-cabral-safe-postgres-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/samuel-cabral-safe-postgres-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
