Cloudflare MCP Toolbox

Utility tools for AI agents - date/time, math, text processing, validation, KV storage, and Workers AI

Server Online

📡 MCP Endpoint

POST /mcp HTTP Streamable (JSON-RPC 2.0)

🔧 MCP Client Configuration

BetterChat

Add to "My MCP Servers" in settings:

{
  "url": "https://cloudflare-mcp-toolbox.webfonts.workers.dev/mcp",
  "headers": {
    "Authorization": "Bearer your-auth-token-here"
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cloudflare-toolbox": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://cloudflare-mcp-toolbox.webfonts.workers.dev/mcp"],
      "env": {
        "MCP_REMOTE_HEADERS": "{\"Authorization\":\"Bearer your-token\"}"
      }
    }
  }
}

MCP Inspector (Testing)

Test with MCP Inspector:

npx @modelcontextprotocol/inspector \
  https://cloudflare-mcp-toolbox.webfonts.workers.dev/mcp \
  -H "Authorization: Bearer your-token"

⚠️ Deploy Your Own
This is a public demo. For production use, deploy your own instance with the button below and generate your own AUTH_TOKEN.

🛠️ Tool Categories30 tools

📅 Date/Time (5)

get_current_datetime, convert_timezone, calculate_duration, format_date, parse_date

🔢 Math (6)

calculate, convert_units, statistics, random_number, percentage, roll_dice

✏️ Text (6)

transform_text, encode_decode, extract_patterns, hash_text, count_words, truncate_text

✅ Validation (6)

validate_email, validate_url, validate_phone, validate_json, sanitize_html, validate_schema

💾 KV Storage (4)

kv_get, kv_set, kv_delete, kv_list

🤖 Workers AI (3)

ai_chat, ai_classify, ai_embed

💡 Example Tool Calls

Roll Dice

roll_dice({ notation: "2d6+5" })
→ { rolls: [3, 5], sum: 8, total: 13 }

Parse Natural Language Date

parse_date({ expression: "next Friday at 3pm" })
→ "2025-11-08T15:00:00+11:00"

Calculate Expression

calculate({ expression: "2 + 2 * 3" })
→ "8"

AI Sentiment Analysis

ai_classify({ text: "This is amazing!" })
→ { classification: "POSITIVE", score: 0.9987 }

📚 Key Features

🚀 Deploy Your Own

Deploy your own instance to Cloudflare Workers (free tier available):

Deploy to Cloudflare Workers →

After deployment, generate your own AUTH_TOKEN:
node -e "console.log(require('crypto').randomBytes(32).toString('base64url'))"

📚 Documentation & Source