MCP server
sw-postgres-mcp
io.github.jpka/sw-postgres-mcp
Checked 26 Oct 2026, 08:31 UTC · Still published on its registry; checked against OSV.dev; never run by us
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add sw-postgres-mcp --env DATABASE_URL_READONLY=YOUR_VALUE --env DATABASE_URL_WRITER=YOUR_VALUE -- npx -y sw-postgres-mcp@0.3.1
Claude Desktop
{"mcpServers":{"sw-postgres-mcp":{"command":"npx","args":["-y","sw-postgres-mcp@0.3.1"],"env":{"DATABASE_URL_READONLY":"YOUR_VALUE","DATABASE_URL_WRITER":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.sw-postgres-mcp]
command = "npx"
args = ["-y","sw-postgres-mcp@0.3.1"]
env = { DATABASE_URL_READONLY = "YOUR_VALUE", DATABASE_URL_WRITER = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"sw-postgres-mcp":{"command":"npx","args":["-y","sw-postgres-mcp@0.3.1"],"env":{"DATABASE_URL_READONLY":"YOUR_VALUE","DATABASE_URL_WRITER":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"sw-postgres-mcp":{"command":"npx","args":["-y","sw-postgres-mcp@0.3.1"],"env":{"DATABASE_URL_READONLY":"YOUR_VALUE","DATABASE_URL_WRITER":"YOUR_VALUE"}}}}
VS Code
{"servers":{"sw-postgres-mcp":{"type":"stdio","command":"npx","args":["-y","sw-postgres-mcp@0.3.1"],"env":{"DATABASE_URL_READONLY":"YOUR_VALUE","DATABASE_URL_WRITER":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own DATABASE_URL_READONLY, DATABASE_URL_WRITER.
Browse
Related MCP servers
- Floot
Build and publish full-stack web and mobile apps on Floot from any MCP client. Building is free. - Duvera Gateway
Governed AI actions with signed, verifiable receipts: free keyless reads, human-approved writes. - Hlido Agent Reviews
Independent AI-agent reviews: trust checks, evidence scorecards, incident registry, recommendations. - SolVerdict
Safety check for Solana SPL/Token-2022 mints: SAFE/CAUTION/DANGER + reasons. By Crypto Money Maker - Sota
EU-native PaaS for AI agents — deploy web apps with one sentence, managed Postgres, GDPR by default. - Physical Capability Cloud
Discover, hire, and verify real-world physical capability through MCP. - Data Compliance Classifier MCP
Classify data safety before storing or sharing. GDPR, HIPAA, PCI-DSS, CCPA. AI-powered. - Dayze — Life Context
Life context for agents: get_context_pack + public notable packs. x402 + OAuth.
Badge for your README
[](https://aptlynx.net/servers/io.github.jpka/sw-postgres-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents