an mcp-go server that exposes a directory of markdown files as searchable documentation tools for LLM clients
uses stdio for fast local access
| tool | description |
|---|---|
list_pages |
recursively collect and list all markdown files with their titles |
fetch_page |
return the full contents of a page by path |
search |
case-insensitive full-text search with line context |
1. build & install globally
go install github.com/edgetools/docs-mcp@latest 2. configure your mcp client
example claude settings entry
{
"mcpServers": {
"foo-docs": {
"command": "docs-mcp",
"args": ["--content-dir", "/path/to/your/foo/docs"]
}
}
}- go 1.23+