Pi Cloudflare
БесплатноПоддерживаетсяCloudflare Agent Plugin and native Pi extension providing official skills and cf_-prefixed MCP tools.
Описание
Cloudflare Agent Plugin and native Pi extension providing official skills and cf_-prefixed MCP tools.
README
One package for Cloudflare-driven agent work: skills only. The tools live in Cloudflare's cf CLI — this package ships the knowledge that directs agents to use it well.
- 13 skills vendored from the official
cloudflare/skills library:
agents-sdk,cloudflare,cloudflare-email-service,cloudflare-one,cloudflare-one-migrations,durable-objects,nextjs-on-cloudflare,sandbox-migrate-to-next,sandbox-next,sandbox-stable,turnstile-spin,workers-best-practices,wrangler. Refresh withscripts/sync-skills.sh. - 5 authored, cf-first skills born from running a 16-zone Free-plan
estate through the cf CLI:
- cloudflare-cf-cli — install, auth,
intent search, and the deploy chain (
cf-wrangler build→cf deploy --prebuilt), with the traps that otherwise cost hours (stale Build Output uploads, runner detection, module rules). - cloudflare-hardening — the Free-plan hardening baseline plus a read-only estate audit script.
- cloudflare-token-scopes — change scopes on an existing API token in place.
- cloudflare-token-roll — roll a leaked token without breaking every consumer at once.
- cloudflare-api-token — build the estate token's 141-group scope from the exact permission-group catalog.
- cloudflare-cf-cli — install, auth,
intent search, and the deploy chain (
(web-perf is intentionally not vendored: keep a local customized copy
instead, since the upstream version would clobber environment-specific rules.)
Distributed both as a native Pi package and an Agent Plugins 1.0 package. Skills register on the next session start after install; no network, browser, or token is needed to install.
Install
Pi
pi install npm:pi-cloudflare
Agent Plugins 1.0
The published npm package is also a self-contained Agent Plugin. Its root
plugin.json discovers skills/. Agent Plugins deliberately leaves
installation sources to each client — unpack the npm package using the
client-specific plugin flow, with the package root as PLUGIN_ROOT. A raw
Git checkout works directly (there is nothing to build).
Tools: the cf CLI
All Cloudflare operations go through the cf CLI — the full API as typed
commands (~3,000 operations), JSON output by default, and intent-based
command discovery:
bun add -g cf # or: npm i -g cf (open beta, node >= 22)
cf cli search "purge cache for a zone" # intent -> command
cf zones list # JSON out
Authenticate from the environment — no OAuth login exists or is needed:
export CLOUDFLARE_API_TOKEN=... # scope guidance in docs/api-token.md
cf auth whoami
| Task | Use |
|---|---|
| Full API as typed commands, JSON out | cf CLI (cf zones list, cf d1 ...) |
| Finding the right API operation | cf cli search "<intent>" |
| Workers deploys and previews | cf deploy --prebuilt, cf previews deploy |
| KV/R2/D1 CLIs, scripting | cf |
| Workers primitives guidance | workers-best-practices / durable-objects skills |
| Cloudflare product docs | developers.cloudflare.com |
wrangler remains a per-project devDependency only as the dev-server
implementation that cf dev/cf build/cf deploy delegate to, and for
wrangler dev/wrangler types during local development. Never invoke it as
the deploy interface. See skills/cloudflare-cf-cli/SKILL.md.
Migrating from 0.10.x and earlier
Earlier releases proxied the five official Cloudflare MCP servers
(cf_api_*, cf_docs_*, cf_bindings_*, cf_builds_*, cf_obs_*). Those
are removed: the cf CLI covers the API, builds, and observability
surfaces with better ergonomics for agents, and docs/primitives knowledge
moved to the vendored skills. Re-run pi install npm:pi-cloudflare (or
update the plugin) and start the next session; optionally revoke the old
browser OAuth grants for the Cloudflare MCP issuers, which are no longer
used. Stored OAuth tokens under ~/.pi/cloudflare-tokens.json are no longer
read and can be deleted.
Development
npm install
npm test # validates the skills library (frontmatter, naming)
npm run format:check # oxfmt
bash scripts/sync-skills.sh # refresh vendored skills from cloudflare/skills
Установить Pi Cloudflare в Claude Desktop, Claude Code, Cursor
unyly install pi-cloudflareСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add pi-cloudflare --env CLOUDFLARE_API_TOKEN="" -- npx -y pi-cloudflareПошаговые гайды: как установить Pi Cloudflare
FAQ
Pi Cloudflare MCP бесплатный?
Да, Pi Cloudflare MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Pi Cloudflare?
Да, требуются переменные окружения: CLOUDFLARE_API_TOKEN. Unyly подставит их в конфиг при установке.
Pi Cloudflare — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Pi Cloudflare в Claude Desktop, Claude Code или Cursor?
Открой Pi Cloudflare на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Изменились запрашиваемые доступы+ CLOUDFLARE_API_TOKEN
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Pi Cloudflare with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
