Integrations
Cloudflare Integration
Manage Cloudflare zones, DNS, cache, and Workers via the Cloudflare API
The Cloudflare integration provides access to manage Cloudflare zones, DNS, cache, and Workers via the Cloudflare API through the Integrate MCP server.
Installation
The Cloudflare integration is included with the SDK:
import { cloudflareIntegration } from "integrate-sdk/server";Setup
Add Cloudflare to your server configuration. Provide credentials via environment variables or integration config:
import { createMCPServer, cloudflareIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
cloudflareIntegration({
// See configuration options below
}),
],
});Client-Side Usage
import { client } from "integrate-sdk";
const result = await client.cloudflare.verifyToken({});
console.log(result);Environment Variables
CLOUDFLARE_API_KEY(when supported by this integration)
Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
account:readuser:readzone:readworkers:readworkers:writepages:writeoffline_access
Tools
cloudflare_verify_token
Verify token
No parameters.
cloudflare_get_user
Get user
No parameters.
cloudflare_list_accounts
List accounts
Prop
Type
cloudflare_get_account
Get account
Prop
Type
cloudflare_list_zones
List zones
Prop
Type
cloudflare_get_zone
Get zone
Prop
Type
cloudflare_list_dns_records
List dns records
Prop
Type
cloudflare_create_dns_record
Create dns record
Prop
Type
cloudflare_update_dns_record
Update dns record
Prop
Type
cloudflare_delete_dns_record
Delete dns record
Prop
Type
cloudflare_purge_zone_cache
Purge zone cache
Prop
Type
cloudflare_list_worker_scripts
List worker scripts
Prop
Type
Notes
- Category: Infrastructure
- Authentication mode: API key