@tiberriver256/docs-to-mcp-cli
@Tiberriver256
About @tiberriver256/docs-to-mcp-cli
A CLI utility for turning your docs into a stdio MCP server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docs-to-mcp-cli": {
"command": "npx",
"args": [
"@tiberriver256/docs-to-mcp-cli",
"--docs",
"path/to/docs/**/*.md",
"--packageName",
"MyDocsServer"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is @tiberriver256/docs-to-mcp-cli?
@tiberriver256/docs-to-mcp-cli is a CLI tool that generates a self-contained, runnable MCP (Model Context Protocol) server from a collection of markdown documentation files. The generated server exposes documentation through specific tools (list_docs, get_doc, search_docs), enabling AI assistants that support MCP to browse, search, and retrieve documentation content.
How to use @tiberriver256/docs-to-mcp-cli?
Install globally via npm install -g @tiberriver256/docs-to-mcp-cli or use directly with npx. The basic command is docs-to-mcp-cli --docs <pattern> --packageName <name>. Required options are --docs (glob pattern for markdown files) and --packageName (name for the generated server). Optional flags include --outDir and --toolName. After generation, run the server with node dist/index.js.
Key features of @tiberriver256/docs-to-mcp-cli
- Generates a self-contained, runnable MCP server from markdown docs
- Provides three tools: list_docs, get_doc, and search_docs
- Uses fuzzy matching for cross-document search
- Supports custom tool names and output directories
- Integrates with any MCP‑compatible AI assistant
Use cases of @tiberriver256/docs-to-mcp-cli
- Allow an AI assistant to browse and retrieve full documentation content
- Enable semantic search across a set of markdown files
- Embed project or API documentation into AI‑powered workflows
FAQ from @tiberriver256/docs-to-mcp-cli
What tools does the generated MCP server provide?
The server provides three tools: list_docs (lists all documents with previews), get_doc (retrieves full content by path), and search_docs (fuzzy search across all documents).
How do I run the generated server?
After generation, execute node dist/index.js from the output directory (defaults to dist).
What command-line options are available?
Options include --docs (required glob pattern), --packageName (required server name), --outDir (output directory, default "dist"), --toolName (optional name for the documented tool/package), and --version.
How can I use this with an AI assistant?
Once the generated MCP server is running, any AI assistant that supports the Model Context Protocol can connect to it and access your documentation for more accurate, contextual responses.
What version is the tool at?
The current version is 1.1.2 (see CHANGELOG.md for details).
Frequently asked questions
What tools does the generated MCP server provide?
The server provides three tools: list_docs (lists all documents with previews), get_doc (retrieves full content by path), and search_docs (fuzzy search across all documents).
How do I run the generated server?
After generation, execute `node dist/index.js` from the output directory (defaults to `dist`).
What command-line options are available?
Options include `--docs` (required glob pattern), `--packageName` (required server name), `--outDir` (output directory, default "dist"), `--toolName` (optional name for the documented tool/package), and `--version`.
How can I use this with an AI assistant?
Once the generated MCP server is running, any AI assistant that supports the Model Context Protocol can connect to it and access your documentation for more accurate, contextual responses.
What version is the tool at?
The current version is 1.1.2 (see CHANGELOG.md for details).
Basic information
More Memory & Knowledge MCP servers
Rust Docs MCP Server
Govcraft🦀 Prevents outdated Rust code suggestions from AI assistants. This MCP server fetches current crate docs, uses embeddings/LLMs, and provides accurate context via a tool call.
Docs MCP Server
araboldGrounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Comments