Connect Cloudflare API MCP to your AI agents, securely.
One secured endpoint for every Cloudflare API call your AI agents make, scoped per user, inspected, and logged.Try Cloudflare API MCP now
What your agents can ask once Cloudflare API MCP is connected.
“Which account am I authenticated as?”
“Find the endpoint for listing DNS records”
“Show the zones in this account”
“Search the Cloudflare docs for Zero Trust policies”
“List the R2 buckets through the API”
“Find the endpoints related to firewall rules”
Select the tools your AI agents can call
4 tools from the Cloudflare API MCP schema.
Showing 4 tools
What Cloudflare API MCP exposes
Cloudflare API MCP groups its 4 tools into 2 categories, each with a suggested starting policy.
| Category | Covers | Access | Suggested policy |
|---|---|---|---|
| Code Mode | Endpoint discovery and execution against the full Cloudflare API through generated JavaScript | Read / Write | Approve execute; the generated code can reach any permitted endpoint |
| Account & Docs | Authenticated identity and developer documentation search | Read | Allow documentation searches |
Connect Cloudflare API MCP to your AI agent
Four steps, under ten minutes.
- 01
Sign in to NeuralTrust
Open the NeuralTrust platform, sign in and go to Getting started, then Connect your tools.
- 02
Choose your agent
When asked which agent you use, pick Claude Code, Codex, Cursor, Windsurf, Copilot or your own code.
- 03
Connect Cloudflare API
Find Cloudflare API in the tool list and connect it.
- 04
Connect your agent
Follow the steps on screen to add the config to your agent, then send the test prompt.
Permissions down to the single tool
You do not allow Cloudflare API MCP or block it. You allow the exact tools each agent can call, one by one.
| Cloudflare API MCP | 4 TOOLS AVAILABLE |
|---|---|
| Code review agent | 4 tools, read only |
| Issue triage bot | 9 tools |
| Platform team assistant | all 4 tools |
- Tool by toolConnecting the server is not the unit of access. Each tool is granted on its own.
- Default denyA tool you have not enabled is never exposed to the agent.
- Approval on writesTools that change or delete things can require a human to confirm.
Is Cloudflare API MCP secure?
One endpoint instead of raw credentials. Every call is checked against policy and logged.
| AI agentsConnect through your MCP client configuration. | NeuralTrustApply controls based on your configuration. | Cloudflare API MCP4 documented tools. |
|---|---|---|
| Coding assistants | Connection & credentialsper user | Code Mode2 tools |
| Internal copilots | Tool access policiesdeny by default | Account & Docs2 tools |
| Workflow automations | Request & response inspectioninline | |
| Compatible MCP clients | Activity monitoringalerts and logs |
Use Cloudflare API MCP with any AI agent framework
Setup guides for the tools your team already uses.
- Claude CodeSetup guide
- CursorSetup guide
- CodexSetup guide
- WindsurfSetup guide
- Gemini CLISetup guide
- Google AntigravitySetup guide
- GitHub CopilotSetup guide
- Claude EnterpriseSetup guide
- Microsoft Copilot StudioSetup guide
- Open WebUISetup guide
- LangChainSetup guide
- HaystackSetup guide
- Strands AgentsSetup guide
- Vercel AI SDKSetup guide
- n8nSetup guide
Common questions about running Cloudflare API MCP through TrustGate.
Other MCP servers
More servers from the catalog.
Cloudflare Docs
Securely connect your AI agents to Cloudflare Docs through TrustGate: semantic search across the full developer documentation and the Pages to Workers migration guide, scoped per agent and logged.
2 toolsViewCloudflare Workers Bindings
Securely connect your AI agents to Cloudflare Workers Bindings through TrustGate: KV namespaces, R2 buckets, D1 databases, Hyperdrive and Workers, scoped per agent and logged.
24 toolsViewCloudflare Observability
Securely connect your AI agents to Cloudflare Observability through TrustGate: Workers logs, metrics, field discovery and worker inspection, scoped per agent and logged.
8 toolsView
Connect Cloudflare API MCP instantly
Pick the tools, point your agent at TrustGate, and Cloudflare API MCP is live: scoped, inspected, logged.