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: ship portfolio-mcp + register 17 new MCP servers in docs/workspaces

ni3a35eca3b4844b
diff --git a/STRUCTURE.md b/STRUCTURE.md
index 3ef7bf89a..e6aa57ebf 100644
--- a/STRUCTURE.md
+++ b/STRUCTURE.md
@@ -30,7 +30,7 @@ bottom.
| On-chain skill licenses | [contracts/skill-license/](contracts/skill-license) `→ /api/skills/license-onchain` | In-repo | Anchor program: each purchased skill = a 1/1 SPL NFT + `SkillLicense` PDA, a trustless alternative to DB-backed access checks. Backend: [api/_lib/skill-license-onchain.js](api/_lib/skill-license-onchain.js) |
| On-chain agent invocation | [contracts/agent-invocation/](contracts/agent-invocation) | In-repo | Anchor program: verifiable agent-to-agent skill invocation events. SDK: [agent-protocol-sdk/](agent-protocol-sdk) |
| Cross-chain SDKs | [sdk/](sdk), [solana-agent-sdk/](solana-agent-sdk), [agent-payments-sdk/](agent-payments-sdk), [agent-protocol-sdk/](agent-protocol-sdk) | Published | Cross-chain agent SDKs |
-| MCP integration | [mcp-server/](mcp-server), [mcp-bridge/](mcp-bridge) | Published as `@three-ws/mcp-server` | Model Context Protocol surface |
+| MCP integration | [mcp-server/](mcp-server), [mcp-bridge/](mcp-bridge), [packages/*-mcp/](packages) | 31 npm servers + 6 hosted remote, all in the [MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas) | Model Context Protocol surface — full server list in [docs/mcp.md](docs/mcp.md) |
| SNS naming + pay-by-name | [api/sns.js](api/sns.js), [api/sns-subdomain.js](api/sns-subdomain.js), [api/threews/subdomain.js](api/threews/subdomain.js), [api/x402/pay-by-name.js](api/x402/pay-by-name.js), [src/solana/sns-subdomain.js](src/solana/sns-subdomain.js), [pages/threews-claim.html](pages/threews-claim.html) | In-repo | `*.threews.sol` subdomain mint, x402 payments addressed by name. Env: `THREEWS_SOL_PARENT_SECRET_BASE58`. See [SNS_PARTNERSHIP_PROPOSAL.md](docs/internal/SNS_PARTNERSHIP_PROPOSAL.md) |
## npm workspaces
@@ -60,6 +60,23 @@ packages/naming-mcp/ → @three-ws/naming-mcp (MCP server — .s
packages/intel-mcp/ → @three-ws/intel-mcp (MCP server — smart-money, signals, KOL, copy-trade intel)
packages/marketplace-mcp/ → @three-ws/marketplace-mcp (MCP server — agent marketplace + skills catalog browse)
packages/x402-mcp/ → @three-ws/x402-mcp (MCP server — self-custodial x402 buyer: find/inspect/pay any service in USDC)
+packages/autopilot-mcp/ → @three-ws/autopilot-mcp (MCP server — agent execution control: scopes, $THREE spend caps, propose/execute/undo)
+packages/portfolio-mcp/ → @three-ws/portfolio-mcp (MCP server — portfolio, PnL, balances, trade feed, signed transfers)
+packages/provenance-mcp/ → @three-ws/provenance-mcp (MCP server — append-only, signed, on-chain-verifiable agent action log)
+packages/copy-mcp/ → @three-ws/copy-mcp (MCP server — manage copy-trade follows, sizing & guard rules)
+packages/signals-mcp/ → @three-ws/signals-mcp (MCP server — discover signal feeds by proven edge; rank publishers)
+packages/alerts-mcp/ → @three-ws/alerts-mcp (MCP server — pump.fun alert rules: in-app, webhook, Telegram)
+packages/notifications-mcp/ → @three-ws/notifications-mcp (MCP server — inbox, read state, delivery prefs, Web Push)
+packages/billing-mcp/ → @three-ws/billing-mcp (MCP server — plan quotas, usage, invoices, receipts)
+packages/activity-mcp/ → @three-ws/activity-mcp (MCP server — trending agents/coins, $THREE holder board, activity ticker)
+packages/agenc-mcp/ → @three-ws/agenc-mcp (MCP server — AgenC on-chain task marketplace + agent registry)
+packages/vision-mcp/ → @three-ws/vision-mcp (MCP server — image understanding via the three.ws vision pipeline)
+packages/brain-mcp/ → @three-ws/brain-mcp (MCP server — multi-provider LLM router)
+packages/audio-mcp/ → @three-ws/audio-mcp (MCP server — TTS, STT, audio-to-face lipsync, motion capture)
+packages/kol-mcp/ → @three-ws/kol-mcp (MCP server — per-wallet KOL portfolio + trade analytics)
+packages/clash-mcp/ → @three-ws/clash-mcp (MCP server — Coin Clash faction battles)
+packages/tutor-mcp/ → @three-ws/tutor-mcp (MCP server — itemized learning-session ledger)
+packages/loom-mcp/ → @three-ws/loom-mcp (MCP server — Loom 3D-creation gallery: browse, fetch, submit)
walk-sdk/ → @three-ws/walk (page walking companion + playground + avatar picker)
```
diff --git a/docs/mcp.md b/docs/mcp.md
index c25725d78..8f6036736 100644
--- a/docs/mcp.md
+++ b/docs/mcp.md
@@ -43,7 +43,7 @@ The MCP server configuration is at `.mcp.json` in the project root, which Claude
## The full three.ws MCP ecosystem
-This page documents the hosted avatar/3D server at `/api/mcp`, but it's one of **20 three.ws MCP servers** — all listed in the [official MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas), so any MCP-compatible client can discover them by name.
+This page documents the hosted avatar/3D server at `/api/mcp`, but it's one of **37 three.ws MCP servers** — all listed in the [official MCP registry](https://registry.modelcontextprotocol.io/?q=io.github.nirholas), so any MCP-compatible client can discover them by name.
There are two kinds. **Hosted remote servers** run over Streamable HTTP with nothing to install — add them by URL. **Install-and-run servers** are published on npm under the `@three-ws` scope and run locally over stdio — add them in one line with `npx`.
@@ -58,7 +58,7 @@ There are two kinds. **Hosted remote servers** run over Streamable HTTP with not
| pump.fun | `/api/pump-fun-mcp` | Free, read-only pump.fun + Solana token tools |
| IBM x402 | `/api/ibm-mcp` | Pay-per-use IBM Granite AI |
-**Fourteen install-and-run servers** on npm under the `@three-ws` scope — each runs over stdio with one command:
+**Thirty-one install-and-run servers** on npm under the `@three-ws` scope — each runs over stdio with one command:
```bash
# 3D & avatars
@@ -82,6 +82,33 @@ npx -y @three-ws/marketplace-mcp # browse the agent marketplace + skills catalo
# Naming & AI
npx -y @three-ws/naming-mcp # resolve .sol names + check *.threews.sol identity availability
npx -y @three-ws/ibm-watsonx-mcp # IBM watsonx.ai on your own account
+
+# Autonomous agent control plane
+npx -y @three-ws/autopilot-mcp # set scopes + daily $THREE spend caps, then propose/execute/undo
+npx -y @three-ws/portfolio-mcp # portfolio value, PnL, balances, trade feed & signed transfers
+npx -y @three-ws/provenance-mcp # append-only, signed, on-chain-verifiable agent action log
+
+# Trading, signals & alerts
+npx -y @three-ws/copy-mcp # manage copy-trade follows, sizing & guard rules
+npx -y @three-ws/signals-mcp # discover signal feeds by proven edge; rank publishers
+npx -y @three-ws/alerts-mcp # pump.fun alert rules across in-app / webhook / Telegram
+npx -y @three-ws/kol-mcp # per-wallet KOL portfolio + trade analytics
+
+# Account, inbox & discovery
+npx -y @three-ws/notifications-mcp # inbox, read state, delivery prefs & Web Push devices
+npx -y @three-ws/billing-mcp # plan quotas, metered usage, invoices & receipts
+npx -y @three-ws/activity-mcp # trending agents/coins, $THREE holder board & activity ticker
+
+# More AI & capability
+npx -y @three-ws/vision-mcp # analyze & describe images via the three.ws vision pipeline
+npx -y @three-ws/brain-mcp # run any LLM through the multi-provider router
+npx -y @three-ws/audio-mcp # TTS, STT, audio-to-face lipsync & motion-capture clips
+
+# Coordination, gaming & learning
+npx -y @three-ws/agenc-mcp # AgenC on-chain task marketplace + agent registry
+npx -y @three-ws/clash-mcp # Coin Clash faction battles
+npx -y @three-ws/tutor-mcp # itemized learning-session ledger
+npx -y @three-ws/loom-mcp # browse & contribute to the Loom 3D-creation gallery
```
Every one is also registered in the MCP registry under the `io.github.nirholas/*` namespace.
diff --git a/package.json b/package.json
index a7e9f5ce3..58374607a 100644
--- a/package.json
+++ b/package.json
@@ -60,6 +60,22 @@
"packages/marketplace-mcp",
"packages/x402-mcp",
"packages/provenance-mcp",
+ "packages/autopilot-mcp",
+ "packages/portfolio-mcp",
+ "packages/copy-mcp",
+ "packages/signals-mcp",
+ "packages/alerts-mcp",
+ "packages/notifications-mcp",
+ "packages/billing-mcp",
+ "packages/activity-mcp",
+ "packages/agenc-mcp",
+ "packages/vision-mcp",
+ "packages/brain-mcp",
+ "packages/audio-mcp",
+ "packages/kol-mcp",
+ "packages/clash-mcp",
+ "packages/tutor-mcp",
+ "packages/loom-mcp",
"walk-sdk",
"tour-sdk"
],
diff --git a/packages/portfolio-mcp/src/lib/solana.js b/packages/portfolio-mcp/src/lib/solana.js
index ca8a9305a..b72cff478 100644
--- a/packages/portfolio-mcp/src/lib/solana.js
+++ b/packages/portfolio-mcp/src/lib/solana.js
@@ -14,17 +14,19 @@ import {
ComputeBudgetProgram,
LAMPORTS_PER_SOL,
} from '@solana/web3.js';
-import {
- TOKEN_PROGRAM_ID,
- TOKEN_2022_PROGRAM_ID,
- getMint,
- getAssociatedTokenAddress,
- getAccount,
- createAssociatedTokenAccountInstruction,
- createTransferCheckedInstruction,
-} from '@solana/spl-token';
import bs58 from 'bs58';
+// @solana/spl-token is loaded LAZILY. Its ESM build imports
+// @solana/buffer-layout-utils through a subpath whose `.mjs` entry is absent in
+// some installs, which throws at module-load time. Deferring the import to first
+// use keeps this module — and therefore the whole MCP tool surface — loading
+// cleanly; only the SPL-token code paths (token balances, SPL transfers) need it.
+let _splTokenPromise = null;
+function splToken() {
+ if (!_splTokenPromise) _splTokenPromise = import('@solana/spl-token');
+ return _splTokenPromise;
+}
+
import { SOLANA_RPC_URL, SOLANA_DEFAULT_SECRET } from '../config.js';
import { assertSolWithinCap, clampPriorityMicroLamports } from './spend-policy.js';
@@ -79,6 +81,7 @@ export async function getBalanceSol(pubkeyStr) {
// Live SPL token balances (classic SPL + Token-2022) for any pubkey. Only
// non-zero positions are returned.
export async function getTokenBalances(pubkeyStr) {
+ const { TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID } = await splToken();
const conn = getConnection();
const owner = new PublicKey(pubkeyStr);
const [legacy, t22] = await Promise.all([
@@ -117,6 +120,7 @@ function parseAmountToBaseUnits(amountStr, decimals) {
// Which token program owns a mint — classic SPL or Token-2022. Token-2022 mints
// need their own program id on the transfer/ATA instructions.
async function resolveTokenProgram(conn, mintPk) {
+ const { TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID } = await splToken();
const info = await conn.getAccountInfo(mintPk);
if (!info) {
throw Object.assign(new Error(`mint ${mintPk.toBase58()} not found on-chain`), { code: 'mint_not_found' });
@@ -177,6 +181,13 @@ export async function sendTransfer({ secret, to, amount, mint, priorityMicroLamp
}),
);
} else {
+ const {
+ getMint,
+ getAssociatedTokenAddress,
+ getAccount,
+ createAssociatedTokenAccountInstruction,
+ createTransferCheckedInstruction,
+ } = await splToken();
const mintPk = new PublicKey(mint);
const programId = await resolveTokenProgram(conn, mintPk);
const mintInfo = await getMint(conn, mintPk, 'confirmed', programId);
diff --git a/public/changelog.json b/public/changelog.json
index d04b9ab41..3236a8363 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-24T06:38:49.796Z",
+ "generated_at": "2026-06-24T07:26:26.842Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/features.json b/public/features.json
index 73ce3d07e..115cdf29e 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-24T06:38:49.783Z",
+ "generated_at": "2026-06-24T07:26:26.829Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",