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(x-grok): log order 030 MCP client analytics as done with its commit and the caveats
nirholas0a0623b9b382
diff --git a/prompts/finish/_context/x-grok-PROGRESS.md b/prompts/finish/_context/x-grok-PROGRESS.mdindex 43fea6626..8a7d8de2d 100644--- a/prompts/finish/_context/x-grok-PROGRESS.md+++ b/prompts/finish/_context/x-grok-PROGRESS.md@@ -74,3 +74,9 @@ Cross-session handoff for the `x-grok-` orders ([x-grok-00-CONTEXT.md](x-grok-00## 2026-10-09 order 031 (MCP prompts for an always-on agent)Added `agent-get-started`, `daily-3d-brief`, `asset-pack`, `avatar-from-photo` to the studio (`mcp-studio`) and Grok surfaces, and `agent-report` to core and the signed-in Grok surface. Studio dispatcher gained `prompts/list` and `prompts/get` rendered against the caller's visible catalog; ChatGPT surface stays prompt-free. `list_my_agents` (read-only, landed in bdfdd1ece) lets signed-in Grok callers enumerate agents for `agent-report`. Tests: `tests/mcp-prompts-unattended.test.js` plus the `docs/mcp.md` use-case coverage test.++## 2026-10-09 order 030 (MCP client analytics) done++- Shipped in 7b200e2b8: every hosted MCP server (`mcp`, `mcp-3d`, `mcp-agent`, `mcp-bazaar`, `pump-fun-mcp`, studio `full`/`chatgpt`/`grok`) issues an `Mcp-Session-Id` on initialize and records, after the response and batched, a session row plus daily aggregates by client, version, surface, auth kind and tool (`api/_lib/mcp-clients.js`, migration `20261009172000_mcp_client_analytics.sql`, applied after `db:status` showed only it pending). `GET /api/ops/mcp-clients?days=30` (`requireAdmin`), page `/mcp-clients`, raw sessions purged after 30 days by the `db-retention` cron. Docs: `docs/ops/mcp-clients.md`.+- Evidence: local order 023 probe against a server with `.env.local` loaded showed client `probe` (7 sessions, 2 `search_catalog` calls, anonymous, full surface) via `gatherMcpClients`; the live endpoint answers 401 unauthenticated; 22 tests in `tests/mcp-clients.test.js` incl. 401 and 403; browser check of all states at 375/768/1440 with zero page errors (admin login unavailable, so the endpoint response was intercepted using real `gatherMcpClients` output).+- Caveats: calls from clients that never echo the session id count as client `unknown` (the board shows the share). The probe's client name changed to `probe`. The local probe wrote to the production database. A server started without `DATABASE_URL` logs `flush_failed` and drops events.