loading…
Search for a command to run...
loading…
An OpenOCD debug MCP server that manages debugging targets and sessions by reusing VS Code launch configurations. It enables firmware flashing, GDB command exec
An OpenOCD debug MCP server that manages debugging targets and sessions by reusing VS Code launch configurations. It enables firmware flashing, GDB command execution, and real-time status monitoring of embedded systems.
基于 fastmcp 的 OpenOCD 调试 MCP 服务,复用项目中的 .vscode/launch.json 作为调试目标来源。
uv sync
uv run openocd-mcp --openocd-path openocd --gdb-path arm-none-eabi-gdb
如果直接运行:
uv run openocd-mcp
服务会自动读取当前目录 config.json(若存在)中的路径配置。
参数优先级:命令行参数 > 环境变量 > config.json > 内置默认值。
默认是 stdio。
uv run openocd-mcp -sse
默认监听:http://127.0.0.1:9000/sse
可自定义:
uv run openocd-mcp -sse --host 127.0.0.1 --port 9000 --path /sse
也可通过环境变量配置:
OPENOCD_PATHGDB_PATHOPENOCD_SCRIPTS已提供 .vscode/mcp.json,使用 stdio + uv run openocd-mcp 启动服务。
如需改为 SSE,可使用:
{
"servers": {
"openocd-mcp": {
"type": "sse",
"url": "http://127.0.0.1:9000/sse"
}
},
"inputs": []
}
set_project(project_dir)refresh_debug_targets()flash_download(config_name, firmware_path?)debug_start(config_name, firmware_path?)debug_stop()debug_command(command)debug_status()get_runtime_config()接口定义.md架构设计.mdRTT特性.mdMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"openocd-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.