Sw Postgres MCP
Previews Postgres writes in rollback-only transactions before allowing exact, approval-gated execution.
Install Sw Postgres MCP
Run the project’s own setup commands, in order.
Setup steps from the project
sw-postgres-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
docker compose up -dnpm installnpm run buildnode dist/index.jsdocker compose updocker compose up -d --wait
Overview
Use cases
- Inspect an allowlisted PostgreSQL schema
- Run bounded read-only queries from an agent
- Preview bulk updates or deletes before committing
- Require human approval for database migrations
- Detect changed rows before executing a saved plan
Key features
- Read-only PostgreSQL queries
- Schema and query-plan inspection
- Rollback-based write previews
- Human approval for risky plans
- Statement fingerprint validation
- Separate readonly and writer roles
Tools8
What Sw Postgres MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Sw Postgres MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Sw Postgres MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sw-postgres-mcp)<a href="https://allmcps.com/mcp/sw-postgres-mcp"><img src="https://allmcps.com/api/badge/sw-postgres-mcp?style=directory" alt="Sw Postgres MCP on AllMCPs" /></a>