@max.r/mcp-doc
v0.1.3
Published
This repository provides a local MCP server that exposes Markdown docs over stdio.
Readme
Doc MCP Server
This repository provides a local MCP server that exposes Markdown docs over stdio.
Use with npx
Run the server without a global install:
npx -y @max.r/mcp-docConfigure via JSON
Use this JSON snippet in your MCP client configuration and set DOCS_PATH to your docs folder:
"doc-mcp": {
"command": "npx.cmd",
"args": [
"-y",
"@max.r/mcp-doc"
],
"env": {
"DOCS_PATH": "C:\\Agent-Files"
}
}Where to put your documents
All documentation files live under the folder pointed to by DOCS_PATH. The server lists and reads only Markdown files (.md) inside that folder and its subfolders.
Example layout:
C:\Agent-Files\
Guides\
Intro.md
Notes\
Roadmap.md.ignore behavior
You can place a .ignore file only in the root of your DOCS_PATH folder. Its rules apply to all paths under that root and are evaluated for both files and folders, regardless of file type.
Example .ignore:
.git/
**/*.tmpNotes:
- Use
/as the separator in patterns (like.gitignore). - If a folder is ignored, everything under it is skipped.
