Enables deployment of the MCP server on Cloudflare Workers and integration with Cloudflare AI Playground
Provides remote access to PostgreSQL databases through the MCP server interface
PostgreSQL Remote Cloudflare MCP Worker
Get started:
Alternatively, you can use the command line below to get the remote MCP Server created on your local machine:
⚠️ Currently, the
Deploy to Cloudfare
button does not support configuration of evironment variables, the variable must be configured manually, after deployment.
Environment Variables
From the Cloudflare console > select your Worker AI, go to Settings > Variables and Secrets > +Add
Type: Secret
Variable Name: DATABASE_URL
Value: postgresql://<connection string>
Connect to Cloudflare AI Playground
You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:
- Go to https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (
postgres-mcp-cloudflare.<your-account>.workers.dev/sse
) - You can now use your MCP tools directly from the playground!
Connect Claude Desktop to your MCP server
You can also connect to your remote MCP server from local MCP clients, by using the mcp-remote proxy.
To connect to your MCP server from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.
Update with this configuration:
Restart Claude and you should see the tools become available.
Connect Cursor AI to your MCP server
On Mac OS, go to Cursor > Settings > Cursor Settings > MCP > Add new Global MCP Server > edit the mcp.json
file
This server cannot be installed
A Cloudflare Workers-based MCP server that provides PostgreSQL database access capabilities to AI assistants, allowing them to query and manipulate PostgreSQL databases through the Model Context Protocol.
Related MCP Servers
- -securityFlicense-qualityA Cloudflare Workers-based implementation of Model Context Protocol (MCP) server that enables AI assistants like Claude to access external tools and capabilities through a standardized interface with OAuth authentication.Last updated -14TypeScript
- -securityFlicense-qualityA Cloudflare Workers implementation of Model Context Protocol (MCP) server that enables AI tools to be exposed to Claude and other assistants through OAuth authentication.Last updated -14TypeScript
- -securityFlicense-qualityA Cloudflare Workers-based implementation of the Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with external tools through OAuth login.Last updated -14TypeScript
- -securityFlicense-qualityA deployable authentication-free MCP (Model Context Protocol) server on Cloudflare Workers that allows you to add custom tools and connect to AI clients like Claude Desktop or Cloudflare AI Playground.Last updated -TypeScript