Check Cloudflare Configuration
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
read - Catalog version:
2026.07.12.1 - Descriptor hash:
acdfa8f449d1373291a9d7efe90434a7f9ae72acdbd1752357ae68ed708fb9a0
Use this to verify that the Cloudflare MCP Portal gate and provider credential routing are configured without returning credential values. Set verify_cloudflare_token=true only when a live, read-only Cloudflare token check is needed. The default performs no provider request and changes no state.
Request Body
{
"jsonrpc": "2.0",
"id": "cloudflare-check-configuration-example",
"method": "tools/call",
"params": {
"name": "cloudflare.check_configuration",
"arguments": {
"verify_cloudflare_token": false
}
}
}
Arguments Schema
{
"type": "object",
"properties": {
"verify_cloudflare_token": {
"type": "boolean",
"default": false,
"description": "When true, make a read-only Cloudflare token verification request; when false, inspect only secret-safe local and broker readiness."
}
},
"description": "Cloudflare configuration check options.",
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"service",
"setup_status",
"missing",
"portal_grant_valid"
],
"properties": {
"missing": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of missing configuration fields; never credential values."
},
"service": {
"type": "string",
"description": "Cloudflare MCP service identity."
},
"setup_status": {
"type": "string",
"description": "Whether required Portal and provider configuration is ready."
},
"portal_grant_valid": {
"type": "boolean",
"description": "Whether the request passed the Portal grant gate."
},
"cloudflare_token_verification": {
"anyOf": [
{
"type": "object",
"description": "Secret-safe result of optional Cloudflare token verification.",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Secret-safe result of optional Cloudflare token verification."
}
},
"description": "Secret-safe Cloudflare MCP configuration status.",
"additionalProperties": true
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "cloudflare-check-configuration-example",
"method": "tools/call",
"params": {
"name": "cloudflare.check_configuration",
"arguments": {
"verify_cloudflare_token": false
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "cloudflare-check-configuration-example",
"method": "tools/call",
"params": {
"name": "cloudflare.check_configuration",
"arguments": {
"verify_cloudflare_token": false
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "cloudflare-check-configuration-example",
"method": "tools/call",
"params": {
"name": "cloudflare.check_configuration",
"arguments": {
"verify_cloudflare_token": false
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool cloudflare.check_configuration executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}