$ timeahead.in
/ servers/npm/docusaurus-plugin-mcp-server
npm

docusaurus-plugin-mcp-server

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

29 stars9k/wkupdated 1d agogithub ↗
52poor
▣ Overview
npm versionLicenseCI Build

What it does

Docusaurus-plugin-mcp-server transforms a Docusaurus documentation site into an MCP-compatible server, enabling AI agents like Claude and Cursor to search and retrieve documentation programmatically. The plugin generates searchable documentation during the build process and exposes two tools—docs_search (for finding relevant pages with relevance scoring) and docs_fetch (for retrieving full page content as markdown). Setup requires deploying an MCP endpoint using platform-specific handlers (Vercel, Netlify, or Cloudflare Workers), then connecting the endpoint to your AI tool via its MCP configuration.

Who it's for

Documentation maintainers using Docusaurus who want their API and library docs accessible via Claude Code and Cursor. Teams using AI agents as development tools and needing to automatically ground responses in your official documentation.

Common use cases

  • Search and fetch documentation from Claude Code while writing or debugging code
  • Enable AI agents to ground responses in your API or library documentation without copy-paste
  • Provide documentation context for code generation, reviews, and troubleshooting
  • Expose internal docs to AI tools for on-demand retrieval during development workflows

Setup pitfalls

  • Build and deployment platform coupling: each platform (Vercel, Netlify, Cloudflare Workers) requires different handler code and configuration; Cloudflare Workers cannot access the filesystem and must import docs directly
  • Secrets detected (5 found): audit docusaurus.config.js, environment variables, and deployment credentials before sharing configurations
  • Missing build artifacts: docs.json and search-index.json are generated during build and must be deployed alongside your handler code
  • Base URL misconfiguration: incorrect baseUrl in handler setup will break doc links and search result URLs returned to the agent
5 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
62
12.4
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
52.4
⚿ Capabilities & Risk Explainer
fs readfs writenetworksecrets
◆ Risk level: medium
fs read + fs write + network + secrets — requires access to credentials or environment secrets.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "docusaurus-plugin": {
      "command": "npx",
      "args": [
        "-y",
        "docusaurus-plugin-mcp-server"
      ]
    }
  }
}
📈 Score historylast 48 snapshots
4/30/20267/6/2026 · 48 snapshots
⚙ Maintenance health
68/ 100 · is this project alive?
contributors (1y)6
top contributor share64%
releases (1y)12
last release9d ago
ci✓ passing
⛁ Raw data
weekly downloads9k
github stars29
forks6
open issues5
license✓ present
readme length15642 chars
last publish5d ago
last commit1d ago
last updated21h ago
install verified✗ fail · 52d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points