XR875 Build MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@XR875 Build MCP run a full build for all components and pack the firmware"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
XR875 构建 MCP 服务器
这是一个提供 XR875 项目构建工具的 MCP (Model Context Protocol) 服务器。
功能特性
build_m33: 编译 M33 核。
build_ota: 编译 M33 OTA。
build_c906: 编译 C906 核。
build_all: 按顺序编译所有内容 (M33 -> OTA -> C906 -> Pack)。
pack_firmware: 打包固件。
Related MCP server: EmbedForge
前置条件
Python 3.10+
拥有 XR875 SDK 仓库的访问权限。
推荐使用 uv 进行环境管理。
安装 uv
如果您尚未安装 uv,可以使用以下命令进行安装:
Linux / macOS
curl -LsSf https://astral.sh/uv/install.sh | sh安装完成后,请确保将其添加到您的 PATH 中(通常脚本会自动处理,或者您需要重启终端)。
在本系统中,uv 的绝对路径为 /home/one/.local/bin/uv。如果您在配置中遇到 "command not found",请优先使用此绝对路径。
安装步骤
使用 uv (推荐)
# 进入服务器目录
cd .agents/mcp_servers/xr875-build-mcp
# 安装依赖并创建虚拟环境
# 如果尚未创建虚拟环境,请先创建
/home/one/.local/bin/uv venv
# 同步安装依赖
/home/one/.local/bin/uv sync使用 pip
cd .agents/mcp_servers/xr875-build-mcp
pip install .配置说明
要将此服务器用于 MCP 宿主(如 Cline 或 Claude Desktop),您需要将其添加到配置中。
对于 Cline
在您的 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 助手即可调用此服务器中定义的构建工具。
Available Tools
5 toolsbuild_allB
Build everything in sequence (M33 -> OTA -> C906 -> Pack).
Inputs: no named parameters.
build_c906C
Build the C906 core (lunch_rtos 34 && m clean && m).
Inputs: no named parameters.
build_m33B
Build the M33 core (lunch_rtos 35 && m clean && m).
Inputs: no named parameters.
build_otaC
Build the M33 OTA (lunch_rtos 35 && ota_mrtos clean && ota_mrtos).
Inputs: no named parameters.
pack_firmwareB
Pack the firmware (lunch_rtos 34 && pack).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose targeting specific build components or stages: build_all for sequential builds, build_c906 for C906 core, build_m33 for M33 core, build_ota for M33 OTA, and pack_firmware for packing. No ambiguity exists as each tool name directly corresponds to a unique build operation.
All tools follow a consistent verb_noun pattern with 'build_' or 'pack_' prefixes and specific suffixes (e.g., build_all, build_c906, pack_firmware). This predictable naming scheme makes it easy to understand each tool's function at a glance.
With 5 tools, this server is well-scoped for its build automation purpose. Each tool serves a distinct and necessary function in the build process, from individual component builds to sequential builds and packing, with no redundant or missing operations.
The tool set provides complete coverage for the build domain: it includes individual builds for all core components (M33, C906, OTA), a sequential build tool (build_all), and a packing tool (pack_firmware). This covers the entire build lifecycle from compilation to packaging with no obvious gaps.
Related MCP Connectors
Build, test, publish, and run Kovca workflows from AI agents over remote MCP.
Verified component catalog over remote MCP: agents pick component ids and get a stamped project repo that builds. Connect at https://www.botkelp.com/mcp. Auth: MCP OAuth 2.1, or a Bearer bk_live_ API key; initialize and tools/list are open.
Build and update complete applications in Apper through AI assistants using MCP.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables ESP-IDF firmware development through MCP by providing tools to manage ESP32 targets, serial ports, and project compilation/building operations.-
- AlicenseNot gradedqualityDmaintenanceEnables AI-driven embedded development: generate, build, flash, and debug firmware using natural language commands through MCP.MIT
- AlicenseAqualityCmaintenanceBuild/flash/debug any Telink embedded SDK via natural language. MCP server with 8 tools for build, serial capture, and firmware flashing via bdt.exe.81MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to manage Renesas e2studio projects, including building, flashing, and debugging embedded code through MCP tools and resources.MIT