J-Link MCP for VS Code
io.github.klievan/jlink-mcp
Debug embedded firmware on real hardware: J-Link probes, Cortex-M faults, RTT logs, GDB.
client:VS Code
transport:stdio
runtime:npm
Install J-Link MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "jlink-device",
"description": "JLINK_DEVICE",
"password": true
},
{
"type": "promptString",
"id": "jlink-serial",
"description": "JLINK_SERIAL",
"password": true
},
{
"type": "promptString",
"id": "svd-path",
"description": "SVD_PATH",
"password": true
},
{
"type": "promptString",
"id": "jlink-rtt-addr",
"description": "JLINK_RTT_ADDR",
"password": true
}
],
"servers": {
"jlink-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jlink-mcp"
],
"env": {
"JLINK_DEVICE": "${input:jlink-device}",
"JLINK_SERIAL": "${input:jlink-serial}",
"SVD_PATH": "${input:svd-path}",
"JLINK_RTT_ADDR": "${input:jlink-rtt-addr}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs