← All integrations

Cloudflare MCP server

3352 operations0 webhooks

Cloudflare API v4: zones, DNS, cache, SSL/TLS, rulesets, Workers, KV, R2, D1, Queues, Pages, Tunnels, Zero Trust, Email Routing, Turnstile, AI Gateway, analytics, Radar and account settings (3352 operations).

Try Cloudflare with your agent

Connect Cloudflare, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Cloudflare on my account, then run one read-only example and show me the result.

Runs once, when you ask

Cloudflare tools and triggers

Tools are what your agent can do in Cloudflare through Corsair's MCP server. Triggers are the Cloudflare events a routine can start from.

Cloudforce One

  • Banner.GetRead-only

    Get the Latest Banner Grab Result. Retrieves the latest banner grab results for a Cloudforce One scan configuration, including service banners from open ports.

    cloudforceOne.banner.get

  • Binary.CreateWrite

    Posts a file to Binary Storage. Uploads a binary file to Cloudforce One's binary database for malware analysis and threat intelligence correlation.

    cloudforceOne.binary.create

  • Binary.GetRead-only

    Retrieves a file from Binary Storage. Retrieves a binary file from the Cloudforce One binary storage for analysis.

    cloudforceOne.binary.get

  • Brand Protection.Domain.Matches.Bulk DismissWrite

    Bulk dismiss or undismiss matches. Dismisses or undismisses up to 100 domain matches in one request and returns a result for each item. Send matches as (query_id, domain_id) pairs to change each match for one query.

    cloudforceOne.brandProtection.domain.matches.bulkDismiss

  • Brand Protection.Domain.Matches.GetRead-only

    List domain matches. Lists domains that matched one or more saved domain queries, most recently matched first by default.

    cloudforceOne.brandProtection.domain.matches.get

  • Brand Protection.Domain.Queries.CreateWrite

    Create domain query. Creates a saved domain query that matches domain names against your brand patterns. The tag must be unique among the account's domain queries. By default, the new query also searches domains observed in the last 7 days (see search_lookback).

    cloudforceOne.brandProtection.domain.queries.create

  • Brand Protection.Domain.Queries.DeleteDestructive

    Delete domain query. Deletes a saved domain query. The query stops matching new domains and generating alerts, and its matches can no longer be listed. If the query does not exist in this account or was already deleted, the request fails with error code 404. Cannot be undone.

    cloudforceOne.brandProtection.domain.queries.delete

  • Brand Protection.Domain.Queries.EditWrite

    Update domain query. Replaces a saved domain query's tag and patterns. tag and string_matches are required, and the patterns you send replace the existing ones, so include every pattern you want to keep.

    cloudforceOne.brandProtection.domain.queries.edit

  • Brand Protection.Domain.Queries.ListRead-only

    List domain queries. Lists the account's saved domain queries, most recently updated first. Set id to return a single query object instead of an array. Set page or per_page to paginate the list; the response then includes result_info. Without them, every query is returned.

    cloudforceOne.brandProtection.domain.queries.list

  • Brand Protection.Domain.Trial.CreateWrite

    Analyze domains for brand impersonation. Uses AI to scan all domains in the lookback table and identify potential phishing or impersonation attempts against the given brand string.

    cloudforceOne.brandProtection.domain.trial.create

  • Brand Protection.Letter.GenerateWrite

    Generate takedown letter. Generate a takedown letter from a template. Returns V4 JSON for text format or a PDF binary for pdf format.

    cloudforceOne.brandProtection.letter.generate

  • Brand Protection.Letter.Templates.CreateWrite

    Create letter template. Create a new user-defined takedown letter template.

    cloudforceOne.brandProtection.letter.templates.create

Connect Cloudflare to Claude, ChatGPT or Cursor

  1. 1

    Connect Cloudflare in Corsair

    Add your Cloudflare API key or sign in with OAuth once in Corsair. Corsair stores the credential encrypted and makes the Cloudflare API calls for your agent, so it never goes into a prompt or a config file. Connect Cloudflare

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Cloudflare. On a ChatGPT personal plan, connect Cloudflare here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Cloudflare's read and write operations run right away and its 579 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/cloudflare, add the Cloudflare plugin, and connect with an API key or OAuth. Then call methods like corsair.cloudflare.api.abuseReports.appeals.eligibility.get() from your app. Corsair stores tokens, and syncs data per tenant.

Yes. Cloudflare supports an API key or OAuth. Use credentials or OAuth scopes that match what you automate. Create them in the Cloudflare developer console, then paste into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit Cloudflare, GitHub, Notion, Stripe, and the rest. Trigger Cloudflare from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for cloudflare API v4: zones, DNS, cache, SSL/TLS, rulesets, Workers, KV, R2, D1, Queues, Pages, Tunnels, Zero Trust, Email Routing, Turnstile, AI Gateway, analytics, Radar and account settings (3352 operations). Common builds include sync jobs, admin tooling, and agents that call Cloudflare APIs from your backend. Local DB entities let you query synced Cloudflare records without hitting the API on every read.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Cloudflare API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/cloudflare in the open repo. When Cloudflare ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Cloudflare data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Cloudflare data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Cloudflare on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 579 destructive Cloudflare operations. You can change a link's mode at hub.corsair.dev/me.