Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2.2 KiB
Cloudflare agent setup for Codex
This repository includes a secret-free helper for the official Cloudflare Codex setup. It registers these managed Streamable HTTP MCP servers:
cloudflare— full Cloudflare API through Code Modecloudflare-docs— current Cloudflare documentationcloudflare-bindings— Workers bindingscloudflare-builds— Workers build operationscloudflare-observability— Workers logs and analytics
The names and endpoints come from the Cloudflare Codex setup guide.
Run locally
Run the helper from the repository root in a normal local terminal:
./scripts/setup-cloudflare-codex.sh
The script adds only missing registrations. If an existing name points to a
different endpoint, it stops instead of replacing it. It then runs
codex mcp list and wrangler whoami. Wrangler logs are redirected to
${TMPDIR:-/tmp}/videogen-wrangler.log; set WRANGLER_LOG_PATH first if you
want another writable location.
For a read-only verification after setup:
./scripts/setup-cloudflare-codex.sh --verify-only
This repository helper does not install packages, deploy Cloudflare resources,
read .env, or copy credentials. It does modify the current user's Codex MCP
configuration when run without --verify-only, which is why it must be run
locally rather than from a restricted coding sandbox.
Skills and OAuth
Cloudflare's preferred Codex flow is to open /plugins inside Codex and install
the Cloudflare plugin. That supplies Cloudflare Skills and registers its MCP
servers. If the plugin or Skills are already installed, the helper above safely
fills in or verifies the five core MCP registrations without reinstalling
anything.
The first time Codex calls an account-backed Cloudflare MCP tool, complete the
browser OAuth flow and choose the narrowest permissions needed. Wrangler uses
its separate OAuth session; wrangler whoami verifies the login without
deploying anything.
Inside the Codex TUI, /mcp shows connection and authentication status. If a
server cannot authenticate, Cloudflare's troubleshooting guidance is to remove
and re-add that server and complete OAuth again; review its current entry first:
codex mcp get cloudflare