# MCP DB Gateway

> MCP DB Gateway — altsys-mcp-db-gateway. Use this tool when you need to provide secure and controlled access to PostgreSQL databases for AI agents, enforcing data governance and security policies. It solves problems related to unauthorized data access and excessive query loads by implementing schema and table allowlists, query limits, and audit events. The MCP DB Gateway takes AI agent queries as input and returns governed, read-only PostgreSQL data as output.

Canonical page: https://skillsregistry.net/skills/altsys-mcp-db-gateway  
JSON: https://api.skillsregistry.net/v1/skills/altsys-mcp-db-gateway

## Description

Provides governed, read-only PostgreSQL access for AI agents via MCP. Enforces schema/table allowlists, query limits, and audit events.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-29

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/z8s5nf6tec)
- **Repository:** <https://github.com/altsys/mcp-db-gateway>

## 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": "altsys-mcp-db-gateway"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/altsys-mcp-db-gateway` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/altsys-mcp-db-gateway/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
