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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
// Generate one ready-to-submit listing doc per third-party MCP directory,
// derived entirely from mcp-listing-source.json (the canonical source) so copy
// never drifts. Directory-specific submission flow (fetched July 2026) lives in
// the DIRECTORIES table below.
//
// Run: node prompts/store-submissions/_generated/build-mcp-directory-docs.mjs
import { readFileSync, writeFileSync, mkdirSync } from 'node:fs';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
const HERE = dirname(fileURLToPath(import.meta.url));
const SRC = JSON.parse(readFileSync(join(HERE, 'mcp-listing-source.json'), 'utf8'));
const OUT = join(HERE, 'mcp-directories');
mkdirSync(OUT, { recursive: true });
const byName = Object.fromEntries(SRC.servers.map((s) => [s.name, s]));
// Headline order: the two flagship remotes, the free lane, then the headline npm servers.
const HEADLINE = [
'io.github.nirholas/three.ws',
'io.github.nirholas/threews-3d-studio',
'io.github.nirholas/threews-3d-studio-free',
'io.github.nirholas/threews-agent',
'io.github.nirholas/threews-x402-bazaar',
'io.github.nirholas/x402-mcp',
'io.github.nirholas/three-token-mcp',
'io.github.nirholas/pumpfun-solana-mcp',
'io.github.nirholas/ibm-x402-mcp-remote',
].map((n) => byName[n]).filter(Boolean);
const remotes = SRC.servers.filter((s) => s.type === 'remote');
const stdio = SRC.servers.filter((s) => s.type === 'stdio');
function connectSnippet(s) {
if (s.type === 'remote') return s.connect;
return s.connect;
}
function claudeConfig(s) {
if (s.type === 'remote') {
return JSON.stringify({ mcpServers: { [s.title.replace(/\s+/g, '-').toLowerCase()]: { url: s.connect } } }, null, 2);
}
const [cmd, ...args] = s.connect.split(' ');
return JSON.stringify({ mcpServers: { [s.npmPackage.split('/').pop()]: { command: cmd, args } } }, null, 2);
}
function headlineTable() {
let t = '| Server | Name (registry) | Connect | What it does |\n|---|---|---|---|\n';
for (const s of HEADLINE) {
t += `| **${s.title}** | \`${s.name}\` | ${s.type === 'remote' ? '`' + s.connect + '`' : '`' + s.connect + '`'} | ${s.tagline} |\n`;
}
return t;
}
function fullList() {
let t = '';
t += `\n### All ${remotes.length} hosted remote servers (Streamable HTTP, connect by URL)\n\n`;
t += '| Name (registry) | Title | URL | Category |\n|---|---|---|---|\n';
for (const s of remotes) t += `| \`${s.name}\` | ${s.title} | ${s.connect} | ${s.category} |\n`;
t += `\n### All ${stdio.length} install-and-run servers (stdio, \`npx\`)\n\n`;
t += '| Name (registry) | Title | Connect | Category |\n|---|---|---|---|\n';
for (const s of stdio) t += `| \`${s.name}\` | ${s.title} | \`${s.connect}\` | ${s.category} |\n`;
return t;
}
const HDR = (dir) => `<!-- GENERATED by build-mcp-directory-docs.mjs from mcp-listing-source.json — do not hand-edit; edit the canonical source + regenerate. -->
# ${dir.title} — three.ws MCP submission package
**Publisher:** ${SRC.publisher.name} · ${SRC.publisher.website} · \`${SRC.publisher.namespace}\` namespace
**Repository:** ${SRC.publisher.repository}
**Contact:** ${SRC.publisher.contactEmail}
**Icon:** ${SRC.publisher.icon}
**Official MCP registry:** ${SRC.publisher.officialRegistrySearch}
**Coverage:** ${SRC.counts.total} servers: ${SRC.counts.remote} hosted remote (Streamable HTTP) + ${SRC.counts.stdio} install-and-run (npm/stdio).
> Every field below is derived from \`mcp-listing-source.json\`. If a value looks stale, fix the manifest or the overlay and re-run the generators — never hand-edit this file.
`;
function exampleBlock(s) {
return s.examplePrompts.map((p) => ` - "${p}"`).join('\n');
}
// -------- Directory-specific bodies --------
const DIRECTORIES = {
smithery: {
title: 'Smithery',
body: () => `## How to submit (fetched 2026-07 from smithery.ai/docs/build/publish)
Smithery is publisher-driven — publish by **URL** (hosted remote) or **MCPB bundle** (stdio), then Smithery auto-scans the server and introspects its tools.
- **Web:** https://smithery.ai/new — paste the server's public HTTPS URL.
- **CLI (remote):** \`smithery mcp publish "<url>" -n <namespace/name>\`
- **CLI (stdio bundle):** \`smithery mcp publish ./server.mcpb -n <namespace/name>\`
- After publishing, complete **Settings → Verification** on each server page for official-vendor status.
- If auto-scan fails, serve a static card at \`/.well-known/mcp/server-card.json\` (\`serverInfo.name\`/\`version\` required).
**[HUMAN: needs a Smithery account (GitHub OAuth) to publish under the \`three-ws\` namespace.]**
**[HUMAN: the two flagship remotes require OAuth/x402; Smithery's Gateway handles client registration automatically for URL-based servers — no client registration needed on our side.]**
## Lead with these (URL-publish, no install)
${headlineTable()}
## Per-server listing copy
${HEADLINE.map((s) => `### ${s.title}
- **Registry name:** \`${s.name}\`
- **Type:** ${s.type === 'remote' ? 'Remote (Streamable HTTP) — publish by URL' : 'Local (stdio) — publish as MCPB bundle or npm'}
- **Connect:** \`${connectSnippet(s)}\`
- **Tagline:** ${s.tagline}
- **Category:** ${s.category} · **Tags:** ${s.tags.join(', ')}
- **Description:** ${s.description}
- **Example prompts:**
${exampleBlock(s)}
${s.requiredEnv.length ? `- **Required env:** ${s.requiredEnv.join(', ')}` : ''}`).join('\n\n')}
## Full catalog to publish
${fullList()}`,
},
glama: {
title: 'Glama',
body: () => `## How to submit (fetched 2026-07 from glama.ai/mcp/methodology)
Glama **ingests the official MCP registry automatically**, so publishing \`server.json\` to registry.modelcontextprotocol.io is the primary path — every \`${SRC.publisher.namespace}/*\` entry gets picked up and sandbox-analyzed. Then **claim** each listing to control its metadata:
- **npm/stdio servers:** commit a \`glama.json\` at the **repo root**:
\`\`\`json
{
"$schema": "https://glama.ai/mcp/schemas/server.json",
"maintainers": ["nirholas"]
}
\`\`\`
- **Hosted remotes:** serve \`/.well-known/glama.json\` on three.ws:
\`\`\`json
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "${SRC.publisher.contactEmail}" }]
}
\`\`\`
- Or use **Add Server** on https://glama.ai/mcp/servers (GitHub OAuth; Glama verifies repo write access).
**[HUMAN: sign in to Glama with the \`nirholas\` GitHub account and either merge \`glama.json\` (repo root) or confirm the \`/.well-known/glama.json\` claim for the remotes.]**
## Lead with these
${headlineTable()}
## Claim files (ready to commit / serve)
- Repo root \`glama.json\` → maintainers \`["nirholas"]\`
- \`https://three.ws/.well-known/glama.json\` → connector schema, maintainer \`${SRC.publisher.contactEmail}\`
## Full catalog (auto-ingested from the official registry)
${fullList()}`,
},
'mcp-so': {
title: 'mcp.so',
body: () => `## How to submit (fetched 2026-07)
mcp.so is submission-driven (no confirmed auto-ingest of the official registry):
- **Site form:** the **Submit** button on https://mcp.so (self-serve, anonymous).
- **GitHub issue:** comment on https://github.com/chatmcp/mcpso/issues/1 ("Submit Your MCP Servers here") or open a per-server issue with repo URL + description.
**[HUMAN: submit via the mcp.so form or the chatmcp/mcpso issue — a GitHub account covers the issue route.]**
Fields mcp.so expects per server: **name, GitHub repo, description, website, transport (streamable-http vs stdio), endpoint URL (remotes) or \`npx\` command (stdio), icon, and a Claude/Cursor config snippet.**
## Lead with these
${headlineTable()}
## Per-server submission rows (headline set)
${HEADLINE.map((s) => `### ${s.title}
- **Name:** ${s.title} · **Registry name:** \`${s.name}\`
- **Repo:** ${s.repository} · **Website:** ${s.websiteUrl} · **Icon:** ${s.icon}
- **Transport:** ${s.transport}
- **${s.type === 'remote' ? 'Endpoint URL' : 'Install command'}:** \`${s.connect}\`
- **Description:** ${s.description}
- **Tags:** ${s.tags.join(', ')}
- **Claude/Cursor config:**
\`\`\`json
${claudeConfig(s)}
\`\`\`
- **Example prompts:**
${exampleBlock(s)}`).join('\n\n')}
## Full catalog to submit
${fullList()}`,
},
pulsemcp: {
title: 'PulseMCP',
body: () => `## How to submit (fetched 2026-07 from pulsemcp.com/submit)
PulseMCP **ingests the official MCP Registry daily and processes weekly** — so publishing \`server.json\` to registry.modelcontextprotocol.io lists us on PulseMCP with **no manual action**. To nudge or correct:
- **Submit form:** https://www.pulsemcp.com/submit — pick "MCP Server", paste a GitHub repo / subfolder / website URL. No account required.
- **Adjustments / faster processing:** email **[email protected]** once the registry entry is live.
**[HUMAN: no account needed. Optional — submit ${SRC.publisher.repository} at pulsemcp.com/submit to speed indexing, or email [email protected] for listing edits.]**
Because PulseMCP is registry-driven, the highest-leverage action is keeping the official registry current (see the republish commands in \`../mcp-registry-republish.sh\`). Every \`${SRC.publisher.namespace}/*\` server flows through automatically.
## Lead with these
${headlineTable()}
## Full catalog (auto-ingested — verify these appear after each registry publish)
${fullList()}`,
},
lobehub: {
title: 'LobeHub',
body: () => `## How to submit (fetched 2026-07)
LobeHub runs **two** systems — MCP servers go through the **MCP Marketplace**, not the legacy plugin index:
**A. MCP Marketplace, https://lobehub.com/mcp** (the correct path for all ${SRC.counts.total} servers):
- **Primary:** the **Submit** modal on https://lobehub.com/mcp (login + Cloudflare Turnstile).
- **Fallback (modal is flaky):** open a \`[Request] Add <server> to the MCP marketplace\` issue on https://github.com/lobehub/lobehub with: GitHub repo URL, publisher, license, **official MCP Registry entry ID** (e.g. \`${byName['io.github.nirholas/three.ws'].name}\` + version), transport, endpoint URL, auth scheme, and tool count.
**[HUMAN: sign in to lobehub.com with GitHub for the Submit modal, or file the lobehub/lobehub issue. Reference our registry entry IDs (below).]**
**B. Legacy LobeChat plugin (function-calling, NOT MCP):** the self-hosted \`public/lobehub/plugin.json\` manifest — reconciled in this pass — powers the embodied-avatar chat plugin via https://github.com/lobehub/lobe-chat-plugins (fork → add manifest → PR). It does **not** list us in the MCP marketplace; keep it for the LobeChat plugin surface only.
## Lead with these (MCP marketplace)
${headlineTable()}
## Registry entry IDs to cite in the LobeHub submission
${HEADLINE.map((s) => `- **${s.title}**: \`${s.name}@${s.version}\` · transport: ${s.transport} · ${s.type === 'remote' ? 'endpoint ' + s.connect : 'stdio ' + s.connect} · tags: ${s.tags.join(', ')}`).join('\n')}
## Legacy LobeChat plugin manifest (surface B)
- Hosted at: https://three.ws/lobehub/plugin.json (source: \`public/lobehub/plugin.json\`)
- Identifier: \`3d-agent\` · embodied 3D avatar with render/speak/gesture/emote tools.
## Full MCP catalog to submit
${fullList()}`,
},
};
for (const [slug, d] of Object.entries(DIRECTORIES)) {
const md = HDR(d) + d.body() + '\n';
writeFileSync(join(OUT, `${slug}.md`), md);
console.log('Wrote', join('mcp-directories', `${slug}.md`));
}
console.log('Done —', Object.keys(DIRECTORIES).length, 'directory docs from', SRC.counts.total, 'servers.');