Connect Cloudflare to Windsurf
To use Cloudflare in Windsurf, connect your Cloudflare account in Manyplug and add Manyplug to Windsurf once. Windsurf then gets 7 Cloudflare tools, for example: “Zones”, “DNS records”, and “Add a record”. It takes about 4 minutes and works on the free plan.
Connect Cloudflare Free plan, no card
1. Connect Cloudflare in Manyplug
Click “Connect Cloudflare” and paste the key or app password into Manyplug’s form:
A Cloudflare API token with the right permissions. Takes about two minutes.
- Open Cloudflare → My Profile → API Tokens and click Create Token.Open Cloudflare API tokens
- Use the Edit zone DNS template. Add Zone → Cache Purge → Purge if the AI may purge the cache.
- Under Zone Resources pick all zones or specific domains, then Continue to summary → Create Token.
- Copy the token (it is shown once) and paste it into the form.
- Do not use the Global API Key: a token with limited permissions is safer.
- The AI changes or deletes DNS records only after you confirm.
2. Add Manyplug to Windsurf
Windsurf Editor.
- Add the server to ~/.codeium/windsurf/mcp_config.json.
{ "mcpServers": { "manyplug": { "serverUrl": "https://manyplug.com/mcp" } } } - Refresh the MCP servers and sign in.
3. Ask Windsurf
- Which DNS records does acme.com have in Cloudflare?
- Add a CNAME docs.acme.com pointing to acme.github.io, not proxied.
- Purge the cache for https://acme.com/pricing.
- Does the domain have SPF and DMARC records?
What Windsurf can do in Cloudflare
Each action can be turned off per account, and changes can wait for your OK.
| Action | Access |
|---|---|
| Zones Domains with ids and status. | Reads |
| DNS records Records of a zone by type or name. | Reads |
| Add a record Adds a DNS record. | Makes changes |
| Change a record Changes fields of a DNS record. | Risky |
| Delete a record Deletes a DNS record. | Risky |
| Purge cache Purges the cache of chosen URLs. | Makes changes |
| Purge all cache Purges the whole cache of a zone. | Risky |
Questions
Can I connect two Cloudflare accounts to Windsurf?
Yes. Connect each one in Manyplug under its own name, for example Work and Personal. Windsurf can use one of them or all at once.
Will Windsurf change anything in Cloudflare without asking?
By default these actions wait for your approval before they run: “Change a record”, “Delete a record”, and “Purge all cache”. Other changes follow your rules, which you can make stricter per account.
Do I need an official Cloudflare MCP server for this?
No. Manyplug connects to Cloudflare itself with a key or app password you paste into its form, and gives Windsurf the tools through one MCP address, together with your other services.
Is it free to connect Windsurf to Manyplug?
Yes. New workspaces get 14 days of Pro free, then the free plan keeps going with 150 actions a month and up to 3 connected accounts. No card needed. Paid plans start at $5 a month.
Does Windsurf see my passwords or API keys?
No. Keys are entered on Manyplug’s own pages, stored encrypted with a separate key per account, and the AI only receives tool results.