Connect your agent
Set up zolid-mcp for Claude Code, Cursor, Claude Desktop, Codex or any MCP client, open the live view, and fix common connection problems.
zolid-mcp is the Zolid tool server your agent talks to. It runs on your computer, includes the 3D engine, saves projects to a folder and serves a live view of the model in your browser. Your agent starts it for you; you only add it once.
Requirements: Node.js 20 or newer, and an agent that supports MCP (Model Context Protocol) servers over stdio.
Every command below runs zolid-mcp@latest, so each new agent session starts the newest release (and its studio). Without @latest, npx can keep using an older copy it downloaded before.
Claude Code
claude mcp add -s user zolid -- npx -y zolid-mcp@latest-s user makes Zolid available in every folder you open Claude Code in, not just the current one.
Start a new Claude Code session and run /mcp to check that zolid is connected.
Cursor
Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{ "mcpServers": { "zolid": { "command": "npx", "args": ["-y", "zolid-mcp@latest"] } }}Then check in Cursor's settings, under MCP, that the zolid server is enabled.
Claude Desktop
Add the same block to claude_desktop_config.json, then quit and restart the app:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "zolid": { "command": "npx", "args": ["-y", "zolid-mcp@latest"] } }}If the file already has an mcpServers section, add the zolid entry inside it.
Codex
codex mcp add zolid -- npx -y zolid-mcp@latestOr add this to ~/.codex/config.toml:
[mcp_servers.zolid]command = "npx"args = ["-y", "zolid-mcp@latest"]Other agents
Any MCP client that can start a stdio server works. Use:
| Setting | Value |
|---|---|
| Command | npx |
| Arguments | -y zolid-mcp |
| Transport | stdio |
Hosted chat apps that can't start programs on your computer (for example claude.ai in the browser) can't use zolid-mcp. Use the studio there instead.
Try it
Ask your agent for something concrete:
Make a 60 × 40 mm cable organizer with five slots, check it's printable and export a 3MF.
Good agents call help first to read the Pipe reference, then build a few steps, look at the result and export. See Agent tools for prompting tips.
The live view
When zolid-mcp starts, it serves the Zolid studio on a port of localhost. The agent's first build result includes the link:
Watch live: http://localhost:51234/app?live=3f9c…&project=cable-organizerOpen it in any browser. You'll see:
- the model, updated after every step;
- the History panel, with each step labelled agent;
- the full script, printability and export buttons.
The badge reads Live · driven by your agent. The tab is read-only: to change the model, ask your agent. If the connection drops, the badge shows Agent disconnected · retrying until it's back.
The link stays the same from one session to the next: zolid-mcp keeps its port and its secret token, so a bookmarked live tab works again as soon as your agent starts zolid-mcp. If that port is taken by another program, it picks a free one and the next build shows the new link.
The live view is only the studio. Everything else is on zolid.dev: the logo, the docs button, sign-in, pricing, the gallery and the profile library open zolid.dev in a new tab, and the live tab stays open. When you're signed in with zolid-mcp login, the header shows Synced · Open on zolid.dev, which opens the project in your account. Without an account it shows a small zolid.dev ↗ link. To sign in for your agent, use zolid-mcp login (see Sync agent projects), not the browser tab.
The live view listens only on 127.0.0.1 and needs the secret token in the link, so other devices and other websites can't reach it. The token is made once per computer and kept in zolid-mcp's settings folder, readable only by you. To make a new one (old links stop working), start zolid-mcp once with --new-live-token; zolid-mcp logout also makes a new one next time.
To open the live view automatically, add --open to the arguments:
claude mcp add -s user zolid -- npx -y zolid-mcp@latest --openWhere projects are saved
Each project is a folder in ~/Zolid:
~/Zolid/ phone-stand/ project.json # the project: its full step history assets/ # meshes brought in with import (STL, OBJ, GLB) base.stl exports/ # files written by export phone-stand.stl phone-stand-print.3mfproject.json plus assets/ is the whole model: open it from any session and Zolid rebuilds it. Each imported file is checked against the content hash recorded in project.json, so don't edit files in assets/. To keep projects somewhere else, pass --dir:
claude mcp add -s user zolid -- npx -y zolid-mcp@latest --dir ~/Documents/zolid-projectszolid-mcp only writes inside that folder (and its own settings folder), and never follows a link out of it. The only other files it reads are the ones your agent imports, never its settings folder, where your login is kept.
Options
zolid-mcp [--dir <folder>] [--open] [--new-live-token] run the server (what your agent starts)zolid-mcp login | logout | whoami link a Zolid account (optional)zolid-mcp visibility public | private the default for new synced projectszolid-mcp telemetry on | off | status opt-in usage counts (off by default)zolid-mcp --version | --helpLinking an account is optional; see Accounts, sync and sharing.
Troubleshooting
The agent doesn't list Zolid's tools. Restart the agent after adding the server (Claude Desktop must be fully quit). In Claude Code, /mcp shows the server's status and errors.
npx: command not found or the server exits at once. Install Node.js 20 or newer and check node --version in a new terminal. Desktop apps may not see a Node installed by a version manager; use the full path to npx as the command (find it with which npx).
The first start is slow. npx downloads zolid-mcp the first time. Later starts use the cache.
I can't find the Watch live link. It's in the first build result of each session. Ask the agent "what's the live view link?". zolid-mcp also prints it to its log (stderr) when it starts.
The live tab says Agent disconnected. The agent session ended or restarted. The tab reconnects by itself when zolid-mcp runs again (reload it if it doesn't). If the port changed because another program took it, take the new link from the next build.
More in Troubleshooting.