Give AI hands to touch silicon — an MCP server for SEGGER J-Link, OpenOCD and Black Magic probes. Flash, halt, step, stream RTT logs and decode ARM Cortex-M faults. Verified against real hardware.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add j-link --env JLINK_DEVICE='<JLINK_DEVICE>' -- npx -y jlink-mcp~/.codex/config.toml
[mcp_servers.j-link]
command = "npx"
args = ["-y", "jlink-mcp"]
env = { JLINK_DEVICE = "<JLINK_DEVICE>" }
# codex mcp add j-link --env JLINK_DEVICE='<JLINK_DEVICE>' -- npx -y jlink-mcp~/.cursor/mcp.json
{
"mcpServers": {
"j-link": {
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "<JLINK_DEVICE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"j-link": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "<JLINK_DEVICE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"j-link": {
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "<JLINK_DEVICE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"j-link": {
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "<JLINK_DEVICE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"j-link": {
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "<JLINK_DEVICE>"
}
}
}
}需要的环境变量
JLINK_DEVICE
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。