mofox-docs-mcp
mofox-docs-mcp
Neo-MoFox официальный MCP-сервер документации: через Model Context Protocol предоставляет поиск и чтение документационного сайта MoFox-Bot-Docs, позволяя MCP-клиентам (Claude, Cursor, Neo-MoFox и др.) напрямую искать и читать официальные документы.
Данные берутся из JSON API сайта документации (https://docs.mofox-sama.com/api/docs/*). Используется тот же индекс llms.json, что и у плагина mofox_docs в магазине плагинов MoFox, поэтому поведение полностью идентично.
Возможности
Инструменты Tools
Инструмент | Описание |
| Поиск документов по ключевым словам. Запрос разбивается на слова по пробелам; результаты сортируются по убыванию числа совпавших ключевых слов (например, для |
| Возвращает список документов. Сортировка по |
| Возвращает полный текст указанного документа (в виде простого текста). |
Ресурсы Resources
Ресурс | Описание |
| Полный индекс ( |
| Полное содержимое одного документа (например, |
Related MCP server: mdbook-mcp-server
Быстрый старт
Способ 1: прямой запуск через npx (рекомендуется)
npx -y mofox-docs-mcpСпособ 2: клонирование / локальная сборка
npm install
npm run build
npm startИнтеграция с Neo-MoFox
Отредактируйте config/mcp.toml:
[mcp.stdio_servers.mofox-docs]
command = "npx"
args = ["-y", "mofox-docs-mcp"]
instructions = "提供 Neo-MoFox 官方文档的搜索与阅读功能,当用户询问框架功能、配置、插件开发、API 用法时使用"После перезапуска Neo-MoFox изменения вступят в силу.
Другие MCP-клиенты
{
"mcpServers": {
"mofox-docs": {
"command": "npx",
"args": ["-y", "mofox-docs-mcp"]
}
}
}Параметры конфигурации
Параметр | Описание | Значение по умолчанию |
| Адрес сайта документации |
|
| Таймаут запроса |
|
| Время кэширования индекса ( |
|
Также поддерживаются переменные окружения с теми же именами: MOFOX_DOCS_BASE_URL, MOFOX_DOCS_TIMEOUT, MOFOX_DOCS_CACHE_TTL.
Разработка
npm run build # 编译到 dist/
npm start # 运行Лицензия
MIT
Available Tools
3 toolsget_docA
获取指定文档的完整正文(纯文本)。doc_id 形如 guides/deployment/deployment_guide,可从 search_docs / list_docs 结果的 id 字段获取。
Inputs: doc_id (required).
list_docsA
列出 Neo-MoFox 官方文档。按 section 排序,部署指南(guides/deployment)排最前,每篇含 title / description / preview / section。支持 offset 分页。
Inputs: limit, offset.
search_docsA
按关键词检索 Neo-MoFox 官方文档。查询按空白拆分为多个关键词,按「命中关键词数量」降序返回(命中全部关键词的文档排最前,至少命中一个即返回)。匹配标题 / 简介 / 正文预览 / 分类 / id / 路径。结果不含完整正文,需要全文时再用 get_doc 获取。
Inputs: query (required), limit, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct role: search_docs finds relevant docs by keywords, list_docs provides browsable pagination, and get_doc returns complete content for a specific doc. There is no meaningful overlap between them.
All tool names follow a clean verb_noun pattern: search_docs, list_docs, and get_doc. The slight singular/plural difference between docs and doc is natural and does not create confusion.
With only three tools, the server covers the core documentation workflow of search, browse, and retrieve without redundancy. This is an appropriately minimal surface for a docs-focused server.
The tools form a complete documentation lifecycle: discover content through search and listing, then fetch the full text via get_doc. There are no obvious gaps, as the server's documented purpose is fully supported.
Maintenance
Related MCP Connectors
Read-only MCP server over the developer docs for the portfolio's JSON API, MCP, A2A and NLWeb.
Political Comms documentation MCP server: search docs, query the docs filesystem. No auth.
MCP server for querying Forkast documentation
MCP server for accessing curated awesome list documentation
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides AI assistants with real-time access to the AGNO framework documentation by enabling them to browse, search, and fetch documentation pages. This server allows users to query information about AGNO's Agents, Teams, and Workflows directly through MCP-compatible clients.16-
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to access and read mdbook documentation, including structure, content, and search.15 npm3MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes one or more documentation folders (Markdown, MDX, TXT) to AI agents, enabling listing, reading, and searching of documentation files.-
- AlicenseAqualityDmaintenanceThis server crawls documentation sites and provides search and page-retrieval tools through MCP, enabling users to query indexed documentation content.4MIT