Back to Home
call518 icon

MCP-PostgreSQL-Ops

Verified Safe

by call518

Overview

The MCP server provides professional operations, monitoring, and management capabilities for PostgreSQL databases using natural language queries.

Installation

Run Command
uvx --python 3.12 mcp-postgresql-ops --type stdio

Environment Variables

  • POSTGRES_HOST
  • POSTGRES_PORT
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB
  • REMOTE_AUTH_ENABLE
  • REMOTE_SECRET_KEY

Security Notes

The server is explicitly designed for read-only operations, significantly reducing the attack surface. It utilizes environment variables for database credentials, avoiding hardcoded secrets in the code. SQL queries are generally parameterized or carefully constructed to mitigate injection risks, with input validation applied to parameters like 'limit'. Authentication for 'streamable-http' mode is optional but strongly recommended, and the code issues warnings if disabled. A comprehensive SECURITY.md policy is in place.

Similar Servers

Stats

Interest Score44
Security Score8
Cost ClassMedium
Avg Tokens750
Stars131
Forks21
Last Update2025-12-16

Tags

PostgreSQLDatabase MonitoringDatabase OperationsPerformance AnalysisDBA Tools