C

Cloudflare

Integrates with Cloudflare's API to enable management of DNS, CDN, and security configurations for w...

143 views
2 installs
Updated Sep 14, 2025
Not audited
Integrates with Cloudflare's API to enable management of DNS, CDN, and security configurations for web infrastructure automation.
  1. Log in to your Cloudflare Dashboard

  2. Navigate to "My Profile"

    • In the Cloudflare interface, click your profile icon (top right) and select "My Profile" from the dropdown menu.
  3. Go to "API Tokens"

    • In your profile, find and click the “API Tokens” tab in the sidebar.
  4. Create a New API Token

    • Click the "Create Token" button to start making a new token.
    • You may use a template or create a custom token. For best integration, choose "Edit Cloudflare Workers" or create a custom token with permissions for:
      • Account Resources: Workers, KV, R2, D1, etc.
      • Adjust the scope of access based on your needs.
  5. Configure Token Permissions

    • Assign the specific permissions required by your use case (for example: "Account.Workers Scripts:Edit", "Account.R2 Storage:Edit", "Account.D1 Databases:Edit", etc.).
    • Select the account(s) where this token has access.
  6. Save and Copy the API Token

    • After reviewing your configuration, click "Continue to summary" and then "Create Token."
    • Copy the generated API token and store it securely. You will not be able to see this token again!
  7. Fill in the Value in FastMCP

    • In the FastMCP connection interface, paste your Cloudflare API Token into the appropriate ENV variable (e.g., CLOUDFLARE_API_TOKEN) using the "Install Now" button to add your ENV.
  8. (Optional) Account ID

    • If prompted, you can find your Cloudflare Account ID under the "Overview" section of your Cloudflare dashboard, for use in the configuration if required.

You have now set up and added your Cloudflare API token for FastMCP!

Quick Start

View on GitHub

More for Cloud Platforms

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.