Repository navigation
3.13.0
analytics (breaking, needs kit 0.41.0)
Analytics offers drizzle-cube's own MCP tools through the app's MCP server as analytics_discover, analytics_validate and analytics_load, and drops its own /mcp, which kit 0.41.0 owns.
- The three tools are drizzle-cube's
getCubeTools(drizzle-cube/mcp) adapted to the kit'sToolintools/cube-tools.ts: the library's input schemas (throughz.fromJSONSchema), its descriptions renamed to theanalytics_names, its JSON answers. They are offered throughServerPlugin.toolswithsurfaces: ['mcp', 'agents']— MCP clients and agent runs, never the chat panel — and are read-only (mcp:read, listed under the default "all read-only tools" exposure). - Each call compiles against the same semantic layer as
/cubejs-api(newservices/semantic-layer.ts, which the route now uses too), under the security context/cubejs-apibuilds for the same reader, inside the same 20-second statement timeout.ActivityEventsstays admin-only. A run with no person behind it, or a reader withoutread Analytics, is offered no tools. - drizzle-cube's
charttool is not offered: it is an MCP App (a UI resource), which the app's MCP server does not serve. - The tools are pinned:
tests/config/cube-tools-pinned.test.tsfails when the installed drizzle-cube offers a new, removed or changed tool, so a drizzle-cube upgrade is reviewed tool by tool (the pluginCLAUDE.md, "Upgrading drizzle-cube"). - The plugin's
/mcpis gone: the mount,/mcpinapiPrefixes, the vite/mcpproxy line and the/mcprun_worker_firststep.createCubeAppruns withmcp: { enabled: false }./cubejs-apiis unchanged. - MCP clients now connect with OAuth through the app's own sign-in at
<APP_URL>/mcp/t/<slug>. API keys do not work on/mcp; an API-key connection to the old analytics/mcp(Claude Code--header, Claude Desktop throughmcp-remote) stops working. minKitis 0.41.0. Theanalytics-queries,analyticsandanalytics-cubesskills and the README describe connecting through the app's MCP server.
Upgrade the kit to 0.41.0 first, then pnpm plugin upgrade analytics --apply in the same sitting (porting note).
freeagent: one test-only lint fix for kit 0.41.0. connectors, global-search, guide, inbox, issue-reports, m365, web-knowledge: version stamps only, released in lockstep.
Full changes: 3.12.0...3.13.0