BlockWerk

tech.blockwerk/mcp

Build, run and analyse block-diagram simulations: PID, Bode, FFT, optimisation and code export.

Yes, your AI can use this right now.Answered a live MCP handshake in 281 ms with no sign-in needed and exposes 42 tools.

Connect it

Settings → Connectors → Add custom connector
URL: https://blockwerk-mcp-worker.blockwerk.workers.dev/

42 tools, verified live

Pulled straight from the server with tools/list on 2026-10-17.
describe_canvasread-only

Returns a structured description of all blocks and connections currently on the canvas. Set "compact" to true for a token-efficient summary.

get_available_blocksread-only

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"; Gain in "in", out "out"; PIDController in "error","reset", out "out"; uPlotDisplay in "signal". Co

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_blockcan modify

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_diagramcan modify

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", "fromPortId", "toBlockId", "toPortId"; a missing id fails validation of the whole load). Block types and p

export_diagramread-only

Exports the current canvas project as a complete BlockWerk JSON string.

get_share_linkread-only

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_canvascan modify

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_commandscan modify

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_topologyread-only

Analyzes the block diagram structure: detects feedback loops, signal paths, and system order.

get_signal_dataread-only

Returns time series data from a Scope block output for analysis.

calculate_metricsread-only

Calculates step response metrics from signal data: rise time, settling time, overshoot percentage, and steady-state error.

get_analysis_measurementsread-only

Retrieves the currently active pinned measurements and their computed values across plotted signals in the Analysis panel.

evaluate_spec_maskread-only

Evaluates signal data against automated design specifications and tolerance corridors (rise time, settling time, overshoot %, steady-state error, min/max limits).

get_architect_memoryread-only

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_unitsread-only

Checks the consistency of engineering units across the diagram. Detects incompatible connections and missing units.

validate_canvasread-only

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_previewread-only

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_templatesread-only

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 diagram on the canvas by id.

load_templatecan modify

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-party material. This is a destructive action that asks the user for approval in the BlockWerk tab.

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_fopdtread-only

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_statusread-only

Check the status and progress of a background job.

cancel_job

Cancel a running background job.

list_jobsread-only

List all recent background jobs and their status.

explain_simulationread-only

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_dataread-only

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_dataread-only

Computes FFT (frequency spectrum) of a Scope signal. Returns frequencies and magnitudes.

get_engine_statusread-only

Returns the simulation engine status, including supported solvers, active background jobs, and compilation/WASM capabilities.

generate_coderead-only

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_actioncan modify

Undoes the last canvas modification made by the AI (add block, connect, delete, update parameter).

redo_last_ai_actioncan modify

Redoes the last undone canvas modification.

get_ai_historyread-only

Returns the list of recent canvas operations performed by the AI, showing what can be undone.

Alternatives in Developer Tools

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”