tinkercad-mcp-server
Allows creating and editing circuits in Tinkercad Circuits, including placing and wiring components, writing Arduino code, running simulations, and reading the serial monitor.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tinkercad-mcp-server Build a blink circuit in Tinkercad with an Arduino Uno, LED, and resistor, then start the simulation."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
A free Tinkercad / Autodesk account
Git, if you are cloning this repo
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-server2. Install and build
npm install
npx playwright install chromium
npm run buildnpm run build creates dist/index.js. That file is what Cursor, Claude, and Codex will launch.
3. Sign in to Tinkercad
npm startA 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.jsmacOS / 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
Open Cursor Settings → MCP
Or create
.cursor/mcp.jsonin this project (a template is already there)Paste:
{
"mcpServers": {
"tinkercad-circuits": {
"command": "node",
"args": ["REPLACE_WITH_FULL_PATH_TO_dist/index.js"]
}
}
}Save, then reload MCP servers (or restart Cursor)
Confirm
tinkercad-circuitsis on and lists tools
Claude Desktop
Open the Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Merge the
mcpServersblock fromclients/claude-desktop.jsonPut your real
dist/index.jspath inargsRestart Claude Desktop
Codex
Open
~/.codex/config.toml(or your project Codex config)Put your real
dist/index.jspath inargsRestart Codex
6. Check that it works
From this folder:
npm run list-toolsYou 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? |
|
Open or create a circuit |
|
See parts, wires, code |
|
Screenshot the editor |
|
Known part names |
|
Add / move / delete a part |
|
Wire or unwire |
|
Resistance, color, etc. |
|
Read or write Arduino code |
|
Run / stop sim, read serial |
|
Place, wire, and code in one go |
|
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 |
| Chrome profile folder (default: |
| Where screenshots are saved |
| 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 UIHow it works
Cursor / Claude / Codex
│ stdio
▼
tinkercad-mcp-server (Node)
│ Playwright
▼
Chrome (saved login) → tinkercad.com Circuits editorDetails 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 toolstinkercad_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 pinsAIdempotent
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 componentADestructiveIdempotent
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 wireBDestructiveIdempotent
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 circuitARead-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 codeARead-onlyIdempotent
Open the Code panel, switch to Text mode, and return the sketch.
Args:
response_format
Inputs: response_format.
tinkercad_list_componentsList known Circuits componentsARead-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 statusARead-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 componentBIdempotent
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 circuitAIdempotent
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:
target="new"
target="abc123"
Error Handling:
Login wall: sign in in Chrome, then retry
Non-Tinkercad URLs are rejected
Inputs: target (required), response_format.
tinkercad_read_serialRead serial monitorARead-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 editorARead-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 codeADestructiveIdempotent
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 attributeBIdempotent
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 simulationBIdempotent
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
Scored across 17 tools
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.
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.
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.
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
Related MCP Connectors
Build, check and open Arduino, ESP32 and Pico circuits with code in the Mokxi simulator.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Let your AI agent operate any website through a real, logged-in browser session.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables LLMs to interact with MIT App Inventor, AndroidBuilder, Kodular, or Niotron IDEs in real-time, controlling the Designer and Blocks workspace via Chrome DevTools Protocol.101MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI to operate Tinkercad's 3D editor through a semantic toolset, using remote browser automation to create and manipulate 3D designs.MIT
- AlicenseAqualityCmaintenanceEnables 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.41262 npmMIT
- AlicenseAqualityBmaintenanceEnables 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.966 npm2MIT