Skip to main content
Glama
Wafleem

stm32cubemx-mcp

by Wafleem

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CUBEMX_MCP_CUBEMX_PATHNoExplicit CubeMX launcher path
CUBEMX_MCP_ALLOWED_ROOTSNoOS-path-separated project roots the MCP may read or change
CUBEMX_MCP_MAX_IOC_BYTESNoMaximum .ioc size accepted; defaults to 5 MiB5242880
CUBEMX_MCP_MAX_PROJECT_BYTESNoMaximum project size; defaults to 500 MiB524288000
CUBEMX_MCP_MAX_PROJECT_FILESNoMaximum project file count; defaults to 20,00020000
CUBEMX_MCP_CUBEMX_TIMEOUT_SECONDSNoMaximum CubeMX operation time; defaults to 120 seconds120
CUBEMX_MCP_ALLOW_UNVALIDATED_APPLYNoPermit an explicit validation bypass; defaults to falsefalse

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
cubemx_environmentA

Discover local STM32CubeMX, STM32CubeIDE, CMake, and related runtime state.

cubemx_list_iocA

List IOC files below an allowed project directory without modifying them.

cubemx_inspect_iocA

Inspect one IOC file and return project, microcontroller, pin, and clock data.

cubemx_plan_ioc_changesA

Plan pin, peripheral, parameter, and project changes. Do not write a file.

cubemx_apply_ioc_changesB

Apply an approved IOC plan. Create a backup and replace the source file.

cubemx_validate_iocC

Load and save an IOC copy with STM32CubeMX. Do not change the source file.

cubemx_create_iocB

Create and validate one IOC file for a board or microcontroller in a new directory.

cubemx_generate_projectC

Generate one new STM32CubeIDE project in a new output directory.

cubemx_plan_regenerationA

Regenerate a temporary project copy. Return a read-only file change plan.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation5/5

Each tool targets a distinct resource and action: creating, listing, inspecting, planning, applying, validating, and generating. The plan/apply split is clear, and inspection vs. validation are unambiguous. No two tools appear to do the same thing.

Naming Consistency4/5

All tools share the cubemx_ prefix and use snake_case. Most follow a verb_noun pattern (create_ioc, list_ioc, plan_ioc_changes), with only 'environment' deviating as a pure noun. This is a minor inconsistency in an otherwise predictable scheme.

Tool Count5/5

With 9 tools, the set is well-scoped for managing STM32CubeMX projects and IOC files. Each tool covers a distinct step in the workflow without redundancy or bloat. The count is appropriate for the domain.

Completeness3/5

The set covers discovery, creation, inspection, validation, change planning/application, and project generation. However, plan_regeneration has no corresponding apply tool, leaving a dead end for regenerating existing projects. Missing delete/remove functionality is a minor gap, but the lack of regeneration application is more significant.

Maintenance

ActivityMaintained
ResponsivenessNo issues