agent-mcu MCP server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 |
|---|---|
| mcu_detect_envB | Detect installed MCU toolchains (STM32CubeMX, CubeCLT, CMake, ARM-GCC/GDB, Keil, J-Link, ESP-IDF, probe-rs) and project files. |
| mcu_svd_queryB | Query official CMSIS-SVD peripheral/register/bitfield definitions offline before writing register code. |
| mcu_svd_readC | Read peripheral registers from target hardware (J-Link/GDB) or mock snapshot, decode SVD bitfields, and evaluate assertions. |
| mcu_clock_checkC | Read STM32 RCC & FLASH_ACR registers to verify real SYSCLK/HCLK/PCLK1/PCLK2 MHz and Flash wait states. |
| mcu_fault_decodeC | Decode ARM Cortex-M HardFault/BusFault/MemManage/UsageFault registers, PSP/MSP stacked frame, and optional ELF line symbols. |
| mcu_ioc_auditC | Parse STM32CubeMX .ioc into a read-only hardware snapshot and cross-check against hardware_spec.json. |
| mcu_cubemx_applyB | Compile declarative hardware_spec.json + golden base .ioc into an ST UM1718 CubeMX CLI script and optionally execute headlessly. |
| mcu_arch_checkC | Verify 3-layer embedded C architecture boundaries (config/driver/application/task). |
| mcu_scaffoldC | Scaffold a standardized STM32 CubeMX+CMake, STM32 Bare-Metal Register, or ESP-IDF project. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool targets a distinct action (read registers, check clocks, decode faults, audit .ioc, apply CubeMX config, check arch, scaffold, detect env, query SVD). The closest pair is mcu_svd_read vs mcu_svd_query and mcu_ioc_audit vs mcu_cubemx_apply, but descriptions clearly distinguish hardware-read vs offline-query and read-only-audit vs generate/apply.
All tools use a uniform mcu_<verb>_<noun> snake_case pattern (svd_read, clock_check, fault_decode, ioc_audit, cubemx_apply, arch_check, detect_env, svd_query). No mixing of conventions or casing.
Nine tools is well within the ideal 3-15 range and each maps to a concrete stage of an embedded workflow (detect, scaffold, configure, verify, decode). No obviously redundant or filler tools.
Coverage spans environment detection, scaffolding, SVD introspection, clock/fault verification, config audit and CubeMX application, which is a coherent lifecycle. The main gap is the absence of an explicit build/flash/serial-monitor tool, which agents would have to handle via shell.