# WebMCP in the editor

WebMCP will let an AI agent in your browser read and edit an open Womp project. Not open to all accounts yet.

**Use this when:** you use a browser agent that supports WebMCP and want it to work in a Womp project.

**Don't use this for:** reading the docs. Use llms.txt and the Markdown pages.

WebMCP is a proposed web API (a W3C community group draft) that lets a page give tools to an AI agent running in the browser. In Womp it is not open to all accounts yet; this page describes it ahead of release. The Womp editor registers its tools when you open a project you can edit, while you are signed in and the 3D view is connected. They are not available in print mode.

## Tools

| Tool | What it does |
| --- | --- |
| `set_scene_view` | Frames the scene in the viewport |
| `get_scene_edit_prompt` | Reads how to edit a Womp scene. Read only |
| `execute_javascript` | Edits the scene by running code in the page |

`execute_javascript` runs in the page with your permissions. Only use agents you trust with your projects.

The tools are available only while you are signed in and can edit the project.

## Use instead

- **Wrong move:** giving an untrusted agent access to a project with WebMCP. **Why:** `execute_javascript` is not sandboxed from the page. **Right move:** use [Spark (Womp AI)](https://womp.com/docs/make/spark.md), which edits your scene inside Womp.

---

Last checked: 2026-11-10. Womp version: Womp web app, November 2026.
