Skip to main content
Glama

tinkercad-circuits-mcp

An MCP server that builds Arduino circuits in Tinkercad Circuits and runs them in the simulator. You describe the circuit (which part goes in which breadboard hole, the wires, the sketch) and it appears in your Tinkercad account, wired on a breadboard, with the code saved. It can then start the simulation, press buttons, type into the Serial Monitor and tell you what the LEDs, servos and serial output did.

It works with Claude Code, Claude Desktop, Cursor, Codex and any other client that speaks the Model Context Protocol.

The server builds a traffic light on an empty breadboard, then runs it in the Tinkercad simulator: green, yellow, red

examples/traffic-light.json, built and simulated by the server. The LEDs are read back from the simulator to check the order.

I wrote it to get through a course with 70-odd Arduino lab tasks that all had to be handed in as Tinkercad designs. Building them by hand took forever.

If you found sethski/tinkercad-mcp-server first: that one works by clicking and dragging in the editor. When I tried it in November 2026 it could not create a circuit or find the breadboard in the parts panel, and it had no way of knowing which hole a leg ended up in. This server changes the editor's circuit model directly, so parts land in the holes you name, and it reads the result back and checks it in the simulator.

Not affiliated with Autodesk. Tinkercad has no public API for Circuits; this uses the editor's internals, which can change without notice. See How it works.

What it can do

  • Create or open a design and build a whole circuit in one call: Arduino Uno, small breadboard, parts in the holes you name, colour-coded jumper wires routed around the board.

  • Write the Arduino sketch into the design.

  • Read a design back: every part, the hole under each pin, its settings, every wire, the code.

  • Run the simulator and sample LED brightness, servo angles and the Serial Monitor at the times you choose, while pressing buttons or sending serial input.

  • Change a setting between runs, like a potentiometer position or the distance an ultrasonic sensor sees, to test different inputs.

About 20 parts are supported: LEDs, resistors, buttons, potentiometers, servos, a piezo, the HC-SR04, TMP36, DC motors (with and without encoder), the L293D, an IR receiver, an RGB LED and a few more. The full list is in docs/parts.md.

Related MCP server: tinkercad-mcp-server

Setup

You need Node.js 20 or newer and Google Chrome.

Claude Code

Install it as a plugin. That adds the MCP server and the skill in one go:

/plugin install tinkercad-circuits --marketplace netchuu/tinkercad-circuits-mcp

From a shell: claude plugin marketplace add netchuu/tinkercad-circuits-mcp and then claude plugin install tinkercad-circuits@tinkercad-circuits-mcp.

If you only want the server: claude mcp add tinkercad-circuits -- npx -y tinkercad-circuits-mcp.

Codex

In ~/.codex/config.toml:

[mcp_servers.tinkercad-circuits]
command = "npx"
args = ["-y", "tinkercad-circuits-mcp"]

and the skill:

mkdir -p ~/.codex/skills/tinkercad-circuits
curl -fsSL https://raw.githubusercontent.com/netchuu/tinkercad-circuits-mcp/main/skills/tinkercad-circuits/SKILL.md -o ~/.codex/skills/tinkercad-circuits/SKILL.md

Claude Desktop, Cursor and other clients

Add this to the client's MCP config: claude_desktop_config.json for Claude Desktop, ~/.cursor/mcp.json for Cursor.

{
  "mcpServers": {
    "tinkercad-circuits": {
      "command": "npx",
      "args": ["-y", "tinkercad-circuits-mcp"]
    }
  }
}

Sign in to Tinkercad

Once, whichever client you use:

npx -y tinkercad-circuits-mcp login

This opens Chrome on the Tinkercad page. Sign in the way you normally do; it is an ordinary Chrome window. It closes once you reach your dashboard. The session lives in ~/.tinkercad-circuits-mcp/profile; your password never passes through this project.

Restart your client afterwards so it picks up the server.

Let your agent set it up

You can hand the setup to Claude Code or Codex:

Set up the Tinkercad Circuits MCP server from https://github.com/netchuu/tinkercad-circuits-mcp, following its README.

The agent can do everything except signing in. It should run npx -y tinkercad-circuits-mcp login and ask you to sign in in the Chrome window that opens; then, after a restart, tinkercad_status should report signedIn: true.

From source

git clone https://github.com/netchuu/tinkercad-circuits-mcp.git
cd tinkercad-circuits-mcp
npm install
npm run build
npm run login

and use node /full/path/to/tinkercad-circuits-mcp/dist/index.js as the command in the configs above.

Using it

Ask for a circuit in plain words:

Build a traffic light in Tinkercad: red, yellow and green LEDs on pins 10, 9 and 8, green for 5 s, yellow 2 s, red 5 s. Then run it and check the order.

Claude turns that into a spec for tinkercad_build_circuit. A smaller one, a single blinking LED, looks like this:

{
  "title": "Blink an LED on a breadboard",
  "parts": [
    { "ref": "r1", "type": "resistor", "at": "5g", "pin": "1", "angle": 90, "props": { "ohms": 220 } },
    { "ref": "led1", "type": "led", "at": "9i", "pin": "anode", "angle": 180 }
  ],
  "wires": [["uno.GND1", "T-1"], ["uno.D13", "5i"], ["10h", "T-10"]],
  "code": "void setup() { pinMode(13, OUTPUT); }\nvoid loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); }"
}

The resistor spans columns 5 to 9 in row g, the LED's anode shares column 9 and its cathode goes to the ground rail. The format is explained in docs/circuit-spec.md, and there are more complete circuits in examples/.

To check the circuit, Claude calls tinkercad_simulate:

{ "samples_ms": [500, 1500, 2500], "leds": ["led1"] }

and gets back, for each sample, whether led1 was on and the simulator clock at that moment.

Tools

Tool

What it does

tinkercad_status

Checks that the Chrome profile is signed in to Tinkercad.

tinkercad_list_parts

Parts, pin names and settings.

tinkercad_open_circuit

Opens a design by link or id, or creates a new one.

tinkercad_build_circuit

Replaces the open circuit with the one in the spec and saves the code.

tinkercad_get_circuit

Reads the saved circuit back.

tinkercad_set_code

Replaces the sketch.

tinkercad_set_part

Changes a part setting (knob position, sensor distance).

tinkercad_simulate

Runs the simulator with button presses and serial input; returns LED, servo and serial readings.

tinkercad_screenshot

Returns a picture of the editor.

Limits

  • One small breadboard per circuit, Arduino Uno only.

  • Tinkercad has no KY-023 joystick, LM35, HC-05 Bluetooth module, L298N or IR line sensor. The skill lists the usual stand-ins (two potentiometers, TMP36, the Serial Monitor, L293D, pushbuttons).

  • The simulator runs slower than real time, and LED readings come from a screenshot, so leave some margin in your timings. Hold buttons for at least 0.6 s.

  • Only one process can use the Chrome profile at a time.

  • If Tinkercad changes its editor internals, building will fail until the code is updated. npm run smoke tells you quickly whether it still works.

Documentation

Development

npm test          # unit tests for the spec and catalog, no browser needed
npm run smoke     # builds and simulates two circuits in your Tinkercad account
npm run parts-doc # regenerates docs/parts.md

The smoke test creates a design called "tinkercad-circuits-mcp smoke test". Pass its link to reuse it: npm run smoke -- https://www.tinkercad.com/things/<id>.

Issues and pull requests are welcome, especially new parts. Adding one is mostly finding its device id (the data-did attribute on the tile in Tinkercad's parts panel) and its pin names; How it works has the details.

License

MIT

Available Tools

9 tools
tinkercad_build_circuitBuild a circuitA

Replaces everything in the open circuit with the one described here: an Arduino Uno, one small breadboard, the listed parts placed in breadboard holes, the wires and (optionally) the Arduino code. If no circuit is open, a new one is created. Holes are named like '12e' (columns 1-30, rows a-j; a-e and f-j are the two halves). Rails are T+, T-, B+, B- with an optional column (T-12). Wire ends are holes, rails, uno.PIN (uno.D13, uno.A0, uno.5V, uno.GND1) or ref.pin (led1.anode). pin says which leg of the part goes into at; the part is rotated until all legs land in holes. See docs/circuit-spec.md for examples.

Inputs: code, parts, title, wires, +1 more.

tinkercad_get_circuitRead the open circuitA
Read-only

Returns the open circuit as Tinkercad has it saved: each part with the hole under every pin, its properties, every wire and the Arduino code.

Inputs: no named parameters.

tinkercad_list_partsList partsA
Read-only

Lists the parts that can go in a circuit spec, with their pin names, pin offsets (in breadboard holes, at angle 0) and settable properties. Filter with a word like 'led', 'motor' or 'sensor'.

Inputs: query.

tinkercad_open_circuitOpen or create a circuitA

Opens an existing Tinkercad Circuits design (link or id) in the editor, or creates a new one with target "new". Optionally renames it.

Inputs: target (required), title.

tinkercad_screenshotScreenshotB
Read-only

Returns a PNG of the Tinkercad window as it is right now.

Inputs: no named parameters.

tinkercad_set_codeSet the Arduino codeB

Replaces the Arduino sketch of the open circuit (text code, not blocks).

Inputs: code (required).

tinkercad_set_partChange a part settingA

Changes a setting on a part that is already in the circuit, e.g. a potentiometer position (0-1) or the distance an ultrasonic sensor sees. Use it between simulation runs to test different inputs.

Inputs: ref (required), props (required).

tinkercad_simulateRun the simulationA

Starts the simulator, optionally presses buttons and types into the Serial Monitor, and samples LED brightness, servo angles and simulator time at the given moments (milliseconds after start). Returns the samples and the end of the Serial Monitor text. The simulator usually runs a bit slower than real time, so leave some margin and check sim_time.

Inputs: samples_ms (required), leds, serial, servos, +4 more.

tinkercad_statusCheck Tinkercad sign-inA
Read-only

Opens the Tinkercad dashboard in the server's Chrome profile and reports whether you are signed in. If not, the user has to run npm run login once.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool maps to a distinguishable action: status check, part catalog, open/create, build, read state, set code, set a part property, simulate, screenshot. The only soft overlaps are open_circuit vs build_circuit (both can create a circuit) and set_code vs build_circuit's optional code argument, but the descriptions make the primary purpose of each clear enough.

    Naming Consistency4/5

    All tools share the tinkercad_ prefix and snake_case, with a mostly verb_noun shape (list_parts, open_circuit, build_circuit, get_circuit, set_code, set_part). tinkercad_status and tinkercad_screenshot are noun-only outliers, but the pattern remains predictable.

    Tool Count5/5

    Nine tools is well within the sweet spot and every tool covers a distinct phase of the workflow: auth check, discovery, circuit setup, mutation, inspection, simulation, and visual capture. No tool looks redundant or padded.

    Completeness4/5

    The surface covers the full loop of discover parts, open/build, read back, tweak code and part settings, simulate, and screenshot, so an agent can accomplish the core task. Gaps are incremental edits (removing a single wire or part, moving a part without a full rebuild) and persistence/export, which are workable via build_circuit replacement but add friction.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables building and simulating electronic circuits by converting netlist descriptions or drawings into live CircuitJS1 simulation URLs.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to build and simulate Tinkercad Circuits through a real Chrome session, including placing parts, wiring pins, writing Arduino code, running simulations, and reading serial output.
      4
      17
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI to operate Tinkercad's 3D editor through a semantic toolset, using remote browser automation to create and manipulate 3D designs.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables clients to read and diagnose Arduino telemetry, retrieve Uno R3 component specifications and wiring guidance, persist bounded project notes, run synthetic lab simulations, propose confirmation-gated virtual actions, and compile bundled firmware without uploading it.
      MIT