stlink-mcp for VS Code
io.github.dii/stlink-mcp
Program, run and inspect STM32 targets over ST-LINK; every result verified, unverified or failed.
client:VS Code
transport:stdio
runtime:pypi
Install stlink-mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "stlink-mcp-clt-root",
"description": "STLINK_MCP_CLT_ROOT",
"password": true
},
{
"type": "promptString",
"id": "stlink-mcp-boards",
"description": "STLINK_MCP_BOARDS",
"password": true
},
{
"type": "promptString",
"id": "stlink-mcp-no-vendor-seed",
"description": "STLINK_MCP_NO_VENDOR_SEED",
"password": true
},
{
"type": "promptString",
"id": "stlink-mcp-console",
"description": "STLINK_MCP_CONSOLE",
"password": true
},
{
"type": "promptString",
"id": "stlink-mcp-console-baud",
"description": "STLINK_MCP_CONSOLE_BAUD",
"password": true
},
{
"type": "promptString",
"id": "stlink-mcp-gdb-port",
"description": "STLINK_MCP_GDB_PORT",
"password": true
}
],
"servers": {
"stlink-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"stlink-mcp"
],
"env": {
"STLINK_MCP_CLT_ROOT": "${input:stlink-mcp-clt-root}",
"STLINK_MCP_BOARDS": "${input:stlink-mcp-boards}",
"STLINK_MCP_NO_VENDOR_SEED": "${input:stlink-mcp-no-vendor-seed}",
"STLINK_MCP_CONSOLE": "${input:stlink-mcp-console}",
"STLINK_MCP_CONSOLE_BAUD": "${input:stlink-mcp-console-baud}",
"STLINK_MCP_GDB_PORT": "${input:stlink-mcp-gdb-port}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs