Skip to main content

Quickstart

Connect to a Cloudflare Worker MCP server with Nango and start calling tools in minutes. Cloudflare MCP uses OAuth 2.0 with dynamic client registration — no app registration is required.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Cloudflare (MCP).
2

Authorize the worker

Go to Connections -> Add Test Connection -> Authorize, then log in to Cloudflare. Later, you’ll let your users do the same directly from your app.
3

Call a Cloudflare MCP tool

Make your first MCP request to initialize a session. Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/mcp" \
  -X POST \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
        "protocolVersion": "2024-11-05",
        "capabilities": {},
        "clientInfo": {
            "name": "my-app",
            "version": "1.0.0"
        }
    }
}'
Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.

Cloudflare (MCP) integration guides

Nango uses dynamic client registration with your worker’s OAuth server. You do not need to register an application — just provide the worker hostname when creating the integration. Official docs: MCP on Cloudflare

Pre-built syncs & actions for Cloudflare (MCP)

Enable them in your dashboard. Extend and customize to fit your needs.