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(routes): repair vercel.json and the MCP catalog so the server and /mcp load again

nirholas157243153f71
diff --git a/api/_mcp/catalog.js b/api/_mcp/catalog.js
index a272e5240..859a478d3 100644
--- a/api/_mcp/catalog.js
+++ b/api/_mcp/catalog.js
@@ -26,11 +26,9 @@ import { toolDefs as pairedDefs } from './tools/paired.js';
import { toolDefs as agentLifecycleDefs } from './tools/agent-lifecycle.js';
import { toolDefs as customSkillDefs } from './tools/custom-skills.js';
import { toolDefs as resourceDefs } from './tools/resources.js';
+import { toolDefs as domainDefs } from './tools/domains.js';
const baseDefs = [
-import { toolDefs as mailDefs } from './tools/mail.js';
-import { toolDefs as whitelistDefs } from './tools/whitelist.js';
-import { toolDefs as domainDefs } from './tools/domains.js';
...libraryDefs,
...avatarDefs,
...embedDefs,
@@ -54,13 +52,11 @@ import { toolDefs as domainDefs } from './tools/domains.js';
...cardDefs,
...pairedDefs,
...agentLifecycleDefs,
+ ...domainDefs,
];
// Free, public entry point — listed first so discovery clients see it up top.
// priceFor annotates the per-call price of the paid tools in the overview.
- ...mailDefs,
- ...whitelistDefs,
- ...domainDefs,
// Annotations: a static, local overview built at module load — read-only,
// deterministic, closed-world (destructiveHint is explicit because the MCP
// spec defaults it to true when omitted).
diff --git a/vercel.json b/vercel.json
index bac3c3fa2..3bf301afc 100644
--- a/vercel.json
+++ b/vercel.json
@@ -2482,6 +2482,10 @@
"src": "/credits/?",
"dest": "/credits.html"
},
+ {
+ "src": "/domains/?",
+ "dest": "/domains.html"
+ },
{
"src": "/x-pricing/?",
"dest": "/x-pricing.html"
@@ -2538,10 +2542,6 @@
},
{
"src": "/showcase/?",
- {
- "src": "/domains/?",
- "dest": "/domains.html"
- },
"dest": "/app.html"
},
{
@@ -5398,6 +5398,10 @@
"src": "/api/billing/summary",
"dest": "/api/billing/summary"
},
+ {
+ "src": "/api/domains/([^/]+)",
+ "dest": "/api/domains/[action]?action=$1"
+ },
{
"src": "/api/three-token/([^/]+)",
"dest": "/api/three-token/[action]?action=$1"
@@ -5554,10 +5558,6 @@
{
"src": "/discover/a/sol/([A-Za-z0-9]+)",
"dest": "/api/discover-detail?kind=solana&asset=$1"
- {
- "src": "/api/domains/([^/]+)",
- "dest": "/api/domains/[action]?action=$1"
- },
},
{
"src": "/discover/avatar/([^/]+)",