RootApp Documentation MCP Server
Serves RootApp documentation files with search and retrieval capabilities, enabling users to access specific docs, browse directory structure, and search across file names and content.
README
RootApp Documentation MCP Server
A simple MCP (Model Context Protocol) server that serves RootApp documentation files with search and retrieval capabilities using stdio transport.
Docs as of Feb 11 2026
This repository contains RootApp documentation files as of February 11, 2026.
Features
- Retrieve Documentation: Access any markdown file in the DOCS directory
- List Directory: Browse the documentation directory structure
- Search Files: Case-insensitive search across file names and paths
- Search Content: Search within the actual content of documentation files
- Dynamic Path Resolution: Automatically resolves DOCS path relative to the project directory
Installation
- Install dependencies:
npm install
- Build the project:
npm run build
For detailed setup instructions, see HOWTOUSE.md.
MCP Configuration (for AI Assistants)
The MCP server uses stdio transport. Configure it in your Cline/VS Code MCP settings file:
{
"mcpServers": {
"rootapp-docs": {
"command": "node",
"args": ["<PATH_TO_REPO>/build/index.js"],
"type": "stdio",
"disabled": false
}
}
}
Replace <PATH_TO_REPO> with your local repository path (e.g., /Users/yourname/MCP-Server-for-RootApp-Dev-Docs on macOS/Linux or d:/github/MCP-Server-for-RootApp-Dev-Docs on Windows).
Alternative Configuration (VS Code native MCP)
For VS Code's native MCP support, use this format:
{
"mcpServers": {
"RootAppDocsSearchTool": {
"type": "stdio",
"command": "node",
"args": [
"d:/github/MCP-Server-for-RootApp-Dev-Docs/build/index.js"
]
}
}
}
Replace the path with your actual local repository path.
Note: After updating the MCP configuration, restart Cline or toggle MCP connections to apply the changes.
Available Tools
get_documentation
Retrieve a specific documentation file by path.
Parameters:
path(string): Path to the documentation file without.mdextension- Example:
"bot/api/reference/classes/RootApiException"
- Example:
Returns: Raw markdown content
list_directory
List files and directories in a documentation directory.
Parameters:
path(string, optional): Path to the directory relative to DOCS root- Default: root directory
- Example:
"bot/api/reference/classes"
Returns: Array of file/directory names
search_documentation
Search across all documentation files.
Parameters:
query(string): Search query- Example:
"client","channel","class"
- Example:
Returns: Array of full file paths that match the query (case-insensitive on file names and full paths)
search_content
Search within the actual content of all documentation files. HTML tags are automatically stripped from content before searching to avoid false matches from HTML attributes like class, id, etc.
Parameters:
query(string): Search query - keyword or phrase to search within file contents- Example:
"exception","createMessage","permission"
- Example:
limit(number, optional): Maximum number of results to return (default: 20)includeSnippet(boolean, optional): Include context snippets around matches (default: false)contextLength(number, optional): Number of characters before and after match in snippet (default: 100)
Returns: Array of matching files with paths, match counts, and optional snippets
Note: HTML tags are automatically removed before searching, ensuring searches for terms like class or id only match actual content, not HTML attributes.
Example Response:
{
"matches": [
{
"path": "bot/api/reference/classes/RootApiException.md",
"matchCount": 15,
"snippet": "...RootApiException is thrown when an API call fails..."
}
],
"total": 8,
"query": "exception"
}
Usage Examples
> List all classes in the reference documentation
> Search for files about channels
> Get the documentation for RootApiException
Project Structure
MCP-Server-for-RootApp-Dev-Docs/
├── DOCS/ (documentation files)
├── src/
│ └── index.ts (MCP server implementation)
├── build/ (compiled JavaScript)
│ └── index.js
├── package.json
├── tsconfig.json
└── .gitignore
Development
To rebuild after changes:
npm run build
Notes
- The server automatically resolves the DOCS path relative to the script location
- No environment variables needed
- All documentation files are indexed on server startup
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。