Cloudflare MCP by usefulapi
Read zones, DNS, Workers, storage and audit logs; change DNS records and purge cache in Cloudflare.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWcloudflare_list_account_members에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"cloudflare": {
"url": "https://cloudflare.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://cloudflare.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (20)
🟢cloudflare_verify_token
Check that the configured API token is active and show its id and status. Cheap first call to confirm the connection. Cloudflare API: GET /user/tokens/verify.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_accounts(name, page, per_page)
List the Cloudflare accounts this token can access, with their ids and names. Use the id as account_id in the account tools. Cloudflare API: GET /accounts.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Filter accounts by name.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_account_members(account_id, status, page, per_page)
List the members of an account with their status and roles. Cloudflare API: GET /accounts/{account_id}/members.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"status": {
"description": "Filter by membership status.",
"type": "string",
"enum": [
"accepted",
"pending",
"rejected"
]
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_audit_logs(account_id, since, before, action_type, actor_email, ...)
List account audit log entries (who changed what and when), filterable by time range, action type and actor email. Cloudflare API: GET /accounts/{account_id}/audit_logs.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"since": {
"description": "Start time, RFC 3339 (e.g. 2026-11-01T00:00:00Z).",
"type": "string"
},
"before": {
"description": "End time, RFC 3339.",
"type": "string"
},
"action_type": {
"description": "Filter by action type (e.g. create, delete, update).",
"type": "string"
},
"actor_email": {
"description": "Filter by actor email address.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_zones(name, status, account_id, page, per_page)
List DNS zones (domains) in the token's accounts, with status, plan and name servers. Use the id as zone_id in the zone tools. Cloudflare API: GET /zones.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Filter by domain name, e.g. example.com.",
"type": "string"
},
"status": {
"description": "Filter by zone status.",
"type": "string",
"enum": [
"active",
"pending",
"initializing",
"moved"
]
},
"account_id": {
"description": "Only zones in this account id.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_get_zone(zone_id)
Get one zone with its status, plan, name servers and activation state. Cloudflare API: GET /zones/{zone_id}.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
}
},
"required": [
"zone_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_dns_records(zone_id, type, name, content, page, ...)
List DNS records of a zone, filterable by type and name. Each record has its id, type, name, content, TTL and proxy state. Cloudflare API: GET /zones/{zone_id}/dns_records.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"TXT",
"NS",
"SRV",
"CAA",
"PTR"
],
"description": "DNS record type."
},
"name": {
"description": "Exact record name, e.g. www.example.com.",
"type": "string"
},
"content": {
"description": "Exact record content (for example an IP address).",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"zone_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_get_dns_record(zone_id, dns_record_id)
Get one DNS record by id, with its type, name, content, TTL, proxy state and comment. Cloudflare API: GET /zones/{zone_id}/dns_records/{dns_record_id}.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
},
"dns_record_id": {
"type": "string",
"minLength": 1,
"description": "The DNS record id (from cloudflare_list_dns_records)."
}
},
"required": [
"zone_id",
"dns_record_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_workers(account_id)
List the Worker scripts deployed in an account, with their names and last-modified times. Cloudflare API: GET /accounts/{account_id}/workers/scripts.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_kv_namespaces(account_id, page, per_page)
List Workers KV namespaces in an account, with their ids and titles. Cloudflare API: GET /accounts/{account_id}/storage/kv/namespaces.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_kv_keys(account_id, namespace_id, prefix, limit, cursor)
List key names in a Workers KV namespace (names only, not values). Use cursor from the result for the next page. Cloudflare API: GET /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/keys.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"namespace_id": {
"type": "string",
"minLength": 1,
"description": "The KV namespace id (from cloudflare_list_kv_namespaces)."
},
"prefix": {
"description": "Only keys that start with this prefix.",
"type": "string"
},
"limit": {
"description": "Keys per page (max 1000).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
},
"cursor": {
"description": "Cursor from the previous page.",
"type": "string"
}
},
"required": [
"account_id",
"namespace_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_d1_databases(account_id, name, page, per_page)
List D1 SQL databases in an account, with their ids, names and regions. Cloudflare API: GET /accounts/{account_id}/d1/database.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"name": {
"description": "Filter by database name.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_r2_buckets(account_id, name_contains, per_page, cursor)
List R2 object storage buckets in an account, with names, locations and creation times. Cloudflare API: GET /accounts/{account_id}/r2/buckets.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"name_contains": {
"description": "Only buckets whose name contains this text.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"cursor": {
"description": "Cursor from the previous page.",
"type": "string"
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_pages_projects(account_id, page, per_page)
List Cloudflare Pages projects in an account, with their latest deployment and domains. Cloudflare API: GET /accounts/{account_id}/pages/projects.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_tunnels(account_id, name, page, per_page)
List Cloudflare Tunnels (cloudflared) in an account, with their status and connection state. Cloudflare API: GET /accounts/{account_id}/cfd_tunnel.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"name": {
"description": "Filter by tunnel name.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_access_apps(account_id, name, domain, page, per_page)
List Cloudflare Access applications (Zero Trust protected apps) in an account, with their domains and session settings. Cloudflare API: GET /accounts/{account_id}/access/apps.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"name": {
"description": "Filter by application name.",
"type": "string"
},
"domain": {
"description": "Filter by application domain.",
"type": "string"
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cloudflare_list_queues(account_id, page, per_page)
List Cloudflare Queues in an account, with their ids, names and creation times. Cloudflare API: GET /accounts/{account_id}/queues.
입력 스키마
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"minLength": 1,
"description": "The account id (from cloudflare_list_accounts)."
},
"page": {
"description": "Page number for pagination (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"account_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cloudflare_create_dns_record(zone_id, type, name, content, ttl, ...)
Create a DNS record in a zone. This changes live DNS: the new record takes effect for visitors after the TTL. Cloudflare API: POST /zones/{zone_id}/dns_records.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"TXT",
"NS",
"SRV",
"CAA",
"PTR"
],
"description": "DNS record type."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Record name, e.g. www or www.example.com."
},
"content": {
"type": "string",
"minLength": 1,
"description": "Record value, e.g. an IP address or a hostname."
},
"ttl": {
"description": "TTL in seconds; 1 means automatic (default).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"proxied": {
"description": "Route traffic through Cloudflare (A, AAAA, CNAME only).",
"type": "boolean"
},
"priority": {
"description": "Priority (MX and SRV records only).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"comment": {
"description": "Short note stored with the record.",
"type": "string",
"maxLength": 100
}
},
"required": [
"zone_id",
"type",
"name",
"content"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cloudflare_update_dns_record(zone_id, dns_record_id, type, name, content, ...)
Change fields of an existing DNS record (for example its content, TTL or proxy state). This changes live DNS. Only the fields you pass change. Cloudflare API: PATCH /zones/{zone_id}/dns_records/{dns_record_id}.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
},
"dns_record_id": {
"type": "string",
"minLength": 1,
"description": "The DNS record id (from cloudflare_list_dns_records)."
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"TXT",
"NS",
"SRV",
"CAA",
"PTR"
],
"description": "DNS record type."
},
"name": {
"description": "New record name.",
"type": "string",
"minLength": 1
},
"content": {
"description": "New record value.",
"type": "string",
"minLength": 1
},
"ttl": {
"description": "New TTL in seconds; 1 means automatic.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"proxied": {
"description": "New proxy state (A, AAAA, CNAME only).",
"type": "boolean"
},
"comment": {
"description": "New note stored with the record.",
"type": "string",
"maxLength": 100
}
},
"required": [
"zone_id",
"dns_record_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cloudflare_purge_cache(zone_id, purge_everything, files)
Remove cached files from Cloudflare's edge for a zone: all files, or only the listed URLs. Visitors then fetch fresh content from the origin. Cloudflare API: POST /zones/{zone_id}/purge_cache.
입력 스키마
{
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"minLength": 1,
"description": "The zone id (from cloudflare_list_zones)."
},
"purge_everything": {
"description": "true = purge the whole zone cache. Use with care.",
"type": "boolean"
},
"files": {
"description": "Up to 30 full URLs to purge.",
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
}
},
"required": [
"zone_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거