Skip to main content
Glama
tinkercad-mcp-server

tinkercad-mcp-server

by sethski

Tinkercad Circuits MCP

Let Cursor, Claude, or Codex build circuits in Tinkercad Circuits: place parts, wire pins, write Arduino code, run the simulator, and read the serial monitor.

Tinkercad has no public API. This server opens a real Chrome window, keeps you logged in, and drives the editor for the AI.

What you need

Related MCP server: TinkerMCP

Setup (do this once)

1. Get the code

git clone https://github.com/sethski/tinkercad-mcp-server.git
cd tinkercad-mcp-server

2. Install and build

npm install
npx playwright install chromium
npm run build

npm run build creates dist/index.js. That file is what Cursor, Claude, and Codex will launch.

3. Sign in to Tinkercad

npm start

A Chrome window opens. Sign in with your Autodesk account, then close the terminal with Ctrl+C.

You only do this once. The login is saved in .browser-profile/ (not committed to git). Later, the MCP server reuses that session.

If npm start says you are not logged in, leave Chrome open, finish sign-in, and run npm start again. Or from the AI, call tinkercad_login_status.

4. Copy your server path

You need the full path to dist/index.js.

  • Windows example: C:/Users/you/tinkercad-mcp-server/dist/index.js

  • macOS / Linux example: /Users/you/tinkercad-mcp-server/dist/index.js

In the configs below, replace REPLACE_WITH_FULL_PATH_TO_dist/index.js with that path. Use forward slashes even on Windows.

5. Connect an AI client

Pick the app you use. You can add more than one.

Cursor

  1. Open Cursor Settings → MCP

  2. Or create .cursor/mcp.json in this project (a template is already there)

  3. Paste:

{
  "mcpServers": {
    "tinkercad-circuits": {
      "command": "node",
      "args": ["REPLACE_WITH_FULL_PATH_TO_dist/index.js"]
    }
  }
}
  1. Save, then reload MCP servers (or restart Cursor)

  2. Confirm tinkercad-circuits is on and lists tools

Claude Desktop

  1. Open the Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Merge the mcpServers block from clients/claude-desktop.json

  3. Put your real dist/index.js path in args

  4. Restart Claude Desktop

Codex

  1. Open ~/.codex/config.toml (or your project Codex config)

  2. Copy clients/codex-config.toml

  3. Put your real dist/index.js path in args

  4. Restart Codex

6. Check that it works

From this folder:

npm run list-tools

You should see 17 tools, including tinkercad_login_status and tinkercad_build_circuit.

Then in Cursor / Claude / Codex, ask:

Check Tinkercad login status, then open a new circuit.

If login is missing, sign in in the Chrome window that appears and ask again.

First circuit to try

Ask the AI:

Build a blink circuit in Tinkercad: Arduino Uno, red LED, 220 ohm resistor. Wire D13 to the LED anode, LED cathode to the resistor, resistor to GND. Write blink code that also prints HIGH/LOW to serial, start the simulation, and read the serial monitor.

That uses tinkercad_open_circuit, tinkercad_build_circuit (or the smaller tools), tinkercad_start_simulation, and tinkercad_read_serial.

Keep Chrome visible the first few times so you can see parts land on the canvas.

Tools

What you want

Tool

Am I signed in?

tinkercad_login_status

Open or create a circuit

tinkercad_open_circuit (target = URL, thing id, or new)

See parts, wires, code

tinkercad_get_circuit

Screenshot the editor

tinkercad_screenshot

Known part names

tinkercad_list_components

Add / move / delete a part

tinkercad_add_component, tinkercad_move_component, tinkercad_delete_component

Wire or unwire

tinkercad_connect_pins, tinkercad_delete_wire

Resistance, color, etc.

tinkercad_set_component_attribute

Read or write Arduino code

tinkercad_get_code, tinkercad_set_code

Run / stop sim, read serial

tinkercad_start_simulation, tinkercad_stop_simulation, tinkercad_read_serial

Place, wire, and code in one go

tinkercad_build_circuit

Pin names look like uno.D13 or led1.anode. Call tinkercad_get_circuit after placing parts so you use real ids.

Optional settings

Variable

Meaning

TINKERCAD_PROFILE_DIR

Chrome profile folder (default: .browser-profile/ in this repo)

TINKERCAD_SCREENSHOT_DIR

Where screenshots are saved

TINKERCAD_HEADED=0

Hide Chrome after you have already logged in. First login should stay headed.

Extra commands

npm test              # unit tests, no Tinkercad login
npm run list-tools    # stdio handshake, same as Cursor/Claude/Codex
npm run spike         # dump what the live page exposes
npm run e2e           # live blink circuit (needs login)
npm run inspector     # MCP Inspector UI

How it works

Cursor / Claude / Codex
        │  stdio
        ▼
tinkercad-mcp-server (Node)
        │  Playwright
        ▼
Chrome (saved login) → tinkercad.com Circuits editor

Details of what is scriptable: docs/spike-findings.md.

Autodesk can change the editor HTML. Selector updates stay in src/services/editor-bridge.ts and src/injected/.

Limits

  • Circuits only (3D design and Codeblocks are not in this version)

  • You must stay logged in; there is no official Autodesk API key

  • Place and wire are UI automation, so they can break when Tinkercad ships a new editor

  • One Chrome profile at a time; do not commit .browser-profile/

Evaluations

Read-only questions live in evaluations/tinkercad-circuits.xml. Catalog questions work with no circuit open. Circuit questions assume evaluations/SAMPLE_CIRCUIT.md.

License

MIT. See LICENSE.

Available Tools

17 tools
tinkercad_add_componentAdd Circuits componentA

Search the Circuits parts panel and drop a component onto the canvas.

Args:

  • component (string): Catalog id or search text (led, resistor, Arduino Uno R3)

  • x (number): Canvas X in pixels (default 320)

  • y (number): Canvas Y in pixels (default 240)

  • response_format

Returns: Updated circuit snapshot. Prefer ids from the returned components list for later wiring.

Error Handling:

  • Unknown part: call tinkercad_list_components

  • Editor closed: call tinkercad_open_circuit first

Inputs: component (required), x, y, response_format.

tinkercad_build_circuitBuild circuit from netlistA

Place components, set attributes, wire pins, and optionally write Arduino code in one call.

This is a convenience workflow over the primitive tools. Prefer primitives when you need to recover from a single failed step.

Args:

  • start_new (boolean): Open a new circuit first

  • components: [{ ref, type, x?, y?, attributes? }]

  • wires: [{ from, to }] using ref.pin (example: uno.D13 -> led1.anode)

  • code (string, optional)

  • response_format

Example: components: [ { "ref": "uno", "type": "arduino_uno_r3", "x": 220, "y": 220 }, { "ref": "led1", "type": "led", "x": 520, "y": 220, "attributes": { "color": "red" } }, { "ref": "r1", "type": "resistor", "x": 520, "y": 340, "attributes": { "resistance": "220" } } ] wires: [ { "from": "uno.D13", "to": "led1.anode" }, { "from": "led1.cathode", "to": "r1.pin1" }, { "from": "r1.pin2", "to": "uno.GND" } ]

Inputs: components (required), code, title, wires, +2 more.

tinkercad_connect_pinsWire two pinsA
Idempotent

Click-to-wire two pins on the open circuit.

Args:

  • from (string): componentId.pinName (example: uno.D13)

  • to (string): componentId.pinName (example: led1.anode)

  • response_format

Call tinkercad_get_circuit first so pin names match what the editor actually exposed.

Inputs: to (required), from (required), response_format.

tinkercad_delete_componentDelete Circuits componentA
DestructiveIdempotent

Select a component and delete it from the open circuit.

Args:

  • component_id (string)

  • response_format

This removes the part and its attached wires.

Inputs: component_id (required), response_format.

tinkercad_delete_wireDelete a wireB
DestructiveIdempotent

Select a wire by id and delete it.

Args:

  • wire_id (string): Id from tinkercad_get_circuit

  • response_format

Inputs: wire_id (required), response_format.

tinkercad_get_circuitInspect open circuitA
Read-onlyIdempotent

Read the currently open Circuits editor: components, pins, wires, code, serial, and simulation flag.

Call this after every build step so later tools use real component ids.

Args:

  • include_code (boolean, default true)

  • include_serial (boolean, default true)

  • include_pins (boolean, default true)

  • response_format ('markdown' | 'json')

Returns: Structured circuit state. Component ids from this tool are required by move/delete/wire tools.

Inputs: include_code, include_pins, include_serial, response_format.

tinkercad_get_codeRead Arduino codeA
Read-onlyIdempotent

Open the Code panel, switch to Text mode, and return the sketch.

Args:

  • response_format

Inputs: response_format.

tinkercad_list_componentsList known Circuits componentsA
Read-onlyIdempotent

List the local catalog of Tinkercad Circuits parts this server knows how to search for.

This does not scrape Autodesk. It is the allowed vocabulary for tinkercad_add_component and tinkercad_build_circuit.

Args:

  • query (string, optional): Filter by id, label, or alias

  • response_format ('markdown' | 'json')

Inputs: query, response_format.

tinkercad_login_statusTinkercad login statusA
Read-onlyIdempotent

Check whether the persistent Chrome profile is signed in to Tinkercad.

Use this first on a new machine. If it reports not logged in, complete Autodesk sign-in in the opened Chrome window, then call this tool again.

Args:

  • response_format ('markdown' | 'json'): Output format

Returns: loggedIn, current URL, and the next action to take.

Inputs: response_format.

tinkercad_move_componentMove Circuits componentB
Idempotent

Drag an existing component to a new canvas position.

Args:

  • component_id (string): Id from tinkercad_get_circuit

  • x, y (number)

  • response_format

Inputs: x (required), y (required), component_id (required), response_format.

tinkercad_open_circuitOpen Tinkercad circuitA
Idempotent

Open an existing Circuits design or start from the Circuits dashboard.

Args:

  • target (string): Full tinkercad.com URL, a thing id, or 'new'

  • response_format ('markdown' | 'json')

Returns: Circuit snapshot after the editor is ready.

Examples:

Error Handling:

  • Login wall: sign in in Chrome, then retry

  • Non-Tinkercad URLs are rejected

Inputs: target (required), response_format.

tinkercad_read_serialRead serial monitorA
Read-onlyIdempotent

Read text currently shown in the Circuits serial monitor.

Args:

  • wait_ms (number, default 1500): Delay before reading so the sketch can print

  • response_format

The Code panel is opened if needed. Empty output usually means the sketch never called Serial.begin / Serial.println, or simulation is stopped.

Inputs: wait_ms, response_format.

tinkercad_screenshotScreenshot Circuits editorA
Read-onlyIdempotent

Capture the visible Circuits editor as a PNG.

Use when SVG scrape is incomplete and you need to see placement, wiring, or LED state.

Returns: An image plus the temp file path.

Inputs: no named parameters.

tinkercad_set_codeWrite Arduino codeA
DestructiveIdempotent

Replace the entire Text-mode Arduino sketch.

Args:

  • code (string): Full sketch, including setup() and loop()

Switching from Blocks to Text is done automatically when the dropdown is present.

Inputs: code (required).

tinkercad_set_component_attributeSet component attributeB
Idempotent

Change an inspector field on a selected component (resistance, color, value).

Args:

  • component_id (string)

  • name (string): Field label, e.g. resistance or color

  • value (string): e.g. 220 or red

  • response_format

Inputs: name (required), value (required), component_id (required), response_format.

tinkercad_start_simulationStart Circuits simulationA

Press Start Simulation in the open editor.

After starting, wait and call tinkercad_read_serial or tinkercad_screenshot to observe results.

Inputs: no named parameters.

tinkercad_stop_simulationStop Circuits simulationB
Idempotent

Press Stop Simulation in the open editor.

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 17 tools

    Disambiguation4/5

    Each tool targets a clear editor action, and the descriptions make the intended usage explicit. Minor ambiguity exists between tinkercad_get_circuit (which can include code) and tinkercad_get_code, and between tinkercad_build_circuit and the primitive tools it wraps, but the documentation explains these relationships.

    Naming Consistency4/5

    All tools share the tinkercad_ prefix and almost all use snake_case verb_noun names like open_circuit, add_component, and delete_wire. A couple of names deviate from the strict verb_noun pattern, such as tinkercad_login_status and tinkercad_screenshot, so the consistency is strong but not perfect.

    Tool Count4/5

    With 17 tools, the set is slightly above the ideal 3-15 range, but every tool maps to a meaningful step in the Cireuits workflow: opening, inspecting, placing, wiring, coding, simulating, and observing. The convenience build_circuit tool adds some redundancy, but it is justified as a higher-level workflow over the primitives.

    Completeness4/5

    The tool surface covers the main build/edire/simulate lifecycle well: open, read, add, move, delete, wire, set attributes, write code, run simulation, read serial, and capture screenshots. Notable non-critical gaps include serial input, explicit save/export, undo/redo, and project-level operations like deleting or renaming circuits.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • 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
      A
      quality
      C
      maintenance
      Enables AI agents to observe and control a browser-based 2D robot simulator, including driving, configuring sensors and modules, running programs, and generating wiring, firmware, and parts lists for ESP32, Arduino Uno, or Raspberry Pi.
      41
      262 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to build Arduino breadboard circuits in Tinkercad Circuits, save sketches, read circuits back, and run simulations with button presses and serial input while sampling LEDs, servos, and serial output.
      9
      66 npm
      2
      MIT