PostgreSQL Cloudflare

Provides a remote PostgreSQL-backed MCP endpoint accessible from Cloudflare AI Playground and other MCP clients.
  • typescript

0

GitHub Stars

typescript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

This MCP server runs on a Cloudflare Worker and provides a remote PostgreSQL-backed MCP endpoint you can query from any MCP client. It lets you expose your PostgreSQL data and perform MCP actions through a lightweight, remote worker that can be connected from the Cloudflare AI Playground or your local MCP clients.

How to use

Connect from an MCP client to the remote Cloudflare MCP Worker using the URLs below. The following options show practical ways to access and use your MCP server.

How to use the Cloudflare AI Playground

Open the Cloudflare AI Playground and connect to your MCP server using the remote URL shown in your setup. For example, you can use a URL like https://postgres-mcp-cloudflare.<your-account>.workers.dev/sse to access the MCP server endpoints.

How to use Claude Desktop with your MCP server

You can connect Claude Desktop to your remote MCP server by configuring the MCP connection to point at the remote endpoint. Use the following as a reference for the configuration, replacing placeholders with your own account and server URL.

How to use Cursor AI with your MCP server

On Mac OS, add your MCP server in Cursor by editing the mcp.json file and pointing to the remote MCP URL, such as https://postgresql-mcp-cloudflare.<your-account>.workers.dev/sse.

Notes on environment setup and security

Before you connect from any client, ensure you have your PostgreSQL connection string available and stored securely. You will provide this in the environment variable DATABASE_URL in the Cloudflare console as part of the deployment.

Usage quickstart for the remote server

  1. Create the remote MCP Server using the Cloudflare template command. 2) Configure the required environment variable in the Cloudflare Console. 3) Connect your MCP clients to the remote server URL provided by the deployment.

Troubleshooting and tips

If a client cannot connect, verify the URL is correct and that the DATABASE_URL is set in the environment. Ensure the server URL you use matches the one you deployed (for example, the sse path on your Cloudflare Worker). Restart the client after updating configuration.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational