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.
Setup
Choose your client, copy the config, then fill in any required environment variables.
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>"
}
}
}
}Environment variables
JLINK_DEVICE
Replace the placeholders with your own credentials and keep them out of version control.