mcp-docs
mcp-docs
Универсальный MCP-сервер, который предоставляет LLM доступ к документации в формате Markdown, позволяя им искать информацию и отвечать на вопросы по любой программной документации.
Идентификация сервера (имя, инструкции, метки категорий) полностью определяется директорией docs/, которая является отдельным репозиторием, клонированным рядом с этим.
Требования
Python 3.14+
Related MCP server: repocks
Установка
1. Клонирование репозитория с документацией
Директория docs/ должна существовать до запуска сервера. Клонируйте в нее репозиторий с документацией:
git clone <docs-repo-url> docs2. Установка зависимостей
uv syncСтруктура директории docs/
Сервер автоматически обнаруживает категории из поддиректорий. Единственный обязательный файл — config.toml в корне docs/.
docs/
├── config.toml # required — project identity
├── <category>/
│ ├── <topic>.md
│ └── ...
└── <category>/
└── ...config.toml
[project]
name = "my-project"
instructions = """
System instructions for the LLM. Describe what this documentation covers
and how the model should use the available tools.
"""
[categories]
folder-name = "Human-readable label"[project]является обязательным.nameидентифицирует сервер;instructionsнаправляет LLM.[categories]является необязательным. Любая поддиректория, не указанная здесь, автоматически получает метку в формате Title Case (my-folder→My Folder).Файлы внутри поддиректорий
img/никогда не передаются.
Использование
Запуск сервера (режим stdio)
uv run main.pyРазработка с помощью MCP Inspector
uv run mcp dev main.pyОткрывает MCP Inspector в браузере. Чтобы подключиться к запущенному SSE или Streamable HTTP-серверу, сначала запустите его и укажите инспектору выведенный адрес конечной точки:
uv run main.py --transport sse
uv run main.py --transport streamable-httpНастройка для Claude Desktop
Добавьте в ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) или %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"my-project": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-docs", "run", "main.py"]
}
}
}Настройка для Claude Code
claude mcp add my-project -- uv --directory /path/to/mcp-docs run main.pyВозможности
Инструменты
Инструмент | Описание |
| Список доступных файлов документации, опционально с фильтрацией по категории |
| Чтение полного содержимого файла документации |
| Полнотекстовый поиск по всей документации |
Ресурсы
URI | Описание |
| Полный индекс всех доступных файлов документации |
| Содержимое конкретного файла документации |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context21265MIT
- Alicense-qualityDmaintenanceTransforms Markdown documentation into an intelligent knowledge base with AI-powered search and Q\&A through an MCP server.139MIT
- Alicense-qualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).24536MIT
- Alicense-qualityAmaintenanceA generic, configurable MCP server that makes any MkDocs documentation site searchable and explorable from MCP clients.MIT
Related MCP Connectors
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
MCP server for accessing curated awesome list documentation
An MCP server that gives your AI access to the source code and docs of all public github repos
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gmantovani2005/mcp-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server