The Cloudflare Remote PostgreSQL Database MCP Server enables remote database interaction through a production-ready MCP server deployable on Cloudflare Workers with GitHub OAuth authentication. It provides three core toolsβ`listTables`, `queryDatabase`, and `executeDatabase`βthat allow authenticated users to discover database schemas and execute queries, with role-based write permissions controlled by GitHub usernames and built-in SQL injection protection. The server solves the problem of securely exposing PostgreSQL databases to AI models with fine-grained access control, supporting both modern HTTP streaming and legacy Server-Sent Events transport protocols.
claude mcp add --transport stdio coleam00-remote-mcp-server-with-auth uvx remote-mcp-server-with-auth