Enables execution of SQL queries on PostgreSQL databases via an MCP-compatible client with configurable read-only or write access.
Sponsored
Provides a minimal Model Context Protocol (MCP) server designed for seamless interaction with PostgreSQL databases. It allows users to execute SQL queries with fine-grained control over permissions, offering both read-only and write access modes configurable at the server level. The tool returns structured results with metadata, making it an ideal solution for integrating PostgreSQL database operations directly into MCP-compatible environments and tools like Cursor or Windsurf with a simple setup using a PostgreSQL connection string.
Key Features
01Server-level mode configurable via command line
02Returns structured results with metadata
03Simple setup using a PostgreSQL connection string
046 GitHub stars
05Execute SQL queries with optional read-only or write access
Use Cases
01Automating SQL query execution within MCP-enabled workflows
02Integrating PostgreSQL operations into MCP-compatible coding assistants like Cursor or Copilot
03Providing controlled database access (read-only or write) for AI tools