stmctl-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STM32_PROGRAMMER_CLI_PATH | No | Path to STM32_Programmer_CLI.exe. If not set, server will auto-detect. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| stm32_list_probesA | List all connected ST-LINK debug probes, J-Link programmers, USB bootloaders, and COM serial ports. |
| stm32_connect_infoA | Connect to target STM32 MCU and retrieve Chip ID, Flash size, Revision ID, and CPU Core details. |
| stm32_flash_firmwareA | Flash/program firmware file (.bin, .hex, .elf, .srec) to target STM32 MCU with optional verification, mass erase, reset, and run. |
| stm32_erase_memoryB | Perform Flash memory erase operation (Full Chip Mass Erase or Sector/Page Erase). |
| stm32_read_memoryA | Read target MCU memory or register contents and return hex dump or output to binary file. |
| stm32_write_memoryB | Write value or file payload directly to memory address or peripheral register. |
| stm32_read_option_bytesA | Read target MCU Option Bytes configuration (RDP protection level, BOR, Watchdog, Boot flags). |
| stm32_write_option_bytesA | Modify target MCU Option Bytes (e.g. set RDP=0xAA to remove read protection, set nBOOT0, etc.). |
| stm32_reset_mcuB | Trigger reset signal on target MCU. |
| stm32_run_mcuB | Start or resume program execution at specified address or entry point. |
| stm32_start_swv_traceA | Connect to Serial Wire Viewer (SWO/ITM) and stream printf log outputs. |
| stm32_raw_cliA | Run raw parameters directly against STM32_Programmer_CLI for advanced/custom operations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |