From cloudflare-extended
Walk the user through setting up Cloudflare credentials and persist them to `~/.mcp.json` so the MCP server can authenticate on every Claude Code launch.
npx claudepluginhub pzharyuk/ai-claude-plugins --plugin cloudflare-extendedThis skill uses the workspace's default tool permissions.
Walk the user through setting up Cloudflare credentials and persist them to `~/.mcp.json` so the MCP server can authenticate on every Claude Code launch.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Walk the user through setting up Cloudflare credentials and persist them to ~/.mcp.json so the MCP server can authenticate on every Claude Code launch.
Say: "Please paste your Cloudflare API Token. You can create one at https://dash.cloudflare.com/profile/api-tokens with these permissions: Zone DNS (Edit), Zone (Read), Cache Purge (Purge), Cloudflare Tunnel (Edit), Account Settings (Read)."
Store the value as CLOUDFLARE_API_TOKEN.
Say: "Now please paste your Cloudflare Account ID. You can find it on the right sidebar of your Cloudflare dashboard homepage."
Store the value as CLOUDFLARE_ACCOUNT_ID.
Use Python to read ~/.mcp.json (create it if missing), set the env vars under the cloudflare-extended server, and write it back:
import json, os
path = os.path.expanduser("~/.mcp.json")
config = {}
if os.path.exists(path):
with open(path) as f:
config = json.load(f)
config.setdefault("mcpServers", {}).setdefault("cloudflare-extended", {}).setdefault("env", {}).update({
"CLOUDFLARE_API_TOKEN": "<value from step 1>",
"CLOUDFLARE_ACCOUNT_ID": "<value from step 2>"
})
with open(path, "w") as f:
json.dump(config, f, indent=2)
print("Saved.")
Say: "Cloudflare credentials saved to ~/.mcp.json. Run /reload-plugins to apply them."
~/.mcp.json is missing, create it with the full structure.