Skip to main content

stlink-mcp

io.github.dii/stlink-mcp

v0.9.0Updated Nov 8, 2026stdio · PyPI

Program, run and inspect STM32 targets over ST-LINK; every result verified, unverified or failed.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add stlink-mcp -e STLINK_MCP_CONSOLE_BAUD=115200 -e STLINK_MCP_GDB_PORT=61234 -- uvx stlink-mcp==0.9.0

Configuration

6 settings.

  • STLINK_MCP_CLT_ROOT
    Env var· optional
    STM32CubeCLT (or STM32CubeIDE) install directory, when it is not in a standard place
  • STLINK_MCP_BOARDS
    Env var· optional
    TOML file describing boards this project has not characterised; defaults to ~/.config/stlink-mcp/boards.toml if it exists
  • STLINK_MCP_NO_VENDOR_SEED
    Env var· optional
    Set to anything to run on measured and user-stated data only, with no seeding from ST's device databases
  • STLINK_MCP_CONSOLE
    Env var· optional
    Serial console per probe, SERIAL=/dev/ttyUSB0, comma-separated for several; for a console that is not the probe's own
  • STLINK_MCP_CONSOLE_BAUD
    Env var· optional
    Console baud rateDefault: 115200
  • STLINK_MCP_GDB_PORT
    Env var· optional
    First GDB server port; each probe's server takes this port and the nextDefault: 61234

Listed in the official MCP Registry since Nov 8, 2026. Mirrored daily; last checked Nov 26, 2026.