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.

chore: update MCP catalogs

nirholas525479f8e093
diff --git a/api/_mcp/catalog.js b/api/_mcp/catalog.js
index 2cbf38e03..4427ea6c7 100644
--- a/api/_mcp/catalog.js
+++ b/api/_mcp/catalog.js
@@ -1,4 +1,5 @@
import Ajv from 'ajv';
+import addFormats from 'ajv-formats';
import { toolDefs as avatarDefs } from './tools/avatars.js';
import { toolDefs as modelDefs } from './tools/models.js';
@@ -29,6 +30,7 @@ const ajv = new Ajv({
coerceTypes: true,
strict: false,
});
+addFormats(ajv);
// Handler lookup for tools/call — keyed by tool name.
export const TOOLS = Object.fromEntries(
diff --git a/api/_mcp3d/catalog.js b/api/_mcp3d/catalog.js
index defe493c9..0974cd386 100644
--- a/api/_mcp3d/catalog.js
+++ b/api/_mcp3d/catalog.js
@@ -1,4 +1,5 @@
import Ajv from 'ajv';
+import addFormats from 'ajv-formats';
import { toolDefs as studioDefs } from './tools/studio.js';
import { toolDefs as modelDefs } from '../_mcp/tools/models.js';
@@ -17,6 +18,7 @@ export const TOOL_CATALOG = allDefs.map(({ scope: _s, handler: _h, ...schema })
// Compile each tool's inputSchema once so dispatch can validate args before the
// handler runs — same defense-in-depth + forgiving coercion the main server uses.
const ajv = new Ajv({ allErrors: true, useDefaults: true, coerceTypes: true, strict: false });
+addFormats(ajv);
export const TOOLS = Object.fromEntries(
allDefs.map(({ name, scope, handler, inputSchema }) => [
diff --git a/api/_mcpagent/catalog.js b/api/_mcpagent/catalog.js
index 3ce4a22fa..b42b9549c 100644
--- a/api/_mcpagent/catalog.js
+++ b/api/_mcpagent/catalog.js
@@ -1,4 +1,5 @@
import Ajv from 'ajv';
+import addFormats from 'ajv-formats';
import { toolDefs } from './tools.js';
@@ -6,6 +7,7 @@ import { toolDefs } from './tools.js';
export const TOOL_CATALOG = toolDefs.map(({ scope: _s, handler: _h, ...schema }) => schema);
const ajv = new Ajv({ allErrors: true, useDefaults: true, coerceTypes: true, strict: false });
+addFormats(ajv);
export const TOOLS = Object.fromEntries(
toolDefs.map(({ name, scope, handler, inputSchema }) => [
diff --git a/api/_mcpbazaar/catalog.js b/api/_mcpbazaar/catalog.js
index 3ce4a22fa..b42b9549c 100644
--- a/api/_mcpbazaar/catalog.js
+++ b/api/_mcpbazaar/catalog.js
@@ -1,4 +1,5 @@
import Ajv from 'ajv';
+import addFormats from 'ajv-formats';
import { toolDefs } from './tools.js';
@@ -6,6 +7,7 @@ import { toolDefs } from './tools.js';
export const TOOL_CATALOG = toolDefs.map(({ scope: _s, handler: _h, ...schema }) => schema);
const ajv = new Ajv({ allErrors: true, useDefaults: true, coerceTypes: true, strict: false });
+addFormats(ajv);
export const TOOLS = Object.fromEntries(
toolDefs.map(({ name, scope, handler, inputSchema }) => [
diff --git a/src/privy-login.js b/src/privy-login.js
index b4e649d1e..040fcf1d2 100644
--- a/src/privy-login.js
+++ b/src/privy-login.js
@@ -1,10 +1,8 @@
// Privy headless auth for login and register pages.
-// Handles email-OTP, EVM wallet (SIWE via Privy), and Solana wallet (SIWS via Privy).
-// On success POSTs the Privy identity_token to /api/auth/privy/verify
-// which issues our standard session cookie, then redirects.
+// Handles email-OTP and EVM wallet (SIWE via Privy).
+// Solana wallet uses our own SIWS backend (/api/auth/siws/*) directly.
-import Privy, { LocalStorage, createSiwsMessage } from '@privy-io/js-sdk-core';
-import bs58 from 'bs58';
+import Privy, { LocalStorage } from '@privy-io/js-sdk-core';
const next =
window.__loginNext ||