Developer · Local MCP server
Database MCP Postgres
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
What the MCP Registry states
The entry as published to the official MCP Registry (read 2026-10-04), latest version.
- Registry name
io.github.arifulislamat/database-mcp-postgres- Version
- 0.4.2
- Status
- Active
- Category
- developer
- Transport
- stdio (local process)
- Package
- npm, PyPI
- Published
- 2026-07-16
- Updated
- 2026-07-16
- Publisher
- arifulislamat (GitHub) · 5 servers with pages here
- Repository
- github.com/arifulislamat/database-mcp
- Source
- Registry API entry
Packages
| Registry | Package | Version | Transport |
|---|---|---|---|
| npm | @database-mcp/postgres | 0.4.2 | stdio |
| PyPIruntime: uvx | database-mcp-postgres | 0.1.0 | stdio |
How to connect Database MCP Postgres
Database MCP Postgres runs locally from a Node.js package published to the npm registry: @database-mcp/postgres version 0.4.2. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y @database-mcp/postgres@0.4.2. It reads these environment variables: POSTGRES_HOST (required), POSTGRES_USER (required), POSTGRES_PASSWORD (secret) and POSTGRES_DATABASE (required); set them in the client's configuration for this server.
Database MCP Postgres runs locally from a Python package published to PyPI: database-mcp-postgres version 0.1.0. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Python; clients usually start it with uvx (from uv) or after pip install — the usual command is uvx database-mcp-postgres. It reads these environment variables: POSTGRES_HOST (required), POSTGRES_USER (required), POSTGRES_PASSWORD (secret) and POSTGRES_DATABASE (required); set them in the client's configuration for this server.
In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):
{
"mcpServers": {
"database-mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@database-mcp/postgres@0.4.2"
],
"env": {
"POSTGRES_HOST": "<value>",
"POSTGRES_USER": "<value>",
"POSTGRES_PASSWORD": "<secret>",
"POSTGRES_DATABASE": "<value>"
}
}
}
}Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect
More from arifulislamat (GitHub)
| Server | Runs |
|---|---|
| Database MCP LibsqlMCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts. | Local · stdio |
| Database MCP MariadbMCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged. | Local · stdio |
| Database MCP MysqlMCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged. | Local · stdio |
| Database MCP SqliteMCP server for SQLite databases. Read-only by default, row caps, statement timeouts. | Local · stdio |
More developer servers
| Server | Runs |
|---|---|
| Database MCPMCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools. | Local · stdio |
| Databases (read-only, switchable)Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation. | Local · stdio |
| DatabricksYour Databricks Lakehouse in natural language: run SQL on your SQL warehouses, track long-running qu. | Remote · HTTP |
| Databricks MCP Server263 tools for Databricks: Unity Catalog, SQL, Compute, Jobs, Serving, and more. | Local · stdio |