OpenOCD Debugger
About
Debug microcontrollers via OpenOCD: flash, breakpoints, memory, registers and variables.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
OPENOCD_BIN OPENOCD_MCP_CONFIG OPENOCD_MCP_READONLYClaude Code
claude mcp add --env OPENOCD_BIN= --env OPENOCD_MCP_CONFIG= --env OPENOCD_MCP_READONLY= openocd-mcp -- uvx openocd-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"openocd-mcp","command":"uvx","args":["openocd-mcp"],"env":{"OPENOCD_BIN":"","OPENOCD_MCP_CONFIG":"","OPENOCD_MCP_READONLY":""}}'
JSON
{
"mcpServers": {
"openocd-mcp": {
"command": "uvx",
"args": [
"openocd-mcp"
],
"env": {
"OPENOCD_BIN": "",
"OPENOCD_MCP_CONFIG": "",
"OPENOCD_MCP_READONLY": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.