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
Sign in to the Cloudflare dashboard and open My Profile → API Tokens
Create a token with the needed permissions (e.g. Workers Scripts, KV, R2, D1) on the right account
Copy the token (shown only once)
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