macro_run
Run a loaded macro or assembly against an existing connection or explicit simulation input.
How to use it
macro_run is exposed by the Serial MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the macro_run tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Serial MCP Server
cargo install --path . --lockedOther tools in Serial MCP Server (11)
Close an open connection.
Discover available serial ports.
List loaded macro packs, macros, and assemblies.
Validate and load an inline macro pack or pack file path into the server's in-memory registry.
Expand a loaded, inline, or file-backed macro or assembly without opening hardware.
Validate, plan, and run an inline macro pack without storing it in the registry.
Remove a loaded macro pack from the in-memory registry.
Open a serial connection.
Read data from an open connection with timeout handling or a bounded capture window.
Set RTS and/or DTR on an open connection.
Write UTF-8, hex, or base64 data to an open connection.