Database-mcp-postgres MCP Server

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

Local serverstdio

What is the Database-mcp-postgres MCP Server?

Database-mcp-postgres is an MCP integration. MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

Packages and local setup

The published npm package is @database-mcp/postgres, version 0.4.2. Its declared MCP transport is stdio.

The package declares POSTGRES_HOST (required): Database host; POSTGRES_USER (required): Database user (a read-only user is recommended); POSTGRES_PASSWORD: Database password (or use POSTGRES_PASSWORD_FILE); POSTGRES_DATABASE (required): Database name.

The published pypi package is database-mcp-postgres, version 0.1.0. Its declared MCP transport is stdio.

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.4.2 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
POSTGRES_HOSTDatabase hostYes
POSTGRES_USERDatabase user (a read-only user is recommended)Yes
POSTGRES_PASSWORDDatabase password (or use POSTGRES_PASSWORD_FILE)Optional
POSTGRES_DATABASEDatabase nameYes