MCP.so
Sign In

Docs To MCP Cli

@AzureDevOpsAPI

Basic information

Category

Memory & Knowledge

License

MIT license

Transports

stdio

Author

AzureDevOpsAPI

About Docs To MCP Cli

A CLI utility for turning your docs into a stdio MCP server

#docs-to-mcp-cli#cli-tool#mcp-server

Docs To MCP Cli config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "docs-to-mcp-cli-azuredevopsapi": {
      "command": "npx",
      "args": [
        "@tiberriver256/docs-to-mcp-cli",
        "--docs",
        "path/to/docs/**/*.md",
        "--packageName",
        "MyDocsServer"
      ]
    }
  }
}

Docs To MCP Cli tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is docs-to-mcp-cli?

A CLI tool that generates a self‑contained, runnable MCP (Model Context Protocol) server from markdown documentation files. It exposes the documentation via specific tools so AI assistants can browse, search, and retrieve full document content.

How to use docs-to-mcp-cli?

Install globally with npm install -g @tiberriver256/docs-to-mcp-cli or use directly with npx. Run docs-to-mcp-cli --docs <pattern> --packageName <n> (both required) and optionally specify --outDir and --toolName. A bundled server is created in the output directory; start it with node dist/index.js.

Key features of docs-to-mcp-cli

  • Generates a self‑contained MCP server from markdown files
  • Provides three tools: list_docs, get_doc, and search_docs
  • Supports fuzzy matching across all documents
  • Customizable output directory and tool/package name
  • Run the server with a single Node.js command

Use cases of docs-to-mcp-cli

  • Let an AI assistant browse and search your project’s markdown documentation
  • Give LLMs context‑aware access to API docs, guides, or internal wikis
  • Convert static documentation into a live tool for AI‑powered question answering

Frequently asked questions

1

What is the Model Context Protocol (MCP)?

MCP is an open standard that enables AI assistants to access external tools and data sources.

2

What tools does the generated server expose?

It creates three tools: `list_docs` (lists documents with previews), `get_doc` (retrieves full content by path), and `search_docs` (fuzzy search across all documents).

3

How do I run the generated server?

After generation, execute `node dist/index.js` from the output directory.

4

What arguments are required?

The `--docs` (glob pattern for markdown files) and `--packageName` (name of the MCP server) options are both required.

5

Can I change the output directory?

Yes, use the `--outDir` option; the default is `dist`.

Comments

More Memory & Knowledge MCP servers