Skip to content

Installation

Mehrdad Pajuhaan edited this page Nov 30, 2026 · 1 revision

Installation

Robot Studio runs from a clone of its repository. There is no separate installer: you clone it, install its packages with npm and start it.

Requirements

What Notes
Windows The platform Robot Studio is developed and tested on. Some optional parts, such as the native KiCad router and the Freerouting bridge, are verified on Windows x64 only.
Git To clone the repository. Also used later if you turn on Git versions for a project.
Node.js 24 LTS Runs the build, the server and the Electron window.
An internet connection For npm install. After that, designing works offline (see FAQ).

Programs such as KiCad, PrusaSlicer and arduino-cli are optional. Each one adds a capability (KiCad's checks, slicing, compiling firmware). The studio finds them on your computer, and some of them can be downloaded for you after you agree. See External Programs and Add-ons.

Install and run

In PowerShell:

git clone https://github.com/Niomatic/robot-studio.git
cd robot-studio
npm install
npm run dev

What npm install does

Besides the npm packages of the app, its postinstall step:

  • downloads the Electron executable (the desktop shell the window runs in);
  • installs the EDA package folder eda/ (the pinned tscircuit set used for PCB interchange, checks and fabrication files);
  • installs ONNX Runtime into runtimes/onnx/ (used to run AI models on your computer) and prunes it to the binaries for your computer.

What npm run dev does

  • Opens the Robot Studio window.
  • Starts the studio's server, which owns the open project and serves MCP for AI agents on http://127.0.0.1:7801/mcp (Full) and http://127.0.0.1:7801/mcp/compact (Compact). See Connect an AI Agent.
  • Serves the same user interface at http://localhost:5173 for a browser. Native features such as file dialogs and window screenshots need the desktop window.
  • Reloads live: interface changes hot-reload, and changes to the core, the server or the Electron shell restart the app automatically. Closing the window ends the session.

On a fresh install the window opens on the sample robot Hexapod H1 (see Sample Robots). After that it opens the project you had open last. The Home page offers New project, Open project…, the sample robots, Continue where you left off and Recent projects, and a Design it with an AI agent strip with a How to connect button.

npm start

npm start builds the app and launches a production preview instead of the live-reload session.

Updating

From the robot-studio folder:

git pull
npm install
npm run dev

Run npm install after every pull: it updates packages and the pinned EDA and ONNX runtimes. The sample robots come with the repository in samples/.

Where things are stored

The app keeps its data in its data folder, %APPDATA%\Robot Studio:

Path in the data folder What it holds
projects\<project name>\ Each project as a package folder with its manifest project.rsproj (see Project Format)
tools\ Programs the studio downloaded after you agreed, such as arduino-cli
exports\ Exported files, when you did not choose another folder
settings.json Your own settings, for every project

A project is saved by itself as you and the agent work. Export project… writes the whole project as one <name>.robotstudio file that you can share. Open project… opens a project.rsproj file, a project folder or a .robotstudio file.

Troubleshooting

Check that the server is running. Open http://127.0.0.1:7801/health in a browser. It answers with a short JSON object that includes the open project's name and number of parts.

Port 7801 is taken. The server listens on 127.0.0.1:7801. If that port is in use, it tries the next ports (7802, 7803 and so on, up to ten more). The Connect an AI agent dialog always shows the address actually in use. Register your agent again with that address. The canonical command and the repository's .mcp.json assume port 7801.

Opening /mcp in a browser shows "Method not allowed". That is expected. The MCP endpoint only accepts POST requests from an MCP client.

"Robot Studio only accepts connections from this machine." The server refuses requests from other computers and from host names other than 127.0.0.1, localhost and [::1]. Run the agent on the same computer.

An agent's request waits or fails with "needs the user's approval". Downloads, uploads to boards, prints and similar actions wait for you to click Allow in the window. Keep the Robot Studio window open. A request that is not answered within three minutes is refused.

A program shows "Not found". Open Settings (the gear in the top bar) → Programs. It lists KiCad, the KiCad router, Arduino CLI, clangd and System Python, with what each is for, where it was found and Look again.

You want to experiment without touching your projects. Use a sandbox:

Command What it starts
npm run sandbox A second, isolated app window with its own temporary data folder and MCP on port 7811
npm run sandbox:web An isolated backend for the web UI, without a window (keep npm run dev running for Vite). Its MCP port is 7831 by default, and it builds its workers under .tools/web-sandbox

A sandbox whose port is taken also moves to the next free port without saying so: the address it prints is the one it asked for. Its own Connect an AI agent dialog shows the address it really uses.

Clone this wiki locally