Clayground
SearchDiscord (opens in a new tab)Sculpt free

Set up the Clayground MCP server in Claude Code, Claude Desktop or Cursor

The server opens Clayground’s browser studio for your AI assistant and gives it tools to sculpt, look at its work and export. Setup is one command or one block of JSON. I make it, so weigh that.

A designer-toy figure with a blond bob, two coil buns and a purple hoodie, seen at a three-quarter angle, sculpted by an AI agent through Clayground’s MCP server

To let Claude sculpt in 3D, add the Clayground MCP server. In Claude Code, run claude mcp add clayground -- npx -y github:helloama/clayground-MCP. In Claude Desktop or Cursor, add the same command to the mcpServers settings. You need Node 20 or newer and Chrome or Chromium. The server opens the free studio itself, and the clay never leaves your computer.

What you need

  • Node 20 or newer. Check with node --version.
  • Chrome or Chromium. If you have neither, run npx playwright install chromium.
  • An MCP client that starts local servers. Claude Code, Claude Desktop and Cursor do. ChatGPT’s developer mode connects to remote servers only, so it can’t run this one.
  • Nothing else. No account, no Blender, no API key. The server is free and open source under the MIT license.

Claude Code

Run this once. The server isn’t on npm, so npx fetches it from GitHub, and the first start takes longer. To keep a version fixed, add a tag or commit after the name, like github:helloama/clayground-MCP#tag.

claude mcp add clayground -- npx -y github:helloama/clayground-MCP
claude mcp list

Claude Desktop

Open Settings, then Developer, then Edit Config. The file is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows, per the MCP docs. Add the server, save, then quit Claude Desktop completely and open it again.

{
  "mcpServers": {
    "clayground": {
      "command": "npx",
      "args": ["-y", "github:helloama/clayground-MCP"]
    }
  }
}

Cursor and other clients

Open the client’s MCP settings and add the same server entry as above: command npx, arguments -y and github:helloama/clayground-MCP. Any client that starts local (stdio) servers takes it.

An agent that already has a browser

If your agent already drives a browser, such as Claude in Chrome or Playwright, it doesn’t need the server. Open clayvr.com/sculpt, run clayground.help() in the page and follow it. The whole manual is at llms-full.txt. window.clayground is the same door the server uses.

The studio also offers that door as WebMCP tools: read-sculpting-manual, get-sculpt-state and edit-sculpt. WebMCP is a draft from the W3C Web Machine Learning Community Group, and a page registers tools through document.modelContext. On December 5, 2026 I tried Chrome for Testing 158. With no flags, document.modelContext doesn’t exist. With WebMCP testing switched on, the studio registers the three tools. So WebMCP is for people trying the draft today, and the server above works everywhere.

await clayground.new();
await clayground.run([{ do: "recipe", name: "mug", height: 0.8 }]);
await clayground.check();

What to ask first

The first call opens the studio and clears the ball of clay it starts with, and says so. Then try one of these, which are the kinds of requests people type:

Six views of a rainbow designer toy joined into one picture, with the camera angle written under each view
One look call on the November 16 toy: six views joined into a single picture. This is what the agent works from between steps.
  • “Read the sculpt manual, then sculpt a pangolin. Block out the big forms, look from several angles after every step, run the critic, and keep a checkpoint before each big change.”
  • “Sculpt an acorn with a textured cap, run the print check and fix whatever fails.”
  • “Make a mug with the recipe, check that it prints and export an STL.”

Where the files go

  • ~/clayground-agent holds the pictures (look-*.jpg and .png), the exports (GLB, OBJ, STL, PNG and .clayweb) and journal.json. Change it with --out, and use one folder for each agent.
  • journal.json is the notebook: the goal and every change that worked. If the server restarts, the new browser has no clay, and sculpt_status with resume: true rebuilds it.
  • Open a GLB in the GLB viewer or in Blender, or bring it back into the browser studio with Import GLB.

Options

Add these after the package name.

OptionWhat it does
--headedShows the browser window, so you can watch the sculpt grow.
--cdp <endpoint>Drives your own Chrome, started with --remote-debugging-port=9222 (http://127.0.0.1:9222).
--out <folder>Where pictures and exports go. Default ~/clayground-agent.
--url <studio url>The studio page. Default https://www.clayvr.com/sculpt. Use your own dev server to test.
--width, --heightThe window size. Default 1280 by 900.

If something goes wrong

What you seeWhyWhat to do
No browser foundThe server needs Chrome or Chromium.Install Chrome, or run npx playwright install chromium.
A call is refused with a message naming a fieldAn operation had a value outside its range. Nothing changed.Read the message, fix that field and send it again.
Every call takes secondsA computer with no graphics card draws the studio in software.Expected on a headless machine. Fewer layers and a lower detail help.
Normal, depth or layers pictures failThose passes need WebGL. Color pictures don’t.Run where the browser has WebGL.
The sculpt is gone after a restartA new browser starts with no clay.Ask for sculpt_status with resume: true.
window.clayground is missingThe page isn’t the studio, or it didn’t load.Open /sculpt. For a dev server, pass --url.

Questions people ask

Does the Clayground MCP server work with ChatGPT?

Not in ChatGPT’s own chat. Its developer mode connects to remote servers, and OpenAI’s docs list SSE and streaming HTTP, while this server runs on your computer. Use Claude Code, Claude Desktop, Cursor or another client that starts local servers.

Is the server on npm?

No. npx runs it straight from GitHub: npx -y github:helloama/clayground-MCP. The code is MIT licensed and small enough to read before you run it.

Can I watch the agent sculpt?

Yes. Add --headed to show the browser window, or --cdp to drive your own Chrome.

Is my sculpt uploaded anywhere?

No. The clay stays in the browser the server opens, and pictures and exports go to a folder on your computer. The pictures the agent takes go to the AI model you use, as with any tool result.

What can the agent not do?

It can’t publish to Clayground’s gallery or sign in, and everything it makes is marked madeWith: agent. Can AI make a 3D model? covers what it can and can’t sculpt.

Sources

Checked December 5, 2026.

Next up