P

Postgres MCP Js

by shubham4038 · shubham4038/postgres-mcp-js

A Model Context Protocol (MCP) server for PostgreSQL that provides safe, structured access to your database for AI assistants, enabling health checks, index tuning, lock analysis, and more.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ACCESS_MODE No Access mode: restricted (read-only, 30s timeout) or unrestricted (full read/write). Default: restricted Default: restricted
DB_PRIMARY_URL Yes PostgreSQL connection URL for the primary database (required). Example: postgresql://user:password@localhost:5432/mydb
DB_REPLICA_URL No PostgreSQL connection URL for a secondary database (optional)
DB_PRIMARY_NAME No Alias for the primary database (default: primary) Default: primary
DB_REPLICA_NAME No Alias for the replica database (default: replica) Default: replica

Similar servers