Claudius
Status

docusaurus-plugin-mcp-server

MCP

Docusaurus plugin that exposes an MCP server endpoint for AI agents to search and retrieve documentation.

by scalvert·scalvert/docusaurus-plugin-mcp-server·TypeScript·v1.0.0
85· A
Install
npx -y docusaurus-plugin-mcp-server
Stars
30
7d change
Downloads / week
7,385
Last active
2 days ago
About

A Docusaurus plugin that exposes an MCP (Model Context Protocol) server endpoint, allowing AI agents like Claude, Cursor, and other MCP-compatible tools to search and retrieve your documentation.

The MCP server runs on any web-standard serverless or edge runtime — Cloudflare Workers, modern Netlify functions, Vercel Edge, Deno, Bun. Import the build artifacts and pass them to `createWebRequestHandler`, which returns a standard `(request: Request) => Promise `. (These runtimes can't read the filesystem, so the data is imported as modules rather than loaded from disk.)

The `export default { fetch }` form works on Cloudflare Workers, Deno, and Bun. Other runtimes use their own entry convention (e.g. modern Netlify functions `export default async (request) => Response`) — the handler is identical, only the export wrapper differs.

The handler is unauthenticated and allows all origins (`Access-Control-Allow-Origin: *`) by default, since a docs MCP endpoint is meant to be public — pass `corsOrigin` to restrict it.

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
6 months
documentationsearch#docusaurus#documentation#search#ai-agents