Docmd MCP Server

by docmd-io• 2.5k•• Scanned•Claim this listing•Request removal
Content & Writingai skillsapicontext apidockerdocmd

Documentation compiler for humans and machines. One Markdown source to website, search, AI context, and knowledge formats together.

Docmd is an open-source mcp server by docmd-io, written mainly in TypeScript, with 2,546 GitHub stars and the MIT license. Its code was last updated Oct 31, 2026. The latest npm release is @docmd/core 0.10.0, published Nov 13, 2026, with 29,039 downloads last week.

<div align="right"> <sup> <b>EN</b> &nbsp;|&nbsp; <a href="./README.de.md">DE</a> &nbsp;|&nbsp; <a href="./README.zh.md">中文</a> &nbsp;|&nbsp; <a href="./README.es.md">ES</a> &nbsp;|&nbsp; <a href="./README.ja.md">日本語</a> &nbsp;|&nbsp; <a href="./README.fr.md">FR</a> &nbsp;|&nbsp; <a href="./README.ru.md">RU</a> &nbsp;|&nbsp; <a href="./README.tr.md">TR</a> </sup> </div> <div align="center"> <a href="https://docmd.io"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" /> <source media="(prefers-color-scheme: light)" srcset="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" /> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo-dark.png?raw=true" alt="docmd" width="210" /> </picture> </a> <br/> <p> <b>Documentation for humans and machines.</b><br/> One Markdown source → website, search, AI context, agents, and knowledge formats. </p> <p> <a href="https://www.npmjs.com/package/@docmd/core"><img src="https://img.shields.io/npm/v/@docmd/core.svg?style=flat-square&color=CB3837" alt="npm version"></a> <a href="https://www.npmjs.com/package/@docmd/core?activeTab=versions"><img src="https://img.shields.io/npm/dm/@docmd/core.svg?style=flat-square&color=38bd24" alt="monthly downloads"></a> <a href="https://github.com/docmd-io/docmd"><img src="https://img.shields.io/github/stars/docmd-io/docmd?style=flat-square&logo=github" alt="GitHub stars"></a> <a href="https://github.com/docmd-io/docmd/blob/main/LICENSE"><img src="https://img.shields.io/github/license/docmd-io/docmd.svg?style=flat-square&color=A31F34" alt="license"></a> </p> <h4> <a href="https://docmd.io">Website</a> &nbsp;·&nbsp; <a href="https://docs.docmd.io">Documentation</a> &nbsp;·&nbsp; <a href="https://cloud.docmd.io">Cloud Relay</a> &nbsp;·&nbsp; <a href="https://live.docmd.io">Live Editor</a> &nbsp;·&nbsp; <a href="https://github.com/docmd-io/docmd-skills">Agent Skills</a> &nbsp;·&nbsp; <a href="https://github.com/docmd-io/docmd/issues">Issues</a> </h4> <br/> <a href="https://docmd.io"> <img width="820" alt="docmd documentation — light and dark mode preview" src="https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-cover.webp" /> </a> </div>

Quick Start

Point docmd at a folder of Markdown files:

npx @docmd/core dev

Open http://127.0.0.1:3000.

That's it. Navigation is generated from your file structure. No config file, frontmatter, or framework required.

When you're ready to deploy:

npx @docmd/core build

docmd generates a static site that can be deployed to Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, Caddy, or any other static host.

Requires Node.js 20+.

<details> <summary><b>Global installation and Docker</b></summary> <br/>

Install globally:

npm install -g @docmd/core

# or
pnpm add -g @docmd/core

Then:

docmd dev
docmd build

Or run with Docker:

docker run -p 3000:3000 ghcr.io/docmd-io/docmd:latest

Pin the Docker image to a specific release for reproducible production builds.

</details>

One Source. Every Output.

docmd is an open source documentation compiler.

Instead of treating your Markdown as input for a website alone, docmd compiles the same source into outputs for readers, search engines, LLMs, coding agents, and knowledge systems.

Markdown
   │
   ▼
 docmd
   │
   ├── → Static documentation site
   ├── → Offline search index
   ├── → llms.txt / llms-full.txt
   ├── → Open Knowledge Format (OKF)
   ├── → Sitemap + SEO metadata
   ├── → robots.txt + Open Graph
   ├── → MCP interface for AI agents
   └── → AI Assistant context

One source tree. One build pipeline. No separate documentation and AI knowledge stacks to maintain.

Why docmd?

Documentation increasingly has more than one reader.

People need a fast, navigable website. Search engines need structured metadata. LLMs need clean context. Coding agents need tools and protocols. RAG systems need structured knowledge.

docmd builds these together while keeping Markdown at the centre.

<a href="https://docs.docmd.io/comparison/"> <img width="800" alt="docmd comparison with other documentation tools" src="https://raw.githubusercontent.com/docmd-io/docmd/refs/heads/main/assets/docmd-comparison.webp" /> </a> <br/> <b>See the complete comparison with <a href="https://docs.docmd.io/comparison/">Docusaurus, Mintlify and other documentation tools →</a></b>

Features

Zero config, instant start

Point docmd at any Markdown folder and it runs. Navigation is generated automatically from your file structure — no boilerplate, frontmatter, or build pipeline required to get started.

Lightweight by default, fast everywhere

docmd generates static HTML with minimal vanilla JavaScript and fast SPA-style navigation. Offline full-text search, sitemap, canonical URLs, Open Graph metadata, and other essentials are built into the output.

AI & agent-ready

docmd treats machine-readable documentation as part of the build, not a separate publishing workflow.

  • AI Assistant — RAG-powered chat grounded in your documentation
  • MCP Server — lets compatible coding agents search, read, and validate your docs
  • llms.txt / llms-full.txt — complete LLM-readable documentation context
  • Open Knowledge Format (OKF) — structured knowledge bundles for AI and RAG systems
  • Agent Skills — reusable instructions for LLMs and coding agents
  • Copy as Markdown / Copy Context — clean context extraction directly from the browser
  • Semantic search — optional vector retrieval alongside built-in keyword search

Built to scale

  • Internationalisation with locale-aware search and generated outputs
  • Versioning for multiple documentation releases
  • Workspaces for monorepos and multi-project setups
  • OpenAPI 3.x rendering for API documentation
  • Built-in templates, custom CSS/JavaScript, and light/dark mode

AI Assistant & Cloud Relay

docmd includes a RAG-powered AI Assistant grounded in your documentation.

You can connect it to your own backend or local AI provider. If your documentation is deployed as a static site, docmd Cloud Relay provides the hosted bridge instead.

Your documentation
        │
        ▼
 @docmd/plugin-ai
        │
        ▼
 docmd Cloud Relay
        │
        ▼
 Your AI provider

Cloud Relay securely sends AI requests to the provider you choose, so provider credentials do not need to be shipped to the browser and you do not need to operate an AI backend.

Cloud Relay is free to use with your own AI provider key.

  • Bring your own provider and model
  • Keep provider credentials off the client
  • Works with static hosting
  • No AI backend to deploy or maintain
  • Usage visibility and reader-question insights
  • Connect multiple documentation projects from one account

Set up Cloud Relay → • AI Assistant documentation →

The Cloud Relay is free. Model usage may be charged separately by your chosen AI provider.

CLI

docmd dev            # Start the local development server
docmd build          # Build for production
docmd serve          # Build once and serve the site in production
docmd live           # Start the browser-based Live Editor
docmd init           # Create a configuration file
docmd doctor         # Check configuration and plugin status
docmd validate       # Check internal documentation links
docmd migrate        # Migrate from Docusaurus, VitePress, MkDocs, or Starlight
docmd deploy         # Generate deployment configuration
docmd mcp            # Run the MCP server over stdio
docmd add <name>     # Install a plugin or template
docmd stop           # Stop running docmd dev and serve servers

See complete CLI Commands →

docmd serve is the production counterpart of docmd dev: it builds once and serves the site on a fixed port (127.0.0.1:3000 by default), with a /healthz endpoint and no watcher. Plugin actions over WebSocket and MCP over HTTP are opt-in through the serve config block. It is the default command of the Docker image. See docmd serve →

Plugins

docmd is built around a plugin system. Common documentation capabilities ship with core, while optional plugins can be installed when needed.

PluginStatusDescription
aiCoreRAG-powered AI Assistant with BYOK, local providers, and Cloud Relay
searchCoreOffline keyword search with optional semantic search
seoCoreSEO and Open Graph metadata
sitemapCoreGenerates sitemap.xml
gitCoreGit history and last-updated metadata
analyticsCoreLightweight analytics integration
llmsCoreGenerates llms.txt and llms-full.txt
okfCoreOpen Knowledge Format bundles
mermaidCoreMermaid diagram rendering
openapiCoreOpenAPI 3.x documentation renderer
pwaOptionalProgressive Web App and offline navigation
threadsOptionalInline documentation discussions (by @svallory)
mathOptionalKaTeX / LaTeX rendering

Install an optional plugin:

docmd add <plugin-name>

Build your own: Plugin Development Guide →

Configuration

Configuration is optional.

Add docmd.config.json, docmd.config.ts, or docmd.config.js in your project root when you need more control:

{
  "title": "My Project",
  "url": "https://docs.myproject.com",
  "src": "./docs",
  "out": "./dist"
}

TypeScript and JavaScript configurations can be used when dynamic values are required.

Configuration reference →

Programmatic API

Use docmd from Node.js scripts, CI pipelines, or custom build systems.

import { build } from '@docmd/core';

// Build documentation programmatically.
await build('./docmd.config.json', { isDev: false });

CommonJS and ESM are supported.

Node API reference →

Migration

Existing documentation does not need to start from scratch.

docmd migrate

Migration tooling is available for supported documentation frameworks including Docusaurus, VitePress, MkDocs, and Starlight.

Migration documentation →

Open Source

Your documentation is the intellectual heart of your project. It belongs in plain Markdown files in your Git repository — portable, version-controlled and auditable.

The docmd compiler and official core plugins are MIT-licensed and will remain free to use, with no paywalled compiler features.

Generated documentation can be hosted anywhere and does not require docmd-hosted infrastructure.

Community

Support docmd

If docmd is useful to you:

  • Give the repository a ⭐
  • Share it with someone building documentation
  • Open issues, contribute fixes, or build a plugin
  • Sponsor development on GitHub

License

MIT License. See LICENSE for details.

Docmd alternatives

View more →

Similar mcp servers in Content & Writing, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Docmd (this page)
docmd-io
2.5kMITOct 31, 2026Scanned, no flagged issues
Context7
upstash
64kMITNov 1, 2026Scanned, no flagged issues
Md2wechat Skill
geekjourneyx
3.8kNone foundOct 14, 2026Not scanned yet
Cortex
cortex-docs
3.3kMITOct 6, 2026Scanned, no flagged issues
Markdownify MCP
zcaceres
3kMITOct 26, 2026Scanned, no flagged issues
LLM Wiki Compiler
atomicstrata
2.2kMITOct 30, 2026Scanned, no flagged issues