For the complete documentation index, see llms.txt. This page is also available as Markdown.

16. Cloudflare MCP Server

The Cloudflare MCP lets you manage your Cloudflare resources

What it can do

  • Create, deploy and delete Workers

  • Manage KV storage, R2 buckets and D1 databases

  • Query Workers AI and other account services

How to get the API token

  1. Sign in to the Cloudflare dashboard and open My Profile → API Tokens

  2. Create a token with the needed permissions (e.g. Workers Scripts, KV, R2, D1) on the right account

  3. Copy the token (shown only once)

  4. Get the Account ID from the dashboard home

Configuration parameters

Parameter
Required
Description

api_token

Yes

Cloudflare API Token with the necessary permissions (Workers, KV, D1, R2…).

account_id

Yes

Your Cloudflare Account ID (visible in the Cloudflare dashboard).

Custom parameters

No additional parameters needed.

Last updated