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.

feat(ops): enhance payment rendering with error handling and improved state representation feat(mcp-tools): localize meta tags and headings for better internationalization support feat(nav): add MCP Tool Catalog link to navigation feat(locales): expand English locale with new entries for tools and features style(coin-pages): adjust muted text color for better accessibility compliance

nirholas49ed21f42c32
diff --git a/pages/admin/ops.html b/pages/admin/ops.html
index 3d3341f37..7193224bd 100644
--- a/pages/admin/ops.html
+++ b/pages/admin/ops.html
@@ -319,6 +319,14 @@ async function loadPayments() {
function pct(v) { return v == null ? 'n/a' : (v * 100).toFixed(1) + '%'; }
function renderPayments(d) {
+ // A failed inbound board (e.g. DB outage) must read as an error, not as a
+ // healthy board full of zeros.
+ if (d.inbound?.error) {
+ $('payCards').innerHTML = `<div class="alerts-empty" style="background:rgba(248,113,113,0.06);border-color:rgba(248,113,113,0.16);color:#f87171;grid-column:1/-1">Payment ledger unavailable: ${esc(d.inbound.error)}</div>`;
+ $('payRingSettle').style.display = 'none';
+ $('payReasonsTable').style.display = 'none';
+ return;
+ }
const w3 = d.inbound?.windows?.['3h'] || {};
const w24 = d.inbound?.windows?.['24h'] || {};
const sp = d.sponsor || {};
@@ -337,11 +345,20 @@ function renderPayments(d) {
? `floor ${sp.sol_floor != null ? sp.sol_floor.toFixed(2) : 'n/a'} · burn ${sp.burn_sol_per_day_7d ?? 'n/a'}/day · runway ${sp.runway_days != null ? sp.runway_days + 'd' : 'n/a'}`
: 'sponsor wallet unconfigured';
+ // Zero events across 24h is a state of its own: one clear line beats four
+ // zero-cards that read like a broken board.
+ const quiet24 = ['settled', 'settle_failed', 'verify_rejected', 'replay_rejected', 'unsettled_flush']
+ .every((k) => !(w24[k] > 0));
+ const inboundCards = quiet24
+ ? [{ lbl: 'Inbound x402 payments', val: '0', cls: '', sub: 'no payment events in 24h; paid routes may be idle or traffic is not reaching them' }]
+ : [
+ { lbl: 'Inbound settle success (3h)', val: pct(w3.settle_success_rate), cls: settleCls, sub: `${w3.settled ?? 0} settled · ${w3.settle_failed ?? 0} failed` },
+ { lbl: 'Verify rejects (3h)', val: pct(w3.verify_reject_rate), cls: verifyCls, sub: `${w3.verify_rejected ?? 0} rejected proofs` },
+ { lbl: 'Replay rejects (24h)', val: String(replay24), cls: replay24 ? 'warn' : 'ok', sub: stageTxt },
+ { lbl: 'Settled volume (24h)', val: '$' + Number(d.inbound?.settled_volume_usd_24h ?? 0).toFixed(2), cls: '', sub: `${w24.settled ?? 0} payments` },
+ ];
$('payCards').innerHTML = [
- { lbl: 'Inbound settle success (3h)', val: pct(w3.settle_success_rate), cls: settleCls, sub: `${w3.settled ?? 0} settled · ${w3.settle_failed ?? 0} failed` },
- { lbl: 'Verify rejects (3h)', val: pct(w3.verify_reject_rate), cls: verifyCls, sub: `${w3.verify_rejected ?? 0} rejected proofs` },
- { lbl: 'Replay rejects (24h)', val: String(replay24), cls: replay24 ? 'warn' : 'ok', sub: stageTxt },
- { lbl: 'Settled volume (24h)', val: '$' + Number(d.inbound?.settled_volume_usd_24h ?? 0).toFixed(2), cls: '', sub: `${w24.settled ?? 0} payments` },
+ ...inboundCards,
{ lbl: 'Sponsor fee wallet', val: sponsorVal, cls: sponsorCls, sub: sponsorSub },
].map(c => `<div class="sum-card"><div class="lbl">${c.lbl}</div><div class="val ${c.cls}">${c.val}</div><div class="sub">${c.sub}</div></div>`).join('');
diff --git a/pages/mcp-tools.html b/pages/mcp-tools.html
index f055f3ad7..48042eb35 100644
--- a/pages/mcp-tools.html
+++ b/pages/mcp-tools.html
@@ -4,8 +4,8 @@
<script>/* three.ws theme boot: no-flash */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>MCP Tool Catalog · three.ws</title>
- <meta name="description" content="Every MCP tool three.ws publishes, in one searchable catalog: what it does, which server hosts it, what it costs in USDC, and whether it is safe for an AI client to run unattended. Generated from source, so it is never out of date." />
+ <title data-i18n="mcp_tools.meta_title">MCP Tool Catalog · three.ws</title>
+ <meta name="description" content="Every MCP tool three.ws publishes, in one searchable catalog: what it does, which server hosts it, what it costs in USDC, and whether it is safe for an AI client to run unattended. Generated from source, so it is never out of date." data-i18n-attr="content:mcp_tools.meta_description"/>
<link rel="canonical" href="https://three.ws/mcp-tools" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
@@ -15,13 +15,13 @@
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/mobile.css" />
<meta property="og:type" content="website" />
- <meta property="og:title" content="MCP Tool Catalog · three.ws" />
- <meta property="og:description" content="Every MCP tool three.ws publishes: what it does, what it costs, and whether an AI client can run it unattended. Generated from source." />
+ <meta property="og:title" content="MCP Tool Catalog · three.ws" data-i18n-attr="content:mcp_tools.meta_og_title"/>
+ <meta property="og:description" content="Every MCP tool three.ws publishes: what it does, what it costs, and whether an AI client can run it unattended. Generated from source." data-i18n-attr="content:mcp_tools.meta_og_description"/>
<meta property="og:url" content="https://three.ws/mcp-tools" />
<meta property="og:image" content="https://three.ws/api/page-og?s=build&amp;t=MCP+Tool+Catalog&amp;d=Every+MCP+tool+three.ws+publishes%3A+what+it+does%2C+what+it+costs%2C+and+whether+an+AI+client+can+run+it+unattended.&amp;p=%2Fmcp-tools" />
<meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="MCP Tool Catalog · three.ws" />
- <meta name="twitter:description" content="Every MCP tool three.ws publishes, searchable by safety, price, and server." />
+ <meta name="twitter:title" content="MCP Tool Catalog · three.ws" data-i18n-attr="content:mcp_tools.meta_twitter_title"/>
+ <meta name="twitter:description" content="Every MCP tool three.ws publishes, searchable by safety, price, and server." data-i18n-attr="content:mcp_tools.meta_twitter_description"/>
<meta name="twitter:image" content="https://three.ws/api/page-og?s=build&amp;t=MCP+Tool+Catalog&amp;d=Every+MCP+tool+three.ws+publishes%3A+what+it+does%2C+what+it+costs%2C+and+whether+an+AI+client+can+run+it+unattended.&amp;p=%2Fmcp-tools" />
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1" />
<meta property="og:locale" content="en_US" />
@@ -209,8 +209,8 @@
<main class="mc-wrap">
<div class="mc-hero">
- <h1>MCP Tool Catalog</h1>
- <p>
+ <h1 data-i18n="mcp_tools.mcp_tool_catalog">MCP Tool Catalog</h1>
+ <p data-i18n-html="mcp_tools.every_tool_three_ws_publishes_over_the">
Every tool three.ws publishes over the <a href="/docs/mcp">Model Context Protocol</a>, in one place:
what it does, which server hosts it, what it costs, and whether an AI client can run it without asking you first.
This page is generated from the source of every tool, so it cannot drift from what the servers actually serve.
@@ -222,7 +222,7 @@
<div class="mc-controls">
<label class="mc-search">
- <span class="sr-only">Search tools</span>
+ <span class="sr-only" data-i18n="mcp_tools.search_tools">Search tools</span>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
<input id="mc-q" type="search" autocomplete="off" spellcheck="false"
placeholder="Search 270 tools by name, description, or server…" />
@@ -231,21 +231,21 @@
<div class="mc-filters">
<div class="mc-group" role="group" aria-label="Filter by safety">
- <span class="mc-group-label">Safety</span>
- <button type="button" class="mc-chip" data-filter="safety" data-safety="read" data-value="read" aria-pressed="false">Read-only</button>
- <button type="button" class="mc-chip" data-filter="safety" data-safety="write" data-value="write" aria-pressed="false">Writes</button>
- <button type="button" class="mc-chip" data-filter="safety" data-safety="irreversible" data-value="irreversible" aria-pressed="false">Irreversible</button>
+ <span class="mc-group-label" data-i18n="mcp_tools.safety">Safety</span>
+ <button type="button" class="mc-chip" data-filter="safety" data-safety="read" data-value="read" aria-pressed="false" data-i18n="mcp_tools.read_only">Read-only</button>
+ <button type="button" class="mc-chip" data-filter="safety" data-safety="write" data-value="write" aria-pressed="false" data-i18n="mcp_tools.writes">Writes</button>
+ <button type="button" class="mc-chip" data-filter="safety" data-safety="irreversible" data-value="irreversible" aria-pressed="false" data-i18n="mcp_tools.irreversible">Irreversible</button>
</div>
<div class="mc-group" role="group" aria-label="Filter by price">
- <span class="mc-group-label">Price</span>
- <button type="button" class="mc-chip" data-filter="price" data-value="free" aria-pressed="false">Free</button>
- <button type="button" class="mc-chip" data-filter="price" data-value="paid" aria-pressed="false">Paid</button>
+ <span class="mc-group-label" data-i18n="mcp_tools.price">Price</span>
+ <button type="button" class="mc-chip" data-filter="price" data-value="free" aria-pressed="false" data-i18n="mcp_tools.free">Free</button>
+ <button type="button" class="mc-chip" data-filter="price" data-value="paid" aria-pressed="false" data-i18n="mcp_tools.paid">Paid</button>
</div>
<div class="mc-group">
- <span class="mc-group-label"><label for="mc-server">Server</label></span>
- <select id="mc-server" class="mc-select"><option value="">All servers</option></select>
+ <span class="mc-group-label"><label for="mc-server" data-i18n="mcp_tools.server">Server</label></span>
+ <select id="mc-server" class="mc-select"><option value="" data-i18n="mcp_tools.all_servers">All servers</option></select>
</div>
- <button type="button" class="mc-btn mc-reset" id="mc-reset" hidden>Clear filters</button>
+ <button type="button" class="mc-btn mc-reset" id="mc-reset" hidden data-i18n="mcp_tools.clear_filters">Clear filters</button>
</div>
</div>
diff --git a/public/locales/en.json b/public/locales/en.json
index 7837293b5..301ec44b6 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -11873,7 +11873,23 @@
"yulfo7": "Selfie to avatar",
"yyn2sg": "Avatar SDK",
"zaf0iq": "Show the simple menu",
- "ze3ml5": "Search, remix & earn — the live 3D creation bazaar, trending assets & top-creator leaderboard"
+ "ze3ml5": "Search, remix & earn — the live 3D creation bazaar, trending assets & top-creator leaderboard",
+ "9d6g5y": "ASL Alphabet",
+ "cqvb6k": "Every letter and number on a live 3D hand, with the look-alikes named and a drill for reading it",
+ "15peebv": "In-Game Economy",
+ "bey0qs": "Store prices, bank rules, the $THREE boutique & the full wheel paytable, read live from the game",
+ "cu3j0d": "Fits Economy",
+ "1cmcy10": "The cosmetics ledger: rarest fits, top collectors, and the creators actually getting paid in settled USDC",
+ "1cgkm08": "Autonomous Trading",
+ "3axhwz": "Start here — live fleet vitals, the agent scoreboard, and every trading surface in one map",
+ "g1hegq": "Docs World",
+ "xv4eo0": "Walk the docs in 3D",
+ "uy0v5i": "Examples",
+ "6r0mes": "Runnable copy-paste code",
+ "1472x64": "Cookbook",
+ "budebt": "Recipes you download and run",
+ "fjn1oc": "MCP Tool Catalog",
+ "19di6d3": "All 270 AI tools: price, host server, and what runs unattended"
},
"news_2045242891350814835": {
"all_news": "← All news",
diff --git a/public/nav-data.js b/public/nav-data.js
index 7ccac2473..21a61c129 100644
--- a/public/nav-data.js
+++ b/public/nav-data.js
@@ -677,6 +677,12 @@ export const NAV_GROUPS = [
href: '/avatar-sdk',
desc: 'npm · web component · React · GLB upload',
},
+ {
+ title: 'MCP Tool Catalog',
+ href: '/mcp-tools',
+ tier: 'advanced',
+ desc: 'All 270 AI tools: price, host server, and what runs unattended',
+ },
],
},
],
diff --git a/src/coin-pages.css b/src/coin-pages.css
index 82b5f5985..e0c22ce96 100644
--- a/src/coin-pages.css
+++ b/src/coin-pages.css
@@ -73,7 +73,8 @@ html:not([data-theme='light']) {
--cv-border-hover: #3f3f46;
--cv-text: #fafafa;
--cv-text-2: #a1a1aa;
- --cv-text-3: #71717a;
+ /* Muted text still has to clear WCAG AA (4.5:1) on every dark surface. */
+ --cv-text-3: #8b8b93;
--cv-green: #4ade80;
--cv-green-soft: rgba(34, 197, 94, 0.12);
--cv-red: #f87171;