openocd-mcp
An MCP server that drives OpenOCD, allowing AI assistants to flash firmware, control execution, inspect CPU registers and memory, set breakpoints, and read variables by name from firmware symbols or CMSIS-SVD files for any target OpenOCD supports.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 5 GitHub stars
What you can do with it
- Flash firmware images (.elf/.bin/.hex) to microcontrollers
- Control execution by halting, resuming, or single-stepping
- Read and write CPU registers and memory locations
- Set hardware and software breakpoints including conditional ones
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
openocd-mcp 0.4.5
{
"version": "0.4.5",
"transport": "stdio",
"identifier": "openocd-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "OPENOCD_BIN",
"description": "Path to OpenOCD binary; optional."
},
{
"name": "OPENOCD_MCP_CONFIG",
"description": "Path to openocd-mcp.json config; optional."
},
{
"name": "OPENOCD_MCP_READONLY",
"description": "Set to 1 to force read-only mode; optional."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"openocd-mcp": {
"command": "uvx",
"args": [
"openocd-mcp==0.4.5"
],
"env": {
"OPENOCD_BIN": "<YOUR_OPENOCD_BIN>",
"OPENOCD_MCP_CONFIG": "<YOUR_OPENOCD_MCP_CONFIG>",
"OPENOCD_MCP_READONLY": "<YOUR_OPENOCD_MCP_READONLY>"
}
}
}
}Cline
{
"mcpServers": {
"openocd-mcp": {
"command": "uvx",
"args": [
"openocd-mcp==0.4.5"
],
"env": {
"OPENOCD_BIN": "<YOUR_OPENOCD_BIN>",
"OPENOCD_MCP_CONFIG": "<YOUR_OPENOCD_MCP_CONFIG>",
"OPENOCD_MCP_READONLY": "<YOUR_OPENOCD_MCP_READONLY>"
}
}
}
}VS Code
{
"servers": {
"openocd-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"openocd-mcp==0.4.5"
],
"env": {
"OPENOCD_BIN": "<YOUR_OPENOCD_BIN>",
"OPENOCD_MCP_CONFIG": "<YOUR_OPENOCD_MCP_CONFIG>",
"OPENOCD_MCP_READONLY": "<YOUR_OPENOCD_MCP_READONLY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"openocd-mcp": {
"command": "uvx",
"args": [
"openocd-mcp==0.4.5"
],
"env": {
"OPENOCD_BIN": "<YOUR_OPENOCD_BIN>",
"OPENOCD_MCP_CONFIG": "<YOUR_OPENOCD_MCP_CONFIG>",
"OPENOCD_MCP_READONLY": "<YOUR_OPENOCD_MCP_READONLY>"
}
}
}
}Let your agent find its tools
Find servers like openocd-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.