Cloudflare runs DNS, CDN, Workers, and analytics for many web properties. Connecting Cloudflare to clariBI brings traffic, deployment, and configuration data into your AI analyses.
Why connect Cloudflare
Traffic patterns and configuration drift questions usually require switching between Cloudflare dashboards.
With Cloudflare connected, you can ask "Which zone served the most traffic this week?", "Find DNS records expiring soon", or "List my deployed Workers and their bindings" without leaving clariBI.
How the connection works
clariBI talks to Cloudflare through its hosted MCP server at https://bindings.mcp.cloudflare.com/sse. Authentication uses an OAuth flow that clariBI registers itself for (no developer console setup on your side). Tokens stay encrypted server-side and never leave clariBI in clear form.
sequenceDiagram
actor U as You
participant C as clariBI
participant V as Cloudflare
U->>C: Click Authorize with Cloudflare
C->>V: Open OAuth authorization
V-->>U: Grant read access?
U->>V: Approve
V-->>C: Authorization code
C->>V: Exchange code for tokens
V-->>C: Access + refresh tokens
C->>C: Encrypt and store credentials
C-->>U: Connection ready
Available tools
clariBI exposes the read-only Cloudflare tools that the vendor's MCP server publishes at connection time. Write operations (create, update, delete, send, refund) are filtered out by a name-pattern blocklist before any tool reaches the analysis engine, so connecting Cloudflare cannot modify data on the vendor side.
The exact tool inventory depends on the Cloudflare features your account has access to. After connecting, try a few natural-language questions to see what Cloudflare data clariBI can pull.
Data flow during analysis
When you ask a question that maps to Cloudflare, the AI engine routes to the right tool, reads the result, and pairs the answer with a chart you can pin to a dashboard.
sequenceDiagram
actor U as You
participant C as clariBI
participant AI as AI engine
participant V as Cloudflare
U->>C: Ask a question about CDN and DNS data
C->>AI: Plan the analysis
AI->>V: Call the right tool
V-->>AI: Tool result
AI->>AI: Summarize and chart
C-->>U: Answer plus visual
Setting up the connection
- Open Data Sources in the clariBI sidebar.
- Click Add data source.
- Open the MCP Servers tab.
- Click the Cloudflare card.
- Click Authorize with Cloudflare.
- Sign in to Cloudflare in the popup window and grant the requested read scopes.
- Back in clariBI, give your data source a name.
- Click Finish.
Permissions and data access
clariBI requests read access to accounts, zones, workers, and analytics. No DNS records or Workers can be created or modified. Disconnect from Cloudflare account settings or from clariBI Settings.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| "Account context missing" | You have access to multiple Cloudflare accounts. | Select the right account in Cloudflare before authorizing. |