Cloudflare 域名配置与常用 API 的 MCP 服务器 (Cloudflare domain configuration and common API MCP server)
Server has 27 tools with schemas and descriptions present, but quality is inconsistent. Naming follows verb_noun convention well (list_*, get_*, create_*, update_*, delete_*). However, descriptions are bilingual (Chinese/English) and often generic (e.g., 'List all Zones' is 14 chars, below the 20-char minimum). Parameter descriptions exist but lack detail on constraints, formats, and valid ranges. Output schemas are not documented, LLMs cannot predict response structure. Error handling is absent from visible code. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Composition is reasonable (single responsibility per tool), but chaining support is weak, responses don't guarantee all IDs needed for downstream calls.
创建自定义主机名(默认使用 HTTP DV 证书)。Create a custom hostname (defaults to HTTP DV certificate).
创建 DNS 记录。Create a DNS record.
删除自定义主机名。Delete a custom hostname.
删除 DNS 记录。Delete a DNS record.
获取 Zone 的缓存配置(缓存级别、浏览器缓存 TTL 等)。Get cache settings for a zone (cache level, browser TTL, etc.).
获取 Zone 的 DNS 设置(基础架构配置)。Get DNS settings for a zone (infrastructure configuration).
Descriptions are too short and generic. 18 of 27 tools have descriptions under 30 characters (e.g., 'List all Zones', 'Get cache settings'). Short descriptions fail to explain WHEN to use the tool or what it returns.
Output schemas are not documented. The code shows response construction (e.g., in cf_handler_dns.py, create_dns_record returns a dict with id, type, name, content, proxied), but tool definitions do not declare the output schema. LLMs cannot predict response structure or plan downstream tool calls.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | 2026-07-28+ | v2 |
获取 Zone 的 DNSSEC 状态。Get DNSSEC status for a zone.
获取 Zone 的邮件路由设置。Get email routing settings for a zone.
获取 Zone 的安全配置(安全级别、WAF、挑战 TTL 等)。Get security settings for a zone (security level, WAF, challenge TTL, etc.).
获取 Zone 的性能优化配置(Brotli、HTTP/2、Rocket Loader 等)。Get speed optimization settings for a zone (Brotli, HTTP/2, Rocket Loader, etc.).
获取 Zone 的 SSL/TLS 通用设置。Get SSL/TLS universal settings for a zone.
获取指定 Worker 脚本的元数据(通过 httpx 调用脚本列表接口并过滤)。Get Worker script metadata via httpx (lists scripts and filters by name).
获取 Zone 最近 24 小时的流量分析(使用 Cloudflare GraphQL Analytics API)。Get zone traffic analytics for the last 24 hours via Cloudflare GraphQL Analytics API.
获取 Zone 的安全和性能配置。Get security and performance settings for a Zone.
列出账户下可用的 Workers AI 模型。List available Workers AI models for an account.
列出 Zone 的自定义主机名。List custom hostnames for a zone.
列出指定 Zone 的所有 DNS 记录。List all DNS records for a specific Zone.
列出 Zone 的邮件路由规则。List email routing rules for a zone.
列出 Zone 的防火墙访问规则。List firewall access rules for a zone.
列出 Zone 的 SSL 证书包。List SSL certificate packs for a zone.
列出 Zone 的 Worker 路由规则。List Worker routes for a zone.
列出账户下的所有 Workers 脚本。List all Workers scripts for an account.
列出 Cloudflare 账户下的所有 Zone(域名)。List all Zones (domains) in the Cloudflare account.
清除 Zone 缓存(全部、按 URL 或按 Cache-Tag)。Purge zone cache (everything, by URLs, or by cache tags).
调用 Workers AI 模型执行推理(对话格式)。Run inference on a Workers AI model (chat format).
更新自定义主机名的 SSL 设置。Update SSL settings for a custom hostname.
更新 DNS 记录内容。Update DNS record content.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. Tools are marked with Risk: READ_ONLY, WRITE, DESTRUCTIVE in metadata, but these are not exposed to the LLM via tool annotations. LLMs cannot reason about safety or retry semantics.
Parameter descriptions lack constraint details. E.g., 'ttl' is described as 'TTL 秒数,1 表示自动' but does not specify valid range (e.g., 1 - 86400). 'record_type' lacks enum values (A/AAAA/CNAME/MX/TXT/etc.). LLMs cannot validate inputs and will pass invalid values.
No error handling guidance in tool definitions. Code does not show error recovery hints (e.g., 'If zone not found, call list_zones first'). LLMs will not know how to recover from failures.