- Home
- Top MCPs for Cloud & Infrastructure
- Cloudflare vs Terraform
MCP Comparison · 2026
Cloudflare vs Terraform MCP Server
Comparing Cloudflare and Terraform as MCP servers? Cloudflare (manage dns, workers and domains) is best when dns record management on cloudflare zones. Terraform (query terraform registry) is best when grounding generated hcl in real provider schemas. Both run as Model Context Protocol servers and can coexist in the same client. Updated 2026.
Side-by-side specs
Pulled from each MCP's verified fact sheet.
| Cloudflare | Terraform | |
|---|---|---|
| Primary function | Manage DNS, Workers and Domains | Query Terraform Registry |
| Maintainer | Cloudflare | HashiCorp |
| Pricing | Freemium | Freemium |
| Setup complexity | Medium · ~5 min | Medium · ~5 min |
| Transport | Streamable HTTP | stdio, Streamable HTTP |
| Auth model | OAuth 2.1 | None |
| License | Apache-2.0 | MPL-2.0 |
| Language | TypeScript | Go |
| Latest version | latest | latest |
| Compatible clients | Claude, Cursor, VS Code, Any MCP client with remote-server support, Cloudflare accounts | Claude, Cursor, VS Code, Any MCP-compatible client, HCP Terraform accounts |
| Last verified | 2026-09-29 | 2026-10-01 |
Which one should you pick?
Decision rubric drawn from each MCP's documented strengths.
Choose Cloudflare
- DNS record management on Cloudflare zones
- Worker deployment and rollback
- Domain search, check and registration via the Registrar API beta
Choose Terraform
- Grounding generated HCL in real provider schemas
- Looking up module inputs and outputs
- HCP Terraform workspace + run management
Pick something else if…
- Unattended DNS changes on production domains
- Unattended `terraform apply`
Feature breakdown
Key capabilities each server ships out of the box.
Cloudflare
- Hosted at https://mcp.cloudflare.com/mcp — OAuth with permission selection, or a bearer API token
- Code Mode: `search`, `execute` and `docs` over ~2,500 API endpoints
- DNS records, zones, Workers, R2, KV, D1, Pages, firewall
- Registrar API beta: domain-search, domain-check, registrations (Registrar write permission)
- Sixteen further single-purpose remote servers (docs, bindings, observability, DNS analytics, Radar, …)
Terraform
- Live Terraform Registry provider + module lookup
- HCP Terraform / Enterprise workspace ops (with TFE_TOKEN)
- stdio + StreamableHTTP transports
- Production controls: TLS, CORS, rate limiting
- Official HashiCorp, MPL-2.0, Go
Install snippets
Open the detail page for ready-to-paste config for every major client.
FAQ
Cloudflare vs Terraform: which MCP server should I use?
Pick Cloudflare when dns record management on cloudflare zones. Pick Terraform when grounding generated hcl in real provider schemas. Cloudflare is built for manage dns, workers and domains, while Terraform focuses on query terraform registry.
Can I run both Cloudflare and Terraform together?
Yes. MCP clients run each server as a separate process and surface every server's tools simultaneously, so you can install both and let your agent decide which to call. Be deliberate with auth scopes when stacking servers.
How fresh is this comparison?
Updated for 2026. Cloudflare's last verification: 2026-09-29. Terraform's last verification: 2026-10-01. We refresh detail-page facts on every catalog rebuild.
More Cloudflare comparisons
Browse all Cloud & Infrastructure MCPs? See the full ranked list →