Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(mcp): catalog the 3D Studio persona tools its endpoint already serves

nirholas4b00839c4207
diff --git a/public/mcp-catalog.json b/public/mcp-catalog.json
index 08f590c88..0c48ce6d9 100644
--- a/public/mcp-catalog.json
+++ b/public/mcp-catalog.json
@@ -2,15 +2,15 @@
"$comment": "Generated by scripts/build-mcp-catalog.mjs from the tool definitions and price maps in this repo. Do not edit by hand: npm run build:mcp-catalog regenerates it and npm run audit:mcp-catalog fails the build when it is stale.",
"docs": "https://three.ws/docs/mcp-safety",
"counts": {
- "tools": 274,
+ "tools": 277,
"servers": 36,
- "free": 246,
+ "free": 249,
"paid": 28,
- "read": 185,
- "write": 70,
+ "read": 186,
+ "write": 72,
"irreversible": 19,
- "withSchema": 274,
- "withArguments": 252
+ "withSchema": 277,
+ "withArguments": 255
},
"servers": [
{
@@ -243,7 +243,7 @@
"endpoint": "/api/mcp-studio",
"transport": "remote",
"auth": "none",
- "tools": 7
+ "tools": 10
},
{
"id": "threews-agent",
@@ -266,7 +266,7 @@
"title": "x402 Bazaar",
"endpoint": "/api/mcp-bazaar",
"transport": "remote",
- "auth": "none",
+ "auth": "oauth-or-x402",
"tools": 4
},
{
@@ -12144,6 +12144,61 @@
},
"source": "api/_mcp-studio/tools.js"
},
+ {
+ "name": "create_agent_persona",
+ "title": "Save a rigged model as a living, persistent agent body",
+ "description": "Turn a generated GLB into a NAMED, persistent agent body — a \"persona\" the assistant reuses across turns and across sessions. The model is copied into durable storage so the body survives the source URL expiring, then registered under a stable persona_id. The returned view renders the LIVING body inline: it idles between turns, and persona_say makes it lip-sync and emote a reply. The persona_id is the handle — keep it and pass it to get_agent_persona or persona_say later to bring the exact same body back. No sign-in required.",
+ "server": {
+ "id": "threews-3d-studio-free",
+ "title": "3D Studio (free)",
+ "endpoint": "/api/mcp-studio",
+ "transport": "remote",
+ "auth": "none"
+ },
+ "safety": "write",
+ "annotations": {
+ "readOnlyHint": false,
+ "destructiveHint": false,
+ "idempotentHint": false,
+ "openWorldHint": true
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "glb_url": {
+ "type": "string",
+ "format": "uri",
+ "description": "Public https URL of the rigged GLB to embody (e.g. from forge_avatar)."
+ },
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 80,
+ "description": "A display name for the persona, 1–80 characters."
+ },
+ "voice": {
+ "type": "string",
+ "maxLength": 64,
+ "description": "Optional voice name to speak with (used for audio-driven lip-sync when available)."
+ },
+ "source_prompt": {
+ "type": "string",
+ "maxLength": 1000,
+ "description": "Optional: the prompt that generated this body, kept as provenance."
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "glb_url",
+ "name"
+ ]
+ },
+ "source": "api/_mcp-studio/persona-tools.js"
+ },
{
"name": "forge_avatar",
"title": "Generate a rigged, animation-ready avatar",
@@ -12236,6 +12291,45 @@
},
"source": "api/_mcp-studio/tools.js"
},
+ {
+ "name": "get_agent_persona",
+ "title": "Reload a persona by id (continuity across sessions)",
+ "description": "Bring back a previously saved persona by its persona_id — the SAME body and identity, in a fresh session. Returns the persona name, its model, the accumulated turn count, and the inline living-body view. Use this at the start of a conversation when the user returns to a named agent.",
+ "server": {
+ "id": "threews-3d-studio-free",
+ "title": "3D Studio (free)",
+ "endpoint": "/api/mcp-studio",
+ "transport": "remote",
+ "auth": "none"
+ },
+ "safety": "read",
+ "annotations": {
+ "readOnlyHint": true,
+ "destructiveHint": false,
+ "idempotentHint": true,
+ "openWorldHint": false
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "persona_id": {
+ "type": "string",
+ "minLength": 8,
+ "maxLength": 64,
+ "description": "The persona_id returned by create_agent_persona."
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "persona_id"
+ ]
+ },
+ "source": "api/_mcp-studio/persona-tools.js"
+ },
{
"name": "mesh_forge",
"title": "Generate a 3D mesh (art-directed)",
@@ -12276,6 +12370,64 @@
},
"source": "api/_mcp-studio/tools.js"
},
+ {
+ "name": "persona_say",
+ "title": "Speak a reply through a persona — lip-sync + emotion + gesture",
+ "description": "Make a persona PERFORM a reply: the body lip-syncs the text and shows the matching facial expression and body gesture. Pass the persona_id and the exact text the agent is saying this turn; the emotion is detected from the text automatically (or set it explicitly). The returned view animates the body for this turn — show it alongside the reply. This is the turn-by-turn embodiment hook.",
+ "server": {
+ "id": "threews-3d-studio-free",
+ "title": "3D Studio (free)",
+ "endpoint": "/api/mcp-studio",
+ "transport": "remote",
+ "auth": "none"
+ },
+ "safety": "write",
+ "annotations": {
+ "readOnlyHint": false,
+ "destructiveHint": false,
+ "idempotentHint": false,
+ "openWorldHint": false
+ },
+ "price": {
+ "usd": 0,
+ "free": true
+ },
+ "inputSchema": {
+ "type": "object",
+ "properties": {
+ "persona_id": {
+ "type": "string",
+ "minLength": 8,
+ "maxLength": 64,
+ "description": "The persona to speak through."
+ },
+ "text": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 2000,
+ "description": "The reply text the agent is saying this turn — drives lip-sync and emotion."
+ },
+ "emotion": {
+ "type": "string",
+ "enum": [
+ "neutral",
+ "joy",
+ "sad",
+ "angry",
+ "surprised",
+ "thinking"
+ ],
+ "description": "Optional explicit emotion override; omit to auto-detect from the text."
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "persona_id",
+ "text"
+ ]
+ },
+ "source": "api/_mcp-studio/persona-tools.js"
+ },
{
"name": "refine_model",
"title": "Refine a 3D model by describing a change",
@@ -13777,7 +13929,7 @@
"title": "x402 Bazaar",
"endpoint": "/api/mcp-bazaar",
"transport": "remote",
- "auth": "none"
+ "auth": "oauth-or-x402"
},
"safety": "read",
"annotations": {
@@ -13819,7 +13971,7 @@
"title": "x402 Bazaar",
"endpoint": "/api/mcp-bazaar",
"transport": "remote",
- "auth": "none"
+ "auth": "oauth-or-x402"
},
"safety": "read",
"annotations": {
@@ -13871,7 +14023,7 @@
"title": "x402 Bazaar",
"endpoint": "/api/mcp-bazaar",
"transport": "remote",
- "auth": "none"
+ "auth": "oauth-or-x402"
},
"safety": "read",
"annotations": {
@@ -13913,7 +14065,7 @@
"title": "x402 Bazaar",
"endpoint": "/api/mcp-bazaar",
"transport": "remote",
- "auth": "none"
+ "auth": "oauth-or-x402"
},
"safety": "read",
"annotations": {
diff --git a/scripts/lib/mcp-tool-sources.mjs b/scripts/lib/mcp-tool-sources.mjs
index c51d2d305..a362d6f95 100644
--- a/scripts/lib/mcp-tool-sources.mjs
+++ b/scripts/lib/mcp-tool-sources.mjs
@@ -21,9 +21,14 @@ export const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..', '..')
// Hosted servers whose tool defs live in a per-server directory.
const HOSTED_TOOL_DIRS = ['api/_mcp/tools', 'api/_mcp3d/tools'];
-// Hosted servers that declare every tool in one file.
+// Hosted servers that declare every tool in one file. The free 3D Studio is the
+// one exception: its dispatcher merges TWO catalogs into the single tools/list
+// it serves, so both files belong here. Listing only tools.js hid the three
+// persona tools from every gate and from public/mcp-catalog.json while the
+// endpoint served them.
const HOSTED_TOOL_FILES = [
'api/_mcp-studio/tools.js',
+ 'api/_mcp-studio/persona-tools.js',
'api/_mcpagent/tools.js',
'api/_mcpbazaar/tools.js',
'api/_mcpibm/tools.js',
diff --git a/tests/fixtures/mcp-golden-tools.json b/tests/fixtures/mcp-golden-tools.json
index 269bd9680..f500f7693 100644
--- a/tests/fixtures/mcp-golden-tools.json
+++ b/tests/fixtures/mcp-golden-tools.json
@@ -1,4 +1,30 @@
{
+ "api/_mcp-studio/persona-tools.js": [
+ {
+ "name": "create_agent_persona",
+ "title": "Save a rigged model as a living, persistent agent body",
+ "descHead": "dynamic",
+ "descHash": "dynamic",
+ "annotations": "ref:CREATE_ANNOTATIONS",
+ "schemaHash": "8d7e3a088acc"
+ },
+ {
+ "name": "get_agent_persona",
+ "title": "Reload a persona by id (continuity across sessions)",
+ "descHead": "dynamic",
+ "descHash": "dynamic",
+ "annotations": "ref:READ_ANNOTATIONS",
+ "schemaHash": "248584d714be"
+ },
+ {
+ "name": "persona_say",
+ "title": "Speak a reply through a persona — lip-sync + emotion + gesture",
+ "descHead": "dynamic",
+ "descHash": "dynamic",
+ "annotations": "ref:SAY_ANNOTATIONS",
+ "schemaHash": "9966d27830f0"
+ }
+ ],
"api/_mcp-studio/tools.js": [
{
"name": "check_job",