TokenToSeaMCP Hub
中文 Console

PostgreSQL (hardened, read-only)

Eszetael

Secure read-only PostgreSQL MCP server in Rust — a hardened alternative to the deprecated @modelcontextprotocol/server-postgres.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add postgresql-hardened-read-only --env DATABASE_URL='<DATABASE_URL>' -- npx -y postgres-mcp-hardened

Environment variables

  • DATABASE_URL

Replace the placeholders with your own credentials and keep them out of version control.