Add Cloudflare MCP server to Claude settings (flakes-pbel)
Cloudflare has an official hosted MCP server (Streamable HTTP, OAuth) at https://mcp.cloudflare.com/mcp covering Workers, R2, KV, D1, DNS, Workers AI and the rest of the platform. Add it declaratively next to the victoriametrics/victorialogs entries in mcpServers in packs/home/common/programs/claude/settings.nix:
cloudflare = {
type = "http";
url = "https://mcp.cloudflare.com/mcp";
};
Notes:
- Auth is OAuth through a browser on first connect. Fine on physical hosts; on headless containers it may need the existing mcp-oauth-bridge (packs/nixos/container/mcp-oauth-bridge.nix) or browser-login forwarding.
- Check whether Cloudflare’s per-product servers (docs, observability, bindings, …) are still offered and worth adding alongside the unified endpoint.
Todo
- Decide: unified endpoint only, or also per-product servers (unified only for now)
- Decide: all hosts/containers, or physical hosts only (OAuth constraint) — all (packs/home/common); containers sign in via the OAuth bridge + ssh forward (flakes-q3l5)
- Add entry to mcpServers in packs/home/common/programs/claude/settings.nix
- Activate home (mise run _activate-home) and complete the OAuth sign-in
- Verify the tools show up in a Claude Code session
Summary of Changes
Added cloudflare (https://mcp.cloudflare.com/mcp, HTTP) to programs.claude-code.mcpServers in packs/home/common/programs/claude/settings.nix, so every profile gets it. Signed in from yolo on 2026-10-22 via the x1 (ssh -L 3118:10.100.0.100:3118 to pc, then the OAuth bridge); claude mcp list shows it connected.