Built from your rendered pages
At build time the plugin reads the HTML Docusaurus produced, so MDX and React component output are indexed exactly as readers see them.
Search and fetch tools
Agents get docs_search (BM25 ranking, no external service) and docs_fetch (any page as clean Markdown with a table of contents).
Runs on any serverless runtime
One web-standard handler for Vercel, Netlify, Cloudflare Workers, Deno, and Bun, plus a Node adapter for Express and local development.
MCP 2026-07-28 and earlier
Stateless modern protocol, with clients on 2025-era revisions served from the same endpoint.
Agent Skills included
Ships a docs-research skill generated from your site, and serves your own skills over the MCP skills extension.
Install button for readers
A navbar dropdown with ready-to-copy configs for Claude, Cursor, VS Code, and other MCP clients.
Add it to your site
Install the plugin, add it to your config, and serve the bundle it builds at /mcp.
npm install docusaurus-plugin-mcp-server
export default {
url: 'https://docs.example.com',
plugins: [['docusaurus-plugin-mcp-server', { server: { name: 'my-docs' } }]],
};
import { createWebRequestHandler } from 'docusaurus-plugin-mcp-server/adapters';
import bundle from '../build/mcp/bundle.json' with { type: 'json' };
export default {
fetch: createWebRequestHandler({ artifacts: bundle }),
};
Getting started walks through it, and the deploy guides cover Vercel, Netlify, Cloudflare Workers, Deno, Bun, Node.js, and static hosts.
Try it on these docs
This site is built with the plugin. Connect your agent to its endpoint and ask it how to set the plugin up.
claude mcp add --transport http docusaurus-plugin-mcp-server \
https://docusaurus-plugin-mcp-server.vercel.app/mcp
For Cursor, VS Code, Codex, and other clients, use the Install MCP button in the navbar.