set_diagram
Replaces the entire diagram (appears live in the browser)
How to use it
set_diagram is exposed by the MermAId MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the set_diagram tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MermAId
$
npx esbuild frontend/app.js --bundle --format=iife --minify --sourcemap --outfile=static/bundle.jsOther tools in MermAId (1)