loading…
Search for a command to run...
loading…
Provides tools for compiling and packaging XR875 project components, including M33 and C906 cores, OTA builds, and firmware packaging. It enables AI assistants
Provides tools for compiling and packaging XR875 project components, including M33 and C906 cores, OTA builds, and firmware packaging. It enables AI assistants to manage the full build lifecycle of XR875 SDK projects through standardized MCP commands.
这是一个提供 XR875 项目构建工具的 MCP (Model Context Protocol) 服务器。
如果您尚未安装 uv,可以使用以下命令进行安装:
curl -LsSf https://astral.sh/uv/install.sh | sh
安装完成后,请确保将其添加到您的 PATH 中(通常脚本会自动处理,或者您需要重启终端)。
[!NOTE] 在本系统中,
uv的绝对路径为/home/one/.local/bin/uv。如果您在配置中遇到 "command not found",请优先使用此绝对路径。
# 进入服务器目录
cd .agents/mcp_servers/xr875-build-mcp
# 安装依赖并创建虚拟环境
# 如果尚未创建虚拟环境,请先创建
/home/one/.local/bin/uv venv
# 同步安装依赖
/home/one/.local/bin/uv sync
cd .agents/mcp_servers/xr875-build-mcp
pip install .
要将此服务器用于 MCP 宿主(如 Cline 或 Claude Desktop),您需要将其添加到配置中。
在您的 cline_mcp_settings.json 中添加以下内容:
{
"mcpServers": {
"xr875-build": {
"command": "/home/one/.local/bin/uv",
"args": [
"--directory",
"/home/one/workspace/xr875_single_repository/.agents/mcp_servers/xr875-build-mcp",
"run",
"xr875-build"
]
}
}
}
或者使用 Python 绝对路径:
{
"mcpServers": {
"xr875-build": {
"command": "/usr/bin/python3",
"args": [
"/home/one/workspace/xr875_single_repository/.agents/mcp_servers/xr875-build-mcp/src/xr875_build/server.py"
],
"env": {
"PYTHONPATH": "/home/one/workspace/xr875_single_repository/.agents/mcp_servers/xr875-build-mcp/src"
}
}
}
}
配置完成后,支持 MCP 的 AI 助手即可调用此服务器中定义的构建工具。
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"xr875-build-mcp": {
"command": "npx",
"args": []
}
}
}