Verse for AI agents (MCP)
Verse Engine publishes 3D scenes, walkthroughs and worlds, from a single product to a whole city, as links that open in any browser on everyday devices. The Verse MCP server lets your AI assistant do that for you: Claude, ChatGPT, Cursor, VS Code or any other Model Context Protocol client can publish a file or a public URL and hand you back a Verse link, plus embed code, private share links and a guided camera tour.
It does nothing the REST API cannot: each tool is a thin wrapper over /v1/* through the JS SDK, including the resumable upload for big files.
Connect in one step: sign in with Verse
Add this URL to your assistant and sign in. No API key to copy.
https://verse.ctruh.com/mcpThe install page has one-click buttons for Cursor and VS Code, a desktop extension, and a 30-second demo.
- Claude (web and desktop): Settings → Connectors → Add custom connector → URL
https://verse.ctruh.com/mcp→ Add, then Connect. Verse is also listed among Claude's connectors. - Claude Code:
claude mcp add --transport http --scope user verse https://verse.ctruh.com/mcp, then run/mcpand choose Authenticate. - ChatGPT: Settings → Connectors → Create (developer mode) → URL
https://verse.ctruh.com/mcp, authentication OAuth → Create, then sign in. - Cursor: use Add to Cursor on the install page, or put
{ "mcpServers": { "verse": { "url": "https://verse.ctruh.com/mcp" } } }in~/.cursor/mcp.jsonand press Connect next to verse in Settings → MCP. - VS Code: use Install in VS Code on the install page, or put
{ "servers": { "verse": { "type": "http", "url": "https://verse.ctruh.com/mcp" } } }in.vscode/mcp.json, then Start and allow the sign-in. - Windsurf, Cline, Zed and other clients: add a remote (Streamable HTTP) server with the URL above. If the client only takes a fixed header, use an API key (below).
What happens when you sign in
The first time a client connects, a Verse page opens: sign in (email or WhatsApp code), check the app's name and press Allow. The app gets a key named "MCP · <app name>" in your workspace. It appears on your Account page under API keys, lasts 30 days and renews itself while the app is in use. Revoke it there to disconnect the app.
Try it
- "Put https://example.com/villa.glb on Verse and give me a link I can share."
- "Upload ./showroom.fbx to Verse, make it private, and give me an embed for my site."
- "I have a big file on my device. Give me a Verse upload link for it."
- "Set a slow orbit tour on my newest scene and give me the embed code."
Other ways to connect
API key, remote. Send Authorization: Bearer <key> (a key from the Account page, or your account token) to https://verse.ctruh.com/mcp; no sign-in happens. For Claude Code: claude mcp add --transport http verse https://verse.ctruh.com/mcp --header "Authorization: Bearer $VERSE_API_KEY".
Local (stdio), Node 20+. Runs on your machine, so it can upload files straight from your disk:
{ "mcpServers": { "verse": { "command": "npx", "args": ["-y", "@ctruhtech/verse-mcp"], "env": { "VERSE_API_KEY": "your API key" } } } }Put your API key in the client's env block as VERSE_API_KEY (an account token works there too, or as VERSE_ACCOUNT_TOKEN). VERSE_BASE_URL points the server at your own origin instead of https://verse.ctruh.com. Setups for each client are in the package README.
Desktop extension. Download verse.mcpb and open it in a desktop assistant that supports MCP bundles.
Scenes uploaded through the server are unlisted by default (anyone with the link); pass visibility to upload_scene or create_share_link to change that.
Tools
| Tool | REST routes |
|---|---|
upload_scene | POST /v1/ingest or the resumable begin / part / commit (from 100 MB, or on request); POST /v1/ingest/url for URLs; polls GET /v1/ingest/<job>. Uploading needs a signed-in key (401 signin_required otherwise) |
get_scene_status | GET /v1/ingest/<job>, then GET /v1/account/scenes for older scenes |
list_scenes | GET /v1/account/scenes |
create_share_link | PATCH /v1/scenes/<id> (visibility), POST /v1/scenes/<id>/share |
revoke_share_link | GET / DELETE /v1/scenes/<id>/share[/<shareId>] |
get_embed_code | builds the iframe / <verse-viewer> from the scene's link |
list_camera_paths, set_camera_path, reset_auto_camera_path, delete_camera_path | GET / POST /v1/scenes/<id>/paths, POST .../paths/auto, DELETE .../paths/<pathId> |
create_upload_link | POST /v1/upload-links: a 30-minute, single-use page (/drop/<token>) where the user drops a file the assistant cannot pass on; it uploads into the same account |
get_upload_link_status | GET /v1/upload-links/<token>: waiting, uploading, building, done (scene + link), failed or expired |
run_script | No route of its own: runs a short script whose verse.* calls are the tools above, with the same routes and checks |
Not included, because the API does not offer it: world generation from a prompt or photo, and link expiry (share tokens last until revoked).
Errors are one plain sentence (the server's own friendly error where there is one). Large uploads report progress as MCP progress notifications.
Code mode
run_script lets the assistant do several steps in one tool call. It sends a short JavaScript script (the body of an async function) and gets back only the value the script returns. Inside the script, verse has one async function per tool, in camelCase, with the same arguments and the same structured results; a failed call throws an Error carrying the tool's message. The tool's description contains the typed API, generated from the tool schemas, plus a worked example.
const up = await verse.uploadScene({ source: "https://example.com/villa.glb", wait_seconds: 840 });
if (up.status !== "done") return { sceneId: up.scene, status: up.status };
await verse.resetAutoCameraPath({ scene: up.scene });
const s = await verse.createShareLink({ scene: up.scene, visibility: "private" });
return { link: s.link, sceneId: up.scene };The result is { result, logs, calls, truncated }. A failing script comes back as a normal tool error with the script line and the calls that had completed.
Scripts see only verse, console.log and sleep(ms); there is no network, file, timer, module or process access, and nothing carries over between runs. Limits per script: 50 calls, 2 s of script CPU time, 32 MB memory, a wall clock of timeout_seconds (default 120, max 900), 200 log lines or 16 KB of logs, and a 64 KB result. One script runs at a time per account. Every call is checked exactly like a direct tool call (input, sign-in, permissions, plan and rate limits), and the remote server refuses local file paths inside scripts too.
Remote server notes
Sign-in follows the MCP authorization spec (2025-06-18) with OAuth 2.1: protected-resource metadata at /.well-known/oauth-protected-resource (RFC 9728), authorization-server metadata at /.well-known/oauth-authorization-server (RFC 8414), dynamic client registration at /oauth/register (RFC 7591, public clients) or a Client ID Metadata Document (an https client_id), /oauth/authorize with PKCE S256 only, and /oauth/token (authorization_code, refresh_token; refresh tokens rotate on every use). The access token is an ordinary workspace API key, so every quota and permission of a key applies.
Local file paths are refused by the remote server (it cannot see your disk); give it a public URL, ask for an upload link, or use the local (stdio) server.
Troubleshooting
- The sign-in page says "Already connected". The app finished connecting in another tab. Close the page and go back to your assistant.
- The assistant says it is not signed in, or tools answer 401. The app's key was revoked or has lapsed after 30 days without use. Disconnect and reconnect Verse in the client (Claude Code:
/mcp→ verse → Authenticate). - "Local file paths are refused". The remote server cannot see your disk. Give it a public URL, ask for an upload link (
create_upload_link), or use the local (stdio) server. - Disconnect an app. Revoke its "MCP · <app name>" key on the Account page under API keys.
- Still stuck? Write to integrations@ctruh.com with the client name and what it said.
Where Verse is listed
- Official MCP Registry as
com.ctruh.verse/verse - Claude's connectors
- mcp.so
- Cursor plug-ins (search "Verse")
- LobeHub
- Source (MIT): github.com/dev-vinayagastya/verse-mcp; npm:
@ctruhtech/verse-mcp
For AI 3D generators
A tiny JS and Python helper and a "Share as Verse link" button take a GLB / PLY / SPZ URL or blob and return a link and embed code; write to integrations@ctruh.com for them.