Skip to main content
Glama

mofox-docs-mcp

Neo-MoFox 官方文档 MCP 服务器:通过 Model Context Protocol 提供 MoFox-Bot-Docs 文档站的检索与阅读能力,供 Claude、Cursor、Neo-MoFox 等 MCP 客户端直接搜索与阅读官方文档。

数据源为文档站 JSON API(https://docs.mofox-sama.com/api/docs/*),与 MoFox 插件市场中的 mofox_docs 插件共用同一套 llms.json 索引,行为一致。

功能

工具 Tools

工具

说明

search_docs(query, limit?, offset?)

按关键词检索文档。查询按空白拆词,按「命中关键词数量」降序返回(如 "Windows 部署 安装" 会优先命中 guides/deployment/deployment_guide)。支持分页

list_docs(limit?, offset?)

列出文档。按 section 排序,部署指南(guides/deployment)排最前,每篇含 title / description / preview / section

get_doc(doc_id)

获取指定文档完整正文(纯文本)。doc_id 形如 guides/deployment/deployment_guide

资源 Resources

资源

说明

mofox://docs

全量索引(llms.json,含每篇的标题 / 简介 / 正文预览)

mofox://docs/{id}

单篇文档完整内容(如 mofox://docs/guides/configuration/bot_config_guide

Related MCP server: mcp-docs

快速开始

方式一:npx 直接运行(推荐)

npx -y mofox-docs-mcp

方式二:克隆 / 本地构建

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"]
    }
  }
}

配置选项

参数

说明

默认值

--base-url <url>

文档站地址

https://docs.mofox-sama.com

--timeout <秒>

请求超时

30

--cache-ttl <秒>

索引缓存时长(llms.json

300

也支持同名环境变量:MOFOX_DOCS_BASE_URLMOFOX_DOCS_TIMEOUTMOFOX_DOCS_CACHE_TTL

开发

npm run build   # 编译到 dist/
npm start       # 运行

License

MIT

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • MCP server for accessing curated awesome list documentation

  • MCP server for skill documentation, generated by doc2mcp.

  • MCP server for network documentation, generated by doc2mcp.

View all MCP Connectors

Latest Blog Posts

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/minecraft1024a/mofox-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server