dsh-cloudflare-mcp
Run the following command in DeepSeek Harness:
dsh plugin install zhengjy01/dsh-cloudflare-mcp
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zhengjy01/dsh-cloudflare-mcp in DeepSeek Harness to install this plugin; the full source is available at https://github.com/zhengjy01/dsh-cloudflare-mcp .
About this plugin
DSH's built-in MCP client only supports static request headers, but the official Cloudflare MCP server (mcp.cloudflare.com) demands a full OAuth 2.0 flow—dynamic client registration, PKCE S256, loopback callback, and refresh-token grant—that a plain header approach simply cannot complete. This plugin implements the OAuth client on top of the official @modelcontextprotocol/sdk, so the connection is genuinely authenticated rather than a pasted token pretending to work.
Once authorized, every Cloudflare API tool—Accounts, Workers, Pages, DNS, R2, KV, D1, AI, and more—appears in your agent sessions as mcp__cloudflare__* with automatic token refresh on 401 and no manual intervention. You can authorize through the Web settings panel with a single click that opens Cloudflare's consent page, or right from the chat by having the agent kick off the OAuth flow and pasting the callback code back. Both paths follow the same underlying flow.
If you are a DSH user who regularly manages Cloudflare resources—deploying Workers, tweaking DNS records, checking R2 usage, or running AI inference—this plugin removes the friction of hand-crafting API requests and repeatedly refreshing tokens, turning your agent session into a genuine Cloudflare control panel.
Use Cases
- Managing Cloudflare Workers, DNS, R2, KV and other resources directly inside agent sessions
- Eliminating the tedium of hand-crafting HTTP requests and repeatedly refreshing tokens
- Completing OAuth authorization with one click in the Web panel instead of running external scripts
Best For
- Developers who manage Cloudflare resources daily with DSH
- Engineers who need full Cloudflare API tool access inside agent conversations
- Technical teams that prefer managing infrastructure through dialogue rather than CLI
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.