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
feat: finalize notifications MCP package metadata and billing tooling
nirholas066c1b7c4e70
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ef3bd00f0..421d2569e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -17,9 +17,11 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **AI agents can now coordinate over MCP — browse the AgenC task marketplace, verify other agents' on-chain identity, and find paid x402 work** — A new Model Context Protocol server, @three-ws/agenc-mcp, gives any AI assistant the AgenC agent-to-agent coordination layer — read-first, no key required. AgenC is an on-chain task marketplace and agent registry on Solana. An agent can now list every task a creator wallet has posted (with its state, reward, deadline, and worker slots), pull one task in full including its complete lifecycle timeline — every state change, who made it, and the transaction — so it can vet the work before claiming it, resolve another agent's on-chain registry identity (authority, status, capabilities, endpoint, reputation, stake) to confirm who it's coordinating with, link a three.ws identity (an ERC-8004 id, an MPL-Core asset, or a handle) to its canonical AgenC agent id and check whether it's registered, and browse the x402 paid-service directory as claimable tasks — paid work an agent can earn by calling. Everything is live from the real three.ws AgenC bridge; nothing is mocked. Add it in one line: `claude mcp add agenc -- npx -y @three-ws/agenc-mcp`. (`/changelog`) `[sdk, feature]`- **AI agents can now deep-dive a single smart trader over MCP — one KOL's portfolio P&L and their trades** — A new Model Context Protocol server, @three-ws/kol-mcp, is the "track one smart trader" surface. Point any AI assistant at a tracked KOL wallet and it pulls that trader's live portfolio P&L card — realized profit, unrealized (open-position) value, win rate, total trades, and their single largest holding — then drills into that same wallet's recent buys and sells of a specific token: side, SOL size, price, USD value, and timing, newest first. It's the per-wallet complement to the existing intel server, which ranks the whole KOL set and shows everyone's trades on a mint; this one zooms all the way in on one trader so an agent can decide whether to copy or analyze them. Fully read-only and live from the public three.ws KOL API — the Birdeye and Helius keys stay server-side, so no key, signer, or payment is needed on the client. `[sdk, feature]`- **AI agents can now find and follow copy-trade signal feeds over MCP** — New @three-ws/signals-mcp server puts the whole signal marketplace in any AI agent's hands. Agents can browse the public feed directory ranked by proven realized edge, rank publishers by real on-chain performance on the mirror leaderboard, subscribe one of their own agents to a feed (simulate mode to shadow it for free, or live mode to pay the publisher in USDC over x402 and auto-mirror real trades), track their subscriptions with delivery history and realized ROI, and flip an instant kill switch to halt all paying and trading on the spot. Discovery and the leaderboard are open to everyone; subscribing needs a three.ws API key. Everything is live from the real API — nothing mocked. `[sdk, feature]`+- **AI agents can now give a 3D avatar a voice and a face over MCP** — A new Model Context Protocol server, @three-ws/audio-mcp, puts the whole talking-avatar pipeline in any AI assistant's hands. An agent can turn text into spoken audio (free NVIDIA Magpie voice, OpenAI backstop), transcribe what a user says back, and turn speech into a per-frame face-animation track so the avatar's mouth and expression match the words — the same Audio2Face lipsync the platform uses. It can also browse the motion-capture library of recorded face, body, hand, and VMC clips and pull any clip's full animation track to play back on an avatar. The voice, recognition, and lipsync lanes are free and need no key to start; an optional three.ws API key raises the rate limits and unlocks your own private mocap clips. Everything runs live against the real three.ws API — nothing mocked. `[sdk, feature]`- **AI agents can now manage a Pay-As-You-Learn tutoring session over MCP — read the running tab, close it for an attested invoice** — A new Model Context Protocol server, @three-ws/tutor-mcp, exposes the tutor session ledger to any AI assistant. An agent can load a learning session's itemized running tab by its id — every answered question listed as a line item with its level, output tokens, per-question cost, and timestamp, plus the running total — and close the session to seal a finalized, SHA-256-attested invoice that locks any further billing to it. Both tools are free and move no funds: answering questions is the paid action, but a learner is never charged to see what they owe or to end the session. Sessions are addressed by an opaque id, so there's no key or signer to configure; everything runs live against the real three.ws tutor API. `[sdk, feature]`- **AI agents can now manage their own autopilot scopes and spend limits over MCP** — A new Model Context Protocol server, @three-ws/autopilot-mcp, lets an AI agent run its own execution control plane. The agent can read and set its autopilot guardrails — which capabilities are allowed (alerts, briefings, $THREE transfers), the daily $THREE spend ceiling, auto-execute and confirmation policy — then drive the full propose → review → execute → undo loop: generate memory-grounded proposals, dry-run them, execute the real action, and undo reversible ones. It's authenticated with your three.ws credential, and every scope and spend cap is still enforced server-side, so an agent can act on its own without being able to step outside the boundaries you granted. $THREE is the only coin it can move. `[sdk, feature]`- **AI agents can now manage their own portfolio, PnL, and on-chain transfers over MCP** — New @three-ws/portfolio-mcp server gives an autonomous agent read/write access to its own trading state from any MCP client. It can pull a live portfolio summary across the wallets it owns, chart that value over time, deep-dive a single token with live market data, read the platform-wide feed of closed trades and their realized PnL, and check live on-chain balances for any Solana wallet. It also ships one real write — a signed Solana transfer of SOL or any SPL token — that the agent signs with its own key, gated by an explicit confirmation, a per-transaction spend cap, and an optional recipient allowlist. Reads run live against the three.ws API and Solana RPC; nothing is mocked. `[sdk, feature]`+- **AI agents can now run their own pump.fun alerts over MCP** — A new Model Context Protocol server, @three-ws/alerts-mcp, hands an AI agent the pump.fun market-monitoring controls. The agent can list its alert rules with live delivery health, create new ones on any pump.fun event — a coin graduating to AMM, a market cap rising above or falling below a target, a whale buy over a SOL threshold, or a tracked agent launching a new coin — and update, pause, or delete them. Each rule delivers in-app, to a signed HTTPS webhook, and/or to Telegram, with a per-rule cooldown. The agent can also read the history of alerts that actually fired, newest first, each with a plain-language summary and the full event details. The three.ws cron does the watching server-side, so rules fire across devices with no dashboard open. Every rule and alert is private and scoped to your three.ws session; nothing is mocked. `[sdk, feature]`- **AI agents can now run your copy-trading over MCP — follow leaders, tune guard rules, and track fees owed** — A new Model Context Protocol server, @three-ws/copy-mcp, makes the whole copy-trading control surface agent-drivable from any AI assistant — everything the copy dashboard does, headless. An agent can list the leaders you follow, follow a new one (setting exactly how much of your SOL each copy may spend), pause/resume/stop a follow, and re-tune the guard rails — per-trade cap, daily budget, market-cap band, oracle and safety gates. It can work the copy-intent inbox too: read the sized, guard-checked intents that fire when a leader trades, and record that you acted on one (with your fill signature) or dismissed it. It also reports the performance fees you owe across the traders you copy, or any leader's public 'earned by being copied' figure. Strictly non-custodial: three.ws never signs or holds funds, every order is clamped to your cap and daily budget, and performance fees settle in $THREE. (`/changelog`) `[sdk, feature]`- **AI agents can now see — a new MCP server lets any assistant analyze and describe images** — New @three-ws/vision-mcp server gives an AI agent eyes. Point it at any image — a public https URL or a base64 blob — and it answers questions about it (read the text in a screenshot, identify what's in a scene, critique a 3D or avatar render) or returns a plain-language description for alt text and captions. It runs on the platform's free-first vision pipeline: free NVIDIA NIM vision models lead every request, with an automatic paid backstop behind them, so the caller never pays and needs no key. A status tool reports whether vision is live and which formats are accepted (JPEG, PNG, WebP, GIF, up to 12 MB). Every call is read-only — it looks, it never stores or changes anything — and an optional three.ws API key only raises your rate limit. `[sdk, feature]`- **AI agents can now see what's hot on three.ws over MCP — trending agents and coins, the $THREE holder board, and the live activity ticker** — A new Model Context Protocol server, @three-ws/activity-mcp, hands any AI assistant the platform's live discovery surface — read-only, no key required. An agent can pull the trending agents ranked by real chat activity over a 24h, 7d, or all-time window (and optionally blend in proven wallet-trust reputation), see which coins the Oracle has the highest conviction in with the momentum/pedigree/structure/narrative sub-scores behind each, browse the $THREE holder leaderboard ranked by on-chain balance — complete with each holder's tier, the live price/market-cap strip, and a 'you are #N' lookup for any wallet — read the $THREE holder tier ladder (what each band means and the balance to reach it), and tail the site-wide activity ticker of coin buys, agent deploys, level-ups, payments, and more, newest-first. Everything is live from the real three.ws API — nothing mocked. Add it in one line: `claude mcp add activity -- npx -y @three-ws/activity-mcp`. (`/changelog`) `[sdk, feature]`diff --git a/data/changelog.json b/data/changelog.jsonindex 7dbbe3796..32bb79a07 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,24 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-24",+ "title": "AI agents can now run their own pump.fun alerts over MCP",+ "summary": "A new Model Context Protocol server, @three-ws/alerts-mcp, hands an AI agent the pump.fun market-monitoring controls. The agent can list its alert rules with live delivery health, create new ones on any pump.fun event — a coin graduating to AMM, a market cap rising above or falling below a target, a whale buy over a SOL threshold, or a tracked agent launching a new coin — and update, pause, or delete them. Each rule delivers in-app, to a signed HTTPS webhook, and/or to Telegram, with a per-rule cooldown. The agent can also read the history of alerts that actually fired, newest first, each with a plain-language summary and the full event details. The three.ws cron does the watching server-side, so rules fire across devices with no dashboard open. Every rule and alert is private and scoped to your three.ws session; nothing is mocked.",+ "tags": [+ "sdk",+ "feature"+ ]+ },+ {+ "date": "2026-06-24",+ "title": "AI agents can now give a 3D avatar a voice and a face over MCP",+ "summary": "A new Model Context Protocol server, @three-ws/audio-mcp, puts the whole talking-avatar pipeline in any AI assistant's hands. An agent can turn text into spoken audio (free NVIDIA Magpie voice, OpenAI backstop), transcribe what a user says back, and turn speech into a per-frame face-animation track so the avatar's mouth and expression match the words — the same Audio2Face lipsync the platform uses. It can also browse the motion-capture library of recorded face, body, hand, and VMC clips and pull any clip's full animation track to play back on an avatar. The voice, recognition, and lipsync lanes are free and need no key to start; an optional three.ws API key raises the rate limits and unlocks your own private mocap clips. Everything runs live against the real three.ws API — nothing mocked.",+ "tags": [+ "sdk",+ "feature"+ ]+ },{"date": "2026-06-24","title": "Check your plan usage and billing from any AI agent over MCP",diff --git a/packages/alerts-mcp/README.md b/packages/alerts-mcp/README.mdnew file mode 100644index 000000000..480cbe406--- /dev/null+++ b/packages/alerts-mcp/README.md@@ -0,0 +1,159 @@+<p align="center">+ <a href="https://three.ws"><img src="https://three.ws/three-ws-mcp-icon.svg" alt="three.ws" width="88" height="88"></a>+</p>++<h1 align="center">@three-ws/alerts-mcp</h1>++<p align="center"><strong>Run your own pump.fun monitoring from any AI agent — define alert rules, deliver them in-app / by signed webhook / to Telegram, and read the fired-alert history.</strong></p>++<p align="center">+ <a href="https://www.npmjs.com/package/@three-ws/alerts-mcp"><img alt="npm" src="https://img.shields.io/npm/v/@three-ws/alerts-mcp?logo=npm&color=cb3837"></a>+ <img alt="license" src="https://img.shields.io/npm/l/@three-ws/alerts-mcp?color=3b82f6">+ <img alt="node" src="https://img.shields.io/node/v/@three-ws/alerts-mcp?color=339933&logo=node.js">+ <a href="https://registry.modelcontextprotocol.io/?q=io.github.nirholas"><img alt="MCP Registry" src="https://img.shields.io/badge/MCP%20Registry-io.github.nirholas-0ea5e9"></a>+ <a href="https://three.ws"><img alt="three.ws" src="https://img.shields.io/badge/built%20by-three.ws-000"></a>+</p>++---++> A [Model Context Protocol](https://modelcontextprotocol.io) server that turns the three.ws pump.fun **alerts** surface into an agent-drivable control plane over stdio. Define rules on pump.fun events — graduations, market-cap crossings, whale buys, new launches — and let the three.ws cron evaluate them against the live event stream and deliver across in-app, webhook, and Telegram. Read back what actually fired, with per-channel delivery health.++Rules are **account-scoped**: every call carries your three.ws session, so the server reads and writes only *your* rules and *your* alert history. The pumpfun-monitor cron does the watching server-side, so your rules fire across devices with no dashboard open.++## Install++```bash+npm install @three-ws/alerts-mcp+```++Or run with `npx` (no install):++```bash+npx @three-ws/alerts-mcp+```++## Quick start++**Claude Code**, one line:++```bash+claude mcp add alerts -e THREE_WS_SESSION=your-__Host-sid-cookie -- npx -y @three-ws/alerts-mcp+```++**Claude Desktop / Cursor** (`claude_desktop_config.json` or `mcp.json`):++```json+{+ "mcpServers": {+ "alerts": {+ "command": "npx",+ "args": ["-y", "@three-ws/alerts-mcp"],+ "env": {+ "THREE_WS_SESSION": "your-__Host-sid-cookie"+ }+ }+ }+}+```++Inspect the surface with the MCP Inspector:++```bash+THREE_WS_SESSION=… npx -y @modelcontextprotocol/inspector npx @three-ws/alerts-mcp+```++## Authentication++Every tool is account-scoped. Set **`THREE_WS_SESSION`** to the value of your `__Host-sid` cookie from a signed-in [three.ws](https://three.ws) browser session (DevTools → Application → Cookies → `__Host-sid`). The server sends it the same way your browser does; for writes it first fetches a one-time CSRF token from `/api/csrf-token` and echoes it, exactly like the site. Treat the session value like a password. No Solana key or signer is involved.++## Tools++| Tool | Type | What it does |+| ------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------- |+| `list_alert_rules` | read-only | List your alert rules with live delivery health — `last_fired_at`, recent failures, recent per-channel outcomes. |+| `create_alert_rule` | write (appends) | Define a new rule on a pump.fun event. Not idempotent — each call adds a rule (max 50). |+| `update_alert_rule` | write (idempotent) | Retune a threshold, pause/resume (`enabled`), swap delivery channels, or change `kind`. Only passed fields change. |+| `delete_alert_rule` | write (**destructive**) | Permanently remove a rule and its fire/delivery history. Prefer `update_alert_rule` with `enabled:false` to pause. |+| `get_alert_history` | read-only | Read the alerts that actually fired, newest first — each with a summary, originating `rule_id`, and full payload. |++### Rule kinds & targeting++| `kind` | Target | `threshold` |+| -------------- | ------------------------------- | ------------------------- |+| `graduation` | global, or `target_mint` / `target_agent` | — |+| `price_above` | `target_mint` (required) | USD market cap |+| `price_below` | `target_mint` (required) | USD market cap |+| `whale_buy` | `target_mint` (required) | minimum buy size in SOL |+| `new_mint` | `target_agent` (required) | — |++At least one delivery channel must be on: `deliver_in_app` (default true), `webhook_url` (HTTPS — a per-rule `webhook_secret` is generated for verifying the `webhook-signature` header), and/or `telegram_chat` (numeric chat id or `@username`). `cooldown_seconds` (5–86400, default 300) throttles repeat fires.++> Any coin referenced in a rule is **runtime input you supply**. three.ws promotes only **$THREE** (`FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`).++## Example++```jsonc+// create_alert_rule — alert when a tracked agent's coin graduates, via webhook + Telegram+> {+ "kind": "graduation",+ "target_agent": "8a1c…-uuid",+ "webhook_url": "https://hooks.example.com/pump",+ "telegram_chat": "123456789",+ "cooldown_seconds": 600+ }+{+ "ok": true,+ "rule": {+ "id": "…", "kind": "graduation", "label_display": "Graduations · tracked agent",+ "target_agent": "8a1c…-uuid", "deliver_in_app": true,+ "webhook_url": "https://hooks.example.com/pump",+ "webhook_secret": "whsec_…", "telegram_chat": "123456789",+ "cooldown_seconds": 600, "enabled": true,+ "last_fired_at": null, "recent_failures": 0, "recent_deliveries": []+ }+}+```++```jsonc+// get_alert_history — what fired, newest first+> { "limit": 2 }+{+ "ok": true, "count": 2, "unread_count": 1,+ "alerts": [+ { "id": 1841, "fired_at": "2026-06-24T…Z", "read": false,+ "summary": "Whale bought 12.50 SOL ($2,310) of $THREE",+ "rule_id": "…", "kind": "whale_buy", "mint": "FeMb…pump", "symbol": "THREE",+ "event": { "amount_sol": 12.5, "amount_usd": 2310, "buyer": "…", "tx": "…" } }+ ]+}+```++## Requirements++- **Node.js >= 20.**+- A signed-in three.ws session (`THREE_WS_SESSION`).+- Network access to `https://three.ws` (or your own `THREE_WS_BASE`).++### Environment variables++| Variable | Required | Default | Notes |+| --------------------- | -------- | ------------------ | ------------------------------------------------------------ |+| `THREE_WS_SESSION` | **yes** | — | Your `__Host-sid` cookie value. Account credential — secret. |+| `THREE_WS_BASE` | no | `https://three.ws` | Override only for self-hosting / preview deployments. |+| `THREE_WS_TIMEOUT_MS` | no | `20000` | Per-request timeout (ms). |++## Links++- Homepage: https://three.ws+- Changelog: https://three.ws/changelog+- Issues: https://github.com/nirholas/three.ws/issues+- License: Apache-2.0 — see [LICENSE](./LICENSE)++---++<p align="center">+ <sub>+ Part of the <a href="https://three.ws">three.ws</a> SDK suite — 3D AI agents, on-chain identity, and agent payments.<br/>+ <a href="https://three.ws">Website</a> · <a href="https://three.ws/changelog">Changelog</a> · <a href="https://github.com/nirholas/three.ws">GitHub</a>+ </sub>+</p>diff --git a/packages/billing-mcp/src/lib/api.js b/packages/billing-mcp/src/lib/api.jsindex b14b2f65e..8f7b33ce8 100644--- a/packages/billing-mcp/src/lib/api.js+++ b/packages/billing-mcp/src/lib/api.js@@ -83,7 +83,12 @@ export async function apiRequest(path, { method = 'GET', query, body, auth = falconst message = data?.message || data?.error || `three.ws ${path} returned HTTP ${res.status}`;throw Object.assign(new Error(message), { code: 'upstream_error', status: res.status, body: data });}- return { status: res.status, contentType: res.headers.get('content-type') || '', text };+ return {+ status: res.status,+ contentType: res.headers.get('content-type') || '',+ disposition: res.headers.get('content-disposition') || '',+ text,+ };}let data;diff --git a/packages/billing-mcp/src/tools/export-billing-history.js b/packages/billing-mcp/src/tools/export-billing-history.jsindex 8464beb2b..cee2a45f9 100644--- a/packages/billing-mcp/src/tools/export-billing-history.js+++ b/packages/billing-mcp/src/tools/export-billing-history.js@@ -78,7 +78,7 @@ export const def = {if (args?.to) query.to = args.to;}- const { contentType, text } = await apiRequest('/api/billing/invoices', {+ const { contentType, disposition, text } = await apiRequest('/api/billing/invoices', {auth: true,query,accept: 'text/csv',@@ -87,12 +87,15 @@ export const def = {const { rows } = parseCsv(text);const previewN = args?.preview_rows ?? 5;- // Derive the canonical filename the API offers; fall back to the period label.+ // Prefer the authoritative download name from content-disposition; fall back+ // to a name derived from the requested period.+ const fromHeader = disposition?.match(/filename="?([^"]+)"?/i)?.[1];const label = args?.period || (args?.from || args?.to ? 'custom' : 'current');+ const filename = fromHeader || `three-ws-invoice-${label}.csv`;return {ok: true,- filename: `three-ws-invoice-${label}.csv`,+ filename,content_type: contentType || 'text/csv',row_count: rows.length,preview: rows.slice(0, previewN),diff --git a/packages/notifications-mcp/package.json b/packages/notifications-mcp/package.jsonnew file mode 100644index 000000000..7eba4637f--- /dev/null+++ b/packages/notifications-mcp/package.json@@ -0,0 +1,55 @@+{+ "name": "@three-ws/notifications-mcp",+ "version": "0.1.0",+ "mcpName": "io.github.nirholas/notifications-mcp",+ "description": "Read and manage your three.ws notification inbox from any AI agent — list inbound events (pump/market alerts, sales, purchases, social, IRL, account), mark read, tune the per-category delivery matrix, and register Web Push devices. Account-scoped over the live API via a Bearer API key.",+ "type": "module",+ "author": "nirholas <[email protected]>",+ "license": "Apache-2.0",+ "homepage": "https://three.ws",+ "repository": {+ "type": "git",+ "url": "git+https://github.com/nirholas/three.ws.git",+ "directory": "packages/notifications-mcp"+ },+ "bugs": {+ "url": "https://github.com/nirholas/three.ws/issues"+ },+ "keywords": [+ "mcp",+ "three.ws",+ "notifications",+ "inbox",+ "web-push",+ "preferences",+ "alerts"+ ],+ "publishConfig": {+ "access": "public"+ },+ "files": [+ "src",+ "server.json",+ "README.md",+ "LICENSE"+ ],+ "bin": {+ "notifications-mcp": "src/index.js"+ },+ "main": "./src/index.js",+ "exports": {+ ".": "./src/index.js"+ },+ "engines": {+ "node": ">=20"+ },+ "scripts": {+ "start": "node src/index.js",+ "test": "node --test \"test/**/*.test.mjs\"",+ "inspect": "npx -y @modelcontextprotocol/inspector node src/index.js"+ },+ "dependencies": {+ "@modelcontextprotocol/sdk": "^1.29.0",+ "zod": "^3.23.8"+ }+}diff --git a/packages/notifications-mcp/server.json b/packages/notifications-mcp/server.jsonnew file mode 100644index 000000000..73bdcd810--- /dev/null+++ b/packages/notifications-mcp/server.json@@ -0,0 +1,56 @@+{+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",+ "name": "io.github.nirholas/notifications-mcp",+ "title": "three.ws Notifications",+ "description": "Read the notification inbox, mark items read, manage the per-category delivery matrix, and register Web Push devices.",+ "websiteUrl": "https://three.ws",+ "icons": [+ {+ "src": "https://three.ws/three-ws-mcp-icon.svg",+ "mimeType": "image/svg+xml",+ "sizes": [+ "any"+ ]+ }+ ],+ "repository": {+ "url": "https://github.com/nirholas/three.ws",+ "source": "github",+ "subfolder": "packages/notifications-mcp"+ },+ "version": "0.1.0",+ "packages": [+ {+ "registryType": "npm",+ "identifier": "@three-ws/notifications-mcp",+ "version": "0.1.0",+ "runtimeHint": "npx",+ "transport": {+ "type": "stdio"+ },+ "environmentVariables": [+ {+ "name": "THREE_WS_API_KEY",+ "description": "A three.ws API key (sk_live_… / sk_test_…) or OAuth access token for the account whose notifications you want to read and manage, carried as Authorization: Bearer. Required — every endpoint is account-scoped. Aliases: THREE_WS_TOKEN, THREE_WS_BEARER. Treat like a password.",+ "format": "string",+ "isRequired": true,+ "isSecret": true+ },+ {+ "name": "THREE_WS_BASE",+ "description": "Base URL of the three.ws API. Override only when self-hosting or targeting a preview deployment.",+ "format": "string",+ "isRequired": false,+ "default": "https://three.ws"+ },+ {+ "name": "THREE_WS_TIMEOUT_MS",+ "description": "Per-request timeout in milliseconds for the live inbox reads/writes.",+ "format": "number",+ "isRequired": false,+ "default": "20000"+ }+ ]+ }+ ]+}diff --git a/packages/notifications-mcp/test/registration.test.mjs b/packages/notifications-mcp/test/registration.test.mjsnew file mode 100644index 000000000..fe25303bb--- /dev/null+++ b/packages/notifications-mcp/test/registration.test.mjs@@ -0,0 +1,84 @@+// Tool-surface invariants for @three-ws/notifications-mcp.+//+// Importing src/index.js is side-effect-free: the stdio transport only connects+// when the file is the process entry point, and buildServer() needs no+// credential to advertise the tool surface. These tests run offline — they never+// touch the network.+//+// Run: node --test packages/notifications-mcp/test/registration.test.mjs++import { test } from 'node:test';+import assert from 'node:assert/strict';++import { TOOLS, buildServer } from '../src/index.js';++const EXPECTED_NAMES = [+ 'list_notifications',+ 'mark_read',+ 'delete_notification',+ 'get_preferences',+ 'set_preferences',+ 'register_push_device',+ 'unregister_push_device',+];++// Writes that touch state — must NOT advertise readOnlyHint.+const WRITE_NAMES = new Set([+ 'mark_read',+ 'delete_notification',+ 'set_preferences',+ 'register_push_device',+ 'unregister_push_device',+]);++test('exactly the expected tools are registered', () => {+ assert.equal(TOOLS.length, EXPECTED_NAMES.length);+ assert.deepEqual(new Set(TOOLS.map((t) => t.name)), new Set(EXPECTED_NAMES));+});++test('every tool has a title, description, input schema and complete annotations', () => {+ for (const tool of TOOLS) {+ assert.equal(typeof tool.title, 'string', `${tool.name} is missing a title`);+ assert.ok(tool.title.length > 0, `${tool.name} has an empty title`);+ assert.equal(typeof tool.description, 'string', `${tool.name} is missing a description`);+ assert.ok(tool.description.length > 0, `${tool.name} has an empty description`);+ assert.ok(tool.inputSchema && typeof tool.inputSchema === 'object', `${tool.name} is missing inputSchema`);+ assert.equal(typeof tool.handler, 'function', `${tool.name} is missing a handler`);+ assert.ok(tool.annotations, `${tool.name} is missing MCP ToolAnnotations`);+ assert.equal(typeof tool.annotations.readOnlyHint, 'boolean', `${tool.name} must set readOnlyHint`);+ assert.equal(typeof tool.annotations.idempotentHint, 'boolean', `${tool.name} must set idempotentHint`);+ assert.equal(typeof tool.annotations.openWorldHint, 'boolean', `${tool.name} must set openWorldHint`);+ }+});++test('every tool talks to a live, account-scoped service (openWorldHint)', () => {+ for (const tool of TOOLS) {+ assert.equal(tool.annotations.openWorldHint, true, `${tool.name} talks to a live service`);+ }+});++test('write tools are not flagged read-only; read tools omit destructiveHint', () => {+ for (const tool of TOOLS) {+ if (WRITE_NAMES.has(tool.name)) {+ assert.equal(tool.annotations.readOnlyHint, false, `${tool.name} mutates state — readOnlyHint must be false`);+ } else {+ assert.equal(tool.annotations.readOnlyHint, true, `${tool.name} should be read-only`);+ assert.equal(+ tool.annotations.destructiveHint,+ undefined,+ `${tool.name} is read-only — destructiveHint should be omitted`,+ );+ }+ }+});++test('buildServer registers every tool with its annotations, without a credential', () => {+ const server = buildServer();+ const registered = server._registeredTools;+ assert.ok(registered, 'McpServer should expose its tool registry');+ for (const tool of TOOLS) {+ const entry = registered[tool.name];+ assert.ok(entry, `${tool.name} not registered on the server`);+ assert.deepEqual(entry.annotations, tool.annotations, `${tool.name} annotations must survive registration`);+ }+});diff --git a/public/changelog.json b/public/changelog.jsonindex 1faf5ab48..04981475f 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-24T06:22:23.950Z",+ "generated_at": "2026-06-24T06:24:18.149Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -91,6 +91,17 @@"feature"]},+ {+ "date": "2026-06-24",+ "type": "update",+ "title": "AI agents can now give a 3D avatar a voice and a face over MCP",+ "summary": "A new Model Context Protocol server, @three-ws/audio-mcp, puts the whole talking-avatar pipeline in any AI assistant's hands. An agent can turn text into spoken audio (free NVIDIA Magpie voice, OpenAI backstop), transcribe what a user says back, and turn speech into a per-frame face-animation track so the avatar's mouth and expression match the words — the same Audio2Face lipsync the platform uses. It can also browse the motion-capture library of recorded face, body, hand, and VMC clips and pull any clip's full animation track to play back on an avatar. The voice, recognition, and lipsync lanes are free and need no key to start; an optional three.ws API key raises the rate limits and unlocks your own private mocap clips. Everything runs live against the real three.ws API — nothing mocked.",+ "link": null,+ "tags": [+ "sdk",+ "feature"+ ]+ },{"date": "2026-06-24","type": "update",@@ -124,6 +135,17 @@"feature"]},+ {+ "date": "2026-06-24",+ "type": "update",+ "title": "AI agents can now run their own pump.fun alerts over MCP",+ "summary": "A new Model Context Protocol server, @three-ws/alerts-mcp, hands an AI agent the pump.fun market-monitoring controls. The agent can list its alert rules with live delivery health, create new ones on any pump.fun event — a coin graduating to AMM, a market cap rising above or falling below a target, a whale buy over a SOL threshold, or a tracked agent launching a new coin — and update, pause, or delete them. Each rule delivers in-app, to a signed HTTPS webhook, and/or to Telegram, with a per-rule cooldown. The agent can also read the history of alerts that actually fired, newest first, each with a plain-language summary and the full event details. The three.ws cron does the watching server-side, so rules fire across devices with no dashboard open. Every rule and alert is private and scoped to your three.ws session; nothing is mocked.",+ "link": null,+ "tags": [+ "sdk",+ "feature"+ ]+ },{"date": "2026-06-24","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 4851bc32a..a38f0b85c 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -70,6 +70,14 @@<category>sdk</category><description>New @three-ws/signals-mcp server puts the whole signal marketplace in any AI agent's hands. Agents can browse the public feed directory ranked by proven realized edge, rank publishers by real on-chain performance on the mirror leaderboard, subscribe one of their own agents to a feed (simulate mode to shadow it for free, or live mode to pay the publisher in USDC over x402 and auto-mirror real trades), track their subscriptions with delivery history and realized ROI, and flip an instant kill switch to halt all paying and trading on the spot. Discovery and the leaderboard are open to everyone; subscribing needs a three.ws API key. Everything is live from the real API — nothing mocked.</description></item>+ <item>+ <title>AI agents can now give a 3D avatar a voice and a face over MCP</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-24:AI agents can now give a 3D avatar a voice and a face over MCP</guid>+ <pubDate>Wed, 24 Jun 2026 12:00:00 GMT</pubDate>+ <category>sdk</category>+ <description>A new Model Context Protocol server, @three-ws/audio-mcp, puts the whole talking-avatar pipeline in any AI assistant's hands. An agent can turn text into spoken audio (free NVIDIA Magpie voice, OpenAI backstop), transcribe what a user says back, and turn speech into a per-frame face-animation track so the avatar's mouth and expression match the words — the same Audio2Face lipsync the platform uses. It can also browse the motion-capture library of recorded face, body, hand, and VMC clips and pull any clip's full animation track to play back on an avatar. The voice, recognition, and lipsync lanes are free and need no key to start; an optional three.ws API key raises the rate limits and unlocks your own private mocap clips. Everything runs live against the real three.ws API — nothing mocked.</description>+ </item><item><title>AI agents can now manage a Pay-As-You-Learn tutoring session over MCP — read the running tab, close it for an attested invoice</title><link>https://three.ws/changelog</link>@@ -94,6 +102,14 @@<category>sdk</category><description>New @three-ws/portfolio-mcp server gives an autonomous agent read/write access to its own trading state from any MCP client. It can pull a live portfolio summary across the wallets it owns, chart that value over time, deep-dive a single token with live market data, read the platform-wide feed of closed trades and their realized PnL, and check live on-chain balances for any Solana wallet. It also ships one real write — a signed Solana transfer of SOL or any SPL token — that the agent signs with its own key, gated by an explicit confirmation, a per-transaction spend cap, and an optional recipient allowlist. Reads run live against the three.ws API and Solana RPC; nothing is mocked.</description></item>+ <item>+ <title>AI agents can now run their own pump.fun alerts over MCP</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-24:AI agents can now run their own pump.fun alerts over MCP</guid>+ <pubDate>Wed, 24 Jun 2026 12:00:00 GMT</pubDate>+ <category>sdk</category>+ <description>A new Model Context Protocol server, @three-ws/alerts-mcp, hands an AI agent the pump.fun market-monitoring controls. The agent can list its alert rules with live delivery health, create new ones on any pump.fun event — a coin graduating to AMM, a market cap rising above or falling below a target, a whale buy over a SOL threshold, or a tracked agent launching a new coin — and update, pause, or delete them. Each rule delivers in-app, to a signed HTTPS webhook, and/or to Telegram, with a per-rule cooldown. The agent can also read the history of alerts that actually fired, newest first, each with a plain-language summary and the full event details. The three.ws cron does the watching server-side, so rules fire across devices with no dashboard open. Every rule and alert is private and scoped to your three.ws session; nothing is mocked.</description>+ </item><item><title>AI agents can now run your copy-trading over MCP — follow leaders, tune guard rules, and track fees owed</title><link>https://three.ws/changelog</link>diff --git a/public/features.json b/public/features.jsonindex 0b160da95..7f3b94d35 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-24T06:22:23.904Z",+ "generated_at": "2026-06-24T06:24:18.060Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",