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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wafleem/stm32cubemx_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server