Docmd Core logo

Docmd Core

by @docmd

Exposes docmd documentation to MCP-compatible agents for searching, reading, and validating Markdown content.

Install Docmd Core

Run the project’s own setup commands, in order.

Setup steps from the project

@docmd/core installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docmd mcp            # Run the MCP server over stdio
    

Overview

@docmd/core MCP server exposes a docmd documentation project to compatible AI coding agents. It runs through the `docmd mcp` command over stdio and lets agents search, read, and validate documentation. Reach for it when an agent needs structured access to a Markdown documentation tree alongside docmd's generated site and machine-readable outputs.

Use cases

  • Search a Markdown documentation tree from an AI coding agent
  • Read project documentation as agent context
  • Validate internal links before publishing documentation
  • Generate both an agent interface and a static documentation site from one source

Key features

  • MCP server over stdio
  • Documentation search
  • Documentation reading
  • Internal link validation
  • Markdown-based documentation source
  • Node.js 20+ CLI

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2.6kStargazers on the source repository.
npm downloads110kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.

How Docmd Core works

What @docmd/core does

@docmd/core includes an MCP interface for documentation built with docmd. The interface gives compatible AI agents access to the same documentation source used to generate a site and other machine-readable outputs. Agents can search the documentation, retrieve relevant content, and check internal documentation links.

This is useful when documentation needs to serve both human readers and coding tools. Instead of requiring an agent to navigate generated pages manually, the MCP interface provides documentation-oriented operations against the docmd project.

The broader docmd pipeline starts with a folder of Markdown files. From that source, docmd can produce a static documentation site, an offline search index, llms.txt and llms-full.txt, Open Knowledge Format output, sitemap and SEO metadata, and an MCP interface for AI agents.

How it works

The MCP entry point is exposed through the CLI:

bash
docmd mcp

The command runs the MCP server over standard input and output, allowing an MCP-compatible client to start it as a local process. The agent can then use the documentation tools against the project it is configured to access.

The server is part of the same package as docmd's documentation compiler and CLI. Other CLI commands cover local development, production builds, serving, link validation, configuration checks, and migration from documentation frameworks including Docusaurus, VitePress, MkDocs, and Starlight.

Setup and configuration

The package requires Node.js 20 or newer. Run the MCP command through npx without a global installation:

Terminal
npx @docmd/core mcp

You can also install the package globally with npm or pnpm, then invoke the command directly:

Terminal
npm install -g @docmd/core
docmd mcp

The project itself can be started with npx @docmd/core dev, which serves a Markdown folder locally at http://127.0.0.1:3000. Use docmd build when a static production site is needed. The MCP command is the relevant entry point for connecting an MCP client to the documentation source.

Tools and capabilities

The MCP interface is intended for documentation tasks, including:

  • Searching a docmd documentation project.
  • Reading documentation content for agent context.
  • Validating internal documentation links.
  • Giving coding agents access to documentation maintained as Markdown.
  • Using the same source tree for website, search, AI context, and agent-oriented outputs.

The package also supports optional documentation features outside the MCP interface, including semantic search, internationalisation, versioned documentation, monorepo workspaces, OpenAPI 3.x rendering, custom CSS and JavaScript, and light or dark themes.

Limitations and notes

The MCP interface is exposed through stdio rather than a separately described hosted endpoint. Client setup therefore needs to support launching a local MCP process. The documentation workflow depends on a docmd Markdown project and Node.js 20 or newer.

Generated sites can be deployed to static hosts such as Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, or Caddy, but those deployment targets are separate from the local stdio MCP process. The package also provides a Docker image for running docmd, with port 3000 exposed for the site server.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Docmd Core

@docmd/core is an MCP server that connects AI coding agents to docmd Markdown documentation projects. Its main tools support searching documentation, reading content, and validating internal links. It runs locally through the `docmd mcp` CLI command over standard input and output, alongside docmd's site and knowledge-generation workflow.

Run `npx @docmd/core mcp` to start it without a global installation. Alternatively, install it with `npm install -g @docmd/core` or `pnpm add -g @docmd/core`, then run `docmd mcp`. Node.js 20 or newer is required.

It can search documentation, read documentation content, and validate internal documentation links. The server exposes a docmd Markdown project to compatible AI coding agents, while the same source can also produce a static site, search index, and LLM-readable files.

Yes, it can work with Cursor when Cursor is configured to launch standard-input-and-output MCP servers. The package starts its MCP interface with `docmd mcp`, giving the client access to documentation search, reading, and internal-link validation.

Node.js 20 or newer is required. The MCP command can be run with `npx @docmd/core mcp` or through a global installation that provides the `docmd mcp` command.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDocmd Core AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/docmd-core?style=directory)](https://allmcps.com/mcp/docmd-core)
HTML Embed
<a href="https://allmcps.com/mcp/docmd-core"><img src="https://allmcps.com/api/badge/docmd-core?style=directory" alt="Docmd Core on AllMCPs" /></a>