> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Cloudflare MCP servers

> Connect Cloudflare's managed MCP servers to Spojit: the Cloudflare API server plus observability, Radar, DNS analytics, audit logs, and more, with OAuth or an API token.

Cloudflare runs a catalog of managed MCP servers. The **Cloudflare API** server reaches the whole Cloudflare API through a search-and-execute pattern, and product servers give focused tools for areas such as observability, Radar, and audit logs. Connect them to Spojit to check Worker logs after a deploy, pull traffic insights into a report, or review audit events.

<Note>
  Spojit connects to these servers through a [custom MCP server](/connectors/remote-mcp-servers/custom) connection, so you add them with **Add custom server** rather than from the connector catalog. Cloudflare maintains them and decides which tools they offer; see [Cloudflare's MCP server documentation](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/) for the current list.
</Note>

## Before you start

* A Cloudflare account. Tools act with the access of the user who signs in, or the permissions of the API token you use.

## Server URLs

Add one connection per server you need.

| Server                         | URL                                            |
| ------------------------------ | ---------------------------------------------- |
| Cloudflare API (all endpoints) | `https://mcp.cloudflare.com/mcp`               |
| Documentation                  | `https://docs.mcp.cloudflare.com/mcp`          |
| Workers Bindings               | `https://bindings.mcp.cloudflare.com/mcp`      |
| Workers Builds                 | `https://builds.mcp.cloudflare.com/mcp`        |
| Observability                  | `https://observability.mcp.cloudflare.com/mcp` |
| Radar                          | `https://radar.mcp.cloudflare.com/mcp`         |
| Browser Run                    | `https://browser.mcp.cloudflare.com/mcp`       |
| Logpush                        | `https://logs.mcp.cloudflare.com/mcp`          |
| AI Gateway                     | `https://ai-gateway.mcp.cloudflare.com/mcp`    |
| Audit Logs                     | `https://auditlogs.mcp.cloudflare.com/mcp`     |
| DNS Analytics                  | `https://dns-analytics.mcp.cloudflare.com/mcp` |
| GraphQL analytics              | `https://graphql.mcp.cloudflare.com/mcp`       |

Cloudflare lists more servers (Containers, AI Search, Digital Experience Monitoring, CASB) on its [servers page](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/).

## Connect in Spojit

<Steps>
  <Step title="Add a custom server">
    Go to **Connections** and click **Add custom server**. Enter a **Name** such as `Cloudflare Observability` and paste the **Server URL**.
  </Step>

  <Step title="Keep Auto authentication">
    Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.
  </Step>

  <Step title="Approve access in Cloudflare">
    Cloudflare opens its authorization page. Sign in, review the requested access, and approve. Spojit marks the connection **Connected** and refreshes the token automatically.
  </Step>
</Steps>

### Alternative: an API token

Cloudflare also accepts an [API token](https://dash.cloudflare.com/profile/api-tokens) as a bearer token. Create a token with only the permissions the server's tools need, then choose **Token** in Spojit, paste it, keep **Header name** `Authorization` and **Prefix** `Bearer`, and click **Add**.

## Use it in a workflow

Add a **Connector** node, pick your Cloudflare server under **Custom Servers**, and choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](/connectors/remote-mcp-servers/custom#use-a-custom-server-in-a-workflow).

## Troubleshooting

<AccordionGroup>
  <Accordion title="A tool fails with a permissions error">
    With OAuth, reconnect and grant the missing permission on the consent page. With a token, edit the token in Cloudflare to add the permission.
  </Accordion>
</AccordionGroup>

## Learn more

* [Cloudflare's own MCP servers](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/)
* [cloudflare/mcp-server-cloudflare on GitHub](https://github.com/cloudflare/mcp-server-cloudflare)

<Snippet file="start-free.mdx" />
