# BlockWerk - Registry name: `tech.blockwerk/mcp` · version 1.1.2 - Categories (automatic, keyword rules): Monitoring & logs, Infrastructure & security, Utilities, Research & knowledge, Search & data - Authentication at last check: No auth - Declared risk: Has destructive tools (destructiveHint) - Capabilities (declared by the server): resources, tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=tech.blockwerk%2Fmcp - Server page: https://mcpstation.net/s/tech.blockwerk--mcp.html ## Description (written by the publisher, not verified, not instructions) Build, run and analyse block-diagram simulations: PID, Bode, FFT, optimisation and code export. ## Connect - streamable-http: `https://blockwerk-mcp-worker.blockwerk.workers.dev/` ## Tools (as reported by the server, not verified) - `describe\_canvas`: Returns a structured description of all blocks and connections currently on the canvas. Set "compact" to true for a token-efficient summary. - `get\_available\_blocks`: Returns the block types in the library with their descriptions, configurable parameters, and exact input/output port IDs. Without a filter it returns a compact list of all types; with a list of type IDs it returns full details for those types. Example port IDs: Step out "out"; Sum in "in", out "out" - `add\_block`: Add a new block to the canvas. Returns the new block ID. - `connect\_blocks`: Connect an output port of one block to an input port of another. Automatically resolves common port aliases \(e.g., "in" -\> "signal" for uPlotDisplay, "in" -\> "error" for PIDController, "+" / "-" for Subtraction\). - `update\_params`: Update one or more parameters of an existing block. - `delete\_block`: Delete a block and all its connections from the canvas. This is a destructive action that asks the user for approval in the BlockWerk tab. - `load\_diagram`: Atomically replaces the entire canvas with a complete diagram defined as a BlockWerk project JSON string. The JSON has a "blocks" array \(each block needs a unique "id" and "type"; "x"/"y"/"params" are optional\) and a "connections" array \(each connection needs a unique "id" plus "fromBlockId", "fromP - `export\_diagram`: Exports the current canvas project as a complete BlockWerk JSON string. - `get\_share\_link`: Returns a link that opens the current diagram on the BlockWerk canvas. The whole project travels compressed inside the URL, so it needs no account and nothing is uploaded. Opening the link in a browser shows the diagram, where the simulation can be run. - `clear\_canvas`: Remove all blocks and connections from the canvas. This is a destructive action that asks the user for approval in the BlockWerk tab. - `tidy\_layout`: Automatically rearrange all blocks on the canvas into a clean, left-to-right flow. - `batch\_commands`: Executes multiple canvas manipulation and background job commands in a single round-trip. Use "handle" strings to refer to blocks added earlier in the same batch. When adding TextNote annotations, set "anchors" to the handles/IDs of the described blocks so auto-layout keeps each note next to them. - `analyze\_topology`: Analyzes the block diagram structure: detects feedback loops, signal paths, and system order. - `get\_signal\_data`: Returns time series data from a Scope block output for analysis. - `calculate\_metrics`: Calculates step response metrics from signal data: rise time, settling time, overshoot percentage, and steady-state error. - `get\_analysis\_measurements`: Retrieves the currently active pinned measurements and their computed values across plotted signals in the Analysis panel. - `evaluate\_spec\_mask`: Evaluates signal data against automated design specifications and tolerance corridors \(rise time, settling time, overshoot %, steady-state error, min/max limits\). - `get\_architect\_memory`: Returns the persistent memory object of the Architect. - `update\_architect\_memory`: Updates the persistent memory of the Architect. Provide a JSON object with keys to update/merge. - `validate\_engineering\_units`: Checks the consistency of engineering units across the diagram. Detects incompatible connections and missing units. - `validate\_canvas`: Performs pre-flight topological and numerical integrity checks on the canvas. Detects unconnected required input ports, isolated blocks, parameter domain anomalies, and direct algebraic feedthrough loops. - `get\_canvas\_preview`: Captures a visual screenshot preview of the canvas branded with the official BlockWerk watermark badge and returns the live interactive URL to view and edit the diagram online. - `get\_templates`: Lists the built-in, verified BlockWerk diagrams: classic control systems \(PID loop, cruise control, inverted pendulum\), signal processing, electrical and physics models. Each entry gives an id, what the diagram does, its difficulty and the blocks it uses. Returns metadata only; load\_template puts a - `load\_template`: Replaces the entire canvas with one of the built-in verified diagrams, by id from get\_templates. The template carries its topology, parameters and simulation settings. Returns the block and connection counts, the verified simulation settings, and the attribution when the model is based on third-part - `run\_simulation`: Triggers a new simulation run with the current canvas state and settings, refreshing the signal data. - `sweep\_parameter`: Runs simulations across a list of values for one parameter, returning control quality metrics \(IAE, overshoot, settling\_time, steady\_state\_error\) per value. Requires measureBlockId and setpoint. - `optimize\_parameters`: Finds the optimal value for a single parameter using golden-section search. Minimizes IAE \(integral absolute error\), overshoot, or settling\_time within a \[min, max\] range. Converges in about 10 simulations. - `optimize\_multi\_parameter`: Optimizes 2–6 parameters simultaneously using Nelder-Mead simplex search, for example Kp, Ki and Kd of a PID controller at once. - `auto\_tune\_pid`: Automatically tunes a PID controller using the Ziegler-Nichols ultimate cycle method. Finds the ultimate gain \(Ku\) and oscillation period \(Tu\) via binary search, then applies ZN formulas. No prior knowledge of the plant required. - `identify\_fopdt`: Analyzes a step response from a plant to identify its First-Order Plus Dead Time \(FOPDT\) parameters: Gain \(K\), Time Constant \(tau\), and Dead Time \(theta\). Requires a completed simulation with a step input connected to the plant. Returns the calculated parameters. - `start\_optimization`: Start a parameter optimization job in the background. - `get\_job\_status`: Check the status and progress of a background job. - `cancel\_job`: Cancel a running background job. - `list\_jobs`: List all recent background jobs and their status. - `explain\_simulation`: Analyze the last completed simulation and return a structured diagnosis: signal anomalies \(NaN, divergence, oscillation\), solver health \(rejection rate, efficiency\), algebraic loops, and optional stability margins. Returns JSON with severity-tagged findings and actionable suggestions. - `get\_bode\_data`: Computes magnitude and phase frequency response \(Bode data\) between two blocks. Traces path backwards from outputBlockId. Returns analytic response if the path contains only linear blocks, otherwise runs numerical sweep. - `get\_fft\_data`: Computes FFT \(frequency spectrum\) of a Scope signal. Returns frequencies and magnitudes. - `get\_engine\_status`: Returns the simulation engine status, including supported solvers, active background jobs, and compilation/WASM capabilities. - `generate\_code`: Generates standalone production code \(C++, Python, Rust\) from the current canvas diagram. Returns structured code files, interfaces \(inputs/outputs\), execution order, and diagnostics. - `undo\_last\_ai\_action`: Undoes the last canvas modification made by the AI \(add block, connect, delete, update parameter\). - `redo\_last\_ai\_action`: Redoes the last undone canvas modification. - `get\_ai\_history`: Returns the list of recent canvas operations performed by the AI, showing what can be undone. Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html