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): bound the studio submit so a stalled connection cannot hang the tool

nirholas5d5a2345f888
diff --git a/mcp-server/src/tools/_studio-core.js b/mcp-server/src/tools/_studio-core.js
index 70b0f444e..d4863fc82 100644
--- a/mcp-server/src/tools/_studio-core.js
+++ b/mcp-server/src/tools/_studio-core.js
@@ -950,6 +950,7 @@ async function submitPrediction({ version, input }) {
method: 'POST',
headers: replicateAuthHeaders(),
body: JSON.stringify({ version, input }),
+ signal: AbortSignal.timeout(SUBMIT_TIMEOUT_MS),
});
const data = await res.json().catch(() => ({}));
if (!res.ok) {