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
docs(mcp): correct the route header comment and log the spec fix for holders
nirholasc446215a90c2
diff --git a/api/mcp.js b/api/mcp.jsindex e182aaca7..a6d142af4 100644--- a/api/mcp.js+++ b/api/mcp.js@@ -1,5 +1,8 @@// MCP server — Streamable HTTP transport (MCP 2025-06-18, JSON-RPC 2.0)-// POST /api/mcp — tool calls GET /api/mcp — SSE DELETE /api/mcp — terminate session+// POST /api/mcp: tool calls. DELETE /api/mcp: terminate session (stateless, 204).+// GET /api/mcp serves the OAuth + x402 challenge to an unauthenticated caller so+// clients can discover how to pay or sign in; there is no server-to-client+// subscription yet, so an authenticated GET answers 405 with `allow: POST, DELETE`.import { cors, readJson, wrap } from './_lib/http.js';import { limits, clientIp } from './_lib/rate-limit.js';import { settlePayment, encodePaymentResponseHeader } from './_lib/x402-spec.js';diff --git a/data/changelog.json b/data/changelog.jsonindex 1fb018542..5d5620318 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,16 @@{"$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-08-14",+ "title": "The machine-readable API spec stops telling agents they need a login for a lane they can just pay for",+ "summary": "Agents and crawlers read /openapi.json to work out how to call this platform without a human present, and two of its entries were sending them the wrong way. The MCP endpoint was listed as requiring a bearer token or an API key, when in fact an unauthenticated call answers with a payment challenge: an agent can settle in USDC and get to work with no key, no token, and no account at all, and a credential is accepted but never required. Any agent that trusted the spec went off to obtain a login it did not need. The spec also described only the paid half of the Forge generation lane, hiding the free price lookup on the same address that lets an agent read the per-tier pricing and the accepted request shape before it commits any money. Both are corrected, the session-teardown call the MCP route already advertises in its own headers is documented, and the human API reference now matches. The sitemap, robots.txt, llms.txt, and llms-full.txt feeds were swept in the same pass and every address they publish was confirmed to resolve.",+ "tags": [+ "fix",+ "docs"+ ],+ "link": "/docs/api-reference"+ },{"date": "2026-08-14","title": "Comments on your models now read as a sentence in the bell and file under the Social tab",diff --git a/prompts/swarm-100/machine-feeds.md b/prompts/swarm-100/machine-feeds.mddeleted file mode 100644index 7fb06a78d..000000000--- a/prompts/swarm-100/machine-feeds.md+++ /dev/null@@ -1,88 +0,0 @@-# Machine surface audit: sitemap, robots, llms.txt, openapi--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Step 0: re-derive the current state-- curl -so /dev/null -w '/sitemap.xml %{http_code}\n' https://three.ws/sitemap.xml- curl -so /dev/null -w '/llms.txt %{http_code}\n' https://three.ws/llms.txt- curl -so /dev/null -w '/llms-full.txt %{http_code}\n' https://three.ws/llms-full.txt- curl -so /dev/null -w '/robots.txt %{http_code}\n' https://three.ws/robots.txt- curl -so /dev/null -w '/openapi.json %{http_code}\n' https://three.ws/openapi.json--## Task: verify every crawler and agent feed--Endpoints: /sitemap.xml, /llms.txt, /llms-full.txt, /robots.txt, /openapi.json--1. /sitemap.xml is valid XML and its URL set matches data/pages.json (the- build pipeline derives it; a mismatch means a stale build artifact or a- generator bug; fix the generator side).-2. /robots.txt allows what the platform wants crawled and references the- sitemap.-3. /llms.txt and /llms-full.txt parse, and every path they list resolves.-4. /openapi.json parses as valid OpenAPI; spot-check ten declared operations- against the live api/ handlers (method, path, auth) and fix drift at the- generator or handler, whichever is wrong.--## Definition of done--- [ ] All endpoints return 200 with valid content.-- [ ] Sitemap matches data/pages.json exactly.-- [ ] Every path listed in llms.txt and llms-full.txt resolves.-- [ ] Ten openapi operations spot-checked against real handlers, drift fixed.-- [ ] npm run check:rules -- --paths <touched files> exits 0.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/machine-feeds.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.