README.md
Interact with PostgreSQL databases via natural language on Cloudflare Workers.
A production-ready MCP server that enables users to interact with PostgreSQL databases via natural language on Cloudflare Workers. It features GitHub OAuth for role-based access control, allowing for secure schema discovery, data querying, and write operations.
Environment Variables
DATABASE_URLrequiredPostgreSQL connection stringGITHUB_CLIENT_IDrequiredOAuth client ID for role-based access controlGITHUB_CLIENT_SECRETrequiredOAuth client secret for role-based access controlConfiguration
claude_desktop_config.json
{"mcpServers":{"mcp-sentry":{"command":"npx","args":["-y","@makaveli006/mcp-sentry"],"env":{"DATABASE_URL":"your_postgresql_url","GITHUB_CLIENT_ID":"your_id","GITHUB_CLIENT_SECRET":"your_secret"}}}}Try it
→Show me the schema for my PostgreSQL database.
→Run a query to find the top 10 users by sign-up date.
→Add a new column called 'status' to the orders table.
→List all tables in the current database schema.
→Update the email address for user ID 501.