codecrafting-cloudflare-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SECURITY_WATCH_CF_ZONE_ID | Yes | Cloudflare zone ID from dashboard | |
| SECURITY_WATCH_CF_API_TOKEN | Yes | Cloudflare read-only API token |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cf_get_trafficB | Trafic agrégé de la zone Cloudflare (requêtes, pages vues, visiteurs uniques, menaces, cache) par jour sur N jours. Lecture seule. |
| cf_get_threats_by_countryB | Répartition des menaces bloquées par pays d'origine sur N jours. Lecture seule. |
| cf_get_targeted_pathsA | Chemins ciblés par les attaques (statuts 4xx/5xx) avec détection de fuite : 2xx/3xx sur chemin sensible = FUITE (fichier servi), 5xx = anomalie (Worker plante au lieu de 404). Fenêtre limitée à 1 jour côté plan Free : utiliser days=1 pour un résultat exact, days>1 boucle jour par jour. |
| cf_graphql_queryA | Exécute une requête GraphQL arbitraire contre l'API Analytics Cloudflare (https://api.cloudflare.com/client/v4/graphql). Pour des besoins avancés non couverts par les autres outils. Lecture seule (dataset analytics). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: targeted paths, threats by country, aggregated traffic, and arbitrary GraphQL queries. No overlap.
Three tools follow 'cf_get_*' pattern, but 'cf_graphql_query' uses 'query' instead of 'get', introducing a minor inconsistency.
With 4 tools, the set is well-scoped for Cloudflare analytics, covering key metrics and offering flexibility via GraphQL.
Covers common analytics needs; arbitrary GraphQL fills gaps. Minor missing features like DNS analytics but overall sufficient.