Sw-postgres-mcp Server

Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.

Local serverstdio

What is the Sw-postgres-mcp Server?

Sw-postgres-mcp is an MCP integration. Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.

Packages and local setup

The published npm package is sw-postgres-mcp, version 0.3.1. Its declared MCP transport is stdio.

The package declares DATABASE_URL_READONLY (required): Postgres connection string for the read-only role.; DATABASE_URL_WRITER (required): Postgres connection string for the writer role..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.3.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
DATABASE_URL_READONLYPostgres connection string for the read-only role.Yes
DATABASE_URL_WRITERPostgres connection string for the writer role.Yes