Skip to content
Back to skills

Connect Postgres

ASecurity

Connect ada to a Postgres database (read-only SQL) via the Postgres MCP server.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsrustgosqldatabase

Works with

  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill connect-postgres --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Connect Postgres?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Connect Postgres
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-connect-postgres/badge)](https://www.skillsdirectory.com/skills/black141312-connect-postgres)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: connect-postgres
description: Connect ada to a Postgres database (read-only SQL) via the Postgres MCP server.
category: connectors
---

# Connect Postgres

Use when the user wants ada to inspect a schema or run read-only analytics queries against Postgres.

1. Add the connector: `ada mcp add postgres`.
2. Edit the connection string in `.ada/mcp.json` (the last arg) to point at your database — prefer a **read-only** role and a non-prod replica.
3. Keep credentials out of the file: use a role whose password is supplied via the environment or a `.pgpass`, not inline.
4. Trust the project and start `ada`; the tools appear as `postgres__*` (schema introspection + query).
5. Start by listing tables / describing the schema before writing any query.

## Rules
- Connect with a read-only user — never hand ada write/DDL credentials to "just query".
- Point at a replica or dev DB, not production, when possible.
- Review any generated SQL before running it on a large table; add `LIMIT` while exploring.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.