{"uid":"cap_EvnBspmJhv1Jp5NWaDxgR","slug":"codex-everygoodwork-io-d649b823","name":"Cloudflare API Compressed Reference (Code Mode, 2500 endpoints → 1000 tokens)","description":"Cloudflare's Code Mode turns 2,500 API endpoints into 1,000 tokens. The protocol designed to unlock capabilities had to be architecturally circumvented. Code Mode is a standard, auth, tool discovery pattern within MCP.","url":"https://codex.everygoodwork.io/0x1C1Ee78b938Af5333D3a99BF659e9aa771d8A8D5/code-mode-cloudflare-compressed-2500-api-endpoints-1000-tokens","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"text/markdown; charset=utf-8"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EV0Baoc9aGFwIHZm4QrE7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a compressed, token-efficient markdown reference of ~2,500 Cloudflare API endpoints condensed to ~1,000 tokens for use in MCP Code Mode tool discovery","exampleAgentPrompt":"Give me the full compressed Cloudflare API reference — the one that fits 2,500 endpoints into about 1,000 tokens — so I can load it into my MCP Code Mode session for tool discovery.","exampleUseCases":[{"title":"Bootstrap Cloudflare agent tool discovery","prompt":"I'm setting up an AI agent to manage our Cloudflare account and I need it to know what APIs are available without burning through its context window — can you load the compressed Cloudflare API reference so it can figure out which tools to call?"},{"title":"Audit Cloudflare services in tight context","prompt":"I'm in an MCP Code Mode session with a really tight token budget and need to know what Cloudflare APIs exist across DNS, Workers, R2, and security — grab me the token-efficient endpoint reference so I don't blow out my context."},{"title":"Onboard LLM to Cloudflare capabilities","prompt":"Before my coding assistant starts writing Cloudflare automation scripts, I want it to have a broad map of everything Cloudflare can do via API — pull in that compressed 1,000-token reference so it can plan which endpoints to use."}],"resultDescription":"A markdown document containing a token-efficient (~1,000 token) compressed summary of approximately 2,500 Cloudflare API endpoints, structured for use in MCP Code Mode for standard auth and tool discovery patterns within an AI agent workflow.","failureModes":["HTTP 402 if x402 payment of 0.001 USDC is not included or fails","Empty or partial response if the codex content is unavailable","Non-markdown response format if Accept header is misconfigured","Stale API reference if Cloudflare has updated its API surface since last indexing"],"whenToPreferThis":"Choose this endpoint when you need to give an AI agent or LLM a broad overview of Cloudflare's API surface without exhausting the context window. Ideal for MCP Code Mode sessions where token budget is tight and you need tool discovery across all Cloudflare services. Prefer this over raw Cloudflare documentation when operating under LLM token constraints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:45:59.253Z","isFirstParty":false}