AI agents can now draw, check and simulate state machines in uFSM through MCP.
New
ufsm mcp: an MCP server for AI agents. An agent can build a machine in a few batches, read its problems, simulate it, replay traces, take screenshots, compare it with a file or a git revision, and generate code. Theufsm-modelingskill (workflow and diagram style guide) comes with it. See docs/mcp.md.- Agents in the editor: turn on Settings › Agents and an agent works in the machine you have open. Each batch is one undo step and is selected when it lands, and an "Agent" marker shows in the status bar. Without an editor running, the server works headless.
ufsm mcp setupregisters the server with Claude Code, Claude Desktop, Cursor and VS Code.ufsm mcp removetakes it out again.- Edit › Tidy Up and Tidy Up Top to Bottom: an automatic layout that fits the paper and keeps the most readable drawing it finds.
- Readability checks in Problems: overlapping labels, lines through states or labels, lines along borders, states too close together.
ufsm export <model> -o file.svg|file.pngdraws a sheet from the command line, as File › Export SVG does.
Improved
- Straighter S routes between facing sides. Labels of a straight pair are placed on the outer sides.
Full Changelog: v0.11.0...v0.12.0