CLI generator for documentation MCP servers

CLI generator for documentation MCP servers

docs-to-mcp-cli•bytiberriver256

A CLI tool that converts markdown documentation files into a self-contained, runnable MCP server with tools for listing, reading, and searching docs.

License: Not specified•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Generates a runnable MCP server from markdown files matched by a glob pattern and a chosen package name.
  • •Provides a list_docs tool that lists all available documents with content previews.
  • •Provides a get_doc tool that retrieves the full content of a specific document by path.
  • •Provides a search_docs tool that searches across all documents using fuzzy matching.

BEST FOR

  • •Making markdown documentation browsable and searchable by Model Context Protocol–capable AI assistants.
  • •Giving AI assistants project documentation so they can produce more contextual responses.

ABOUT DOCS-TO-MCP-CLI

CLI generator for documentation MCP servers is cataloged as an MCP server attributed to tiberriver256. A CLI tool that converts markdown documentation files into a self-contained, runnable MCP server with tools for listing, reading, and searching docs. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for CLI generator for documentation MCP servers are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 570abd961a65 · 采集于 2026-11-13 10:45:27 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

@tiberriver256/docs-to-mcp-cli

A CLI tool that generates a self-contained, runnable MCP (Model Context Protocol) server that exposes markdown documentation via specific tools.

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI assistants to access external tools and data sources. By converting your documentation to an MCP server, you allow AI assistants to:

  • Browse through your documentation
  • Search for specific information
  • Access the full content of any document
  • Use your documentation to provide more accurate and contextual responses

Installation

You can install the tool globally:

npm install -g @tiberriver256/docs-to-mcp-cli

Or use it directly with npx:

npx @tiberriver256/docs-to-mcp-cli --docs "path/to/docs/**/*.md" --packageName MyDocsServer

Usage

docs-to-mcp-cli --docs <pattern> --packageName <n> [--outDir <dir>] [--toolName <name>]

Options

  • -d, --docs <pattern>: Glob pattern for markdown files (required)
  • -p, --packageName <n>: Name for the generated MCP server (required)
  • -o, --outDir <dir>: Output directory for the bundled server (default: "dist")
  • -t, --toolName <name>: Name of the tool/package/library being documented (used in tool descriptions)
  • -v, --version: Output the current version

Examples

# Generate a server from all markdown files in the docs directory
docs-to-mcp-cli --docs "docs/**/*.md" --packageName ProjectDocs

# Specify a custom tool name and output directory
docs-to-mcp-cli --docs "documentation/**/*.md" --packageName APIDocsServer --toolName "My API" --outDir build

# Run the generated server
node dist/index.js

Generated Server Tools

The generated MCP server provides the following tools to AI assistants:

  • list_docs: Lists all available documents with a preview of their content
  • get_doc: Gets the full content of a specific document by its path
  • search_docs: Searches across all documents using fuzzy matching

Integration with AI Assistants

Once your MCP server is running, AI assistants that support the Model Context Protocol can connect to it and access your documentation. This enables the AI to provide more accurate and contextual responses based on your specific documentation.

Development

To build the CLI tool locally:

# Clone the repository
git clone https://github.com/Tiberriver256/docs-to-mcp-cli.git
cd docs-to-mcp-cli

# Install dependencies
npm install

# Build the project
npm run build

# Link for local development
npm link

Current Version

The current version is 1.1.2. See the CHANGELOG.md for details on recent updates.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for CLI generator for documentation MCP servers from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/docs-to-mcp-cli)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation