deploy-docusaurus-mcp-cloudflare

deploy-docusaurus-mcp-cloudflare is a skill for Claude Code, Codex from scalvert/docusaurus-plugin-mcp-server. It costs 63 tokens per session (1,810 once invoked), scanned A, original, MIT.

A deployment guide for publishing a Docusaurus documentation site and its MCP endpoint on Cloudflare Workers. Docusaurus is a tool for building documentation websites, and an MCP endpoint lets compatible AI tools access the site's documentation service.

In plain words
What is it for?
Use it when a Docusaurus site's documentation MCP server needs to be hosted on Cloudflare Workers at /mcp.
Why use it?
It provides the platform-specific steps and checks needed to host both the static site and its documentation endpoint. This avoids guessing how to connect the built documentation bundle to Cloudflare.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a Docusaurus site's documentation MCP server needs to be hosted on Cloudflare Workers at /mcp.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add scalvert/docusaurus-plugin-mcp-server --skill deploy-docusaurus-mcp-cloudflare
Clone the repo
git clone --depth 1 https://github.com/scalvert/docusaurus-plugin-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deploy-docusaurus-mcp-cloudflare

README.md
[![agentmods](https://agentmods.dev/badge/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare/github.svg)](https://agentmods.dev/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare)
Your own site
<a href="https://agentmods.dev/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare"><img src="https://agentmods.dev/badge/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deploy-docusaurus-mcp-cloudflare

Your own site · 80×15
<a href="https://agentmods.dev/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare"><img src="https://agentmods.dev/badge/skills/scalvert/docusaurus-plugin-mcp-server/deploy-docusaurus-mcp-cloudflare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01810
Opus 5.5 $0.00025 $0.00724
Sonnet 5.5 $0.00013 $0.00362
Haiku 4.5 $0.00006 $0.00181

Measured 27d ago against content hash 3ff136b03858, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy-docusaurus-mcp-cloudflare scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl https://<your-domain>/mcp` returns the status JSON with `"initialized": true`, a `docCount` above 0, and `baseUrl` on your production domain.
skills/guides/deploy-docusaurus-mcp-cloudflare/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deploy to Cloudflare Workers

Done when

curl https://<your-domain>/mcp returns the status JSON with "initialized": true, a docCount above 0, and baseUrl on your production domain.

Before you start

  • The plugin is set up: npm run build writes build/mcp/bundle.json. If not, follow Getting started first.
  • A Cloudflare account.

How to use this guide

  • Do the steps in order. Run them yourself, or walk the user through them one at a time if they'd rather do it themselves or you can't run them.
  • After each step, run its check. Don't move on until it passes.
  • If a check fails, look for the matching symptom under Troubleshooting. If none matches, stop and tell the user what you saw.
  • A step marked Needs the user needs a person. Tell the user what to do and wait for them to confirm it's done.
  • Ask the user before running a step marked Confirm first.
  • Don't ask the user to paste passwords, tokens, or keys into the chat. When a step needs one, tell the user where to put it.

Steps

1. Add the Worker {#worker}

worker.js

import { createWebRequestHandler } from 'docusaurus-plugin-mcp-server/adapters';
import bundle from './build/mcp/bundle.json' with { type: 'json' };

const mcp = createWebRequestHandler({ artifacts: bundle });

export default {
  fetch(request, env) {
    if (new URL(request.url).pathname === '/mcp') {
      return mcp(request);
    }
    return env.ASSETS.fetch(request);
  },
};

The env.ASSETS.fetch fallback only runs if you add more paths to run_worker_first. The adapter entry point imports no Node.js built-ins, so you don't need the nodejs_compat flag.

Check: worker.js is next to docusaurus.config.js and imports ./build/mcp/bundle.json.

If the check fails: see Troubleshooting.

2. Add wrangler.jsonc {#wrangler}

wrangler.jsonc

{
  "name": "my-docs",
  "main": "worker.js",
  "compatibility_date": "2026-10-01",
  "assets": {
    "directory": "./build",
    "binding": "ASSETS",
    "not_found_handling": "404-page",
    "run_worker_first": ["/mcp"]
  }
}

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago First seen · 150 lines · 63 tokens per session scan A 3ff136b03858

Subscribe to this mod's changes

deploy-docusaurus-mcp-cloudflare is a skill published in the GitHub repository scalvert/docusaurus-plugin-mcp-server (35 stars, last pushed 5d ago), licensed MIT. It adds 63 tokens to every session and 1,810 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.

Related

deploy-docusaurus-mcp-cloudflare compared with skills from other repositories

deploy-docusaurus-mcp-cloudflare next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploy-docusaurus-mcp-cloudflarescalvert/docusaurus-plugin-mcp-serverSkill355d agoMITA63Claude Code, Codex
ondbx-cmd/x-cmdSkill4.7k7d agoApache-2.0A71Claude Code, Codex
x-dfx-cmd/x-cmdSkill4.7k7d agoApache-2.0A56Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.7k7d agoApache-2.0A69Claude Code, Codex
x-arpx-cmd/x-cmdSkill4.7k7d agoApache-2.0A64Claude Code, Codex
x-lastx-cmd/x-cmdSkill4.7k7d agoApache-2.0A60Claude Code, Codex
x-psx-cmd/x-cmdSkill4.7k7d agoApache-2.0A67Claude Code, Codex