docs(mcp): fix stale tool lists and counts in docs, marketing, and SDK reference

Merged
SA
4mo ago
+20-1

Part of the MCP v2 rework (Phase 0a).

  • apps/docs mcp-server.mdx: capabilities table gains the missing Agents and Terminals rows; terminals tool table now lists all 5 tools (was only terminals_create).
  • apps/marketing llms.ts: drops the hardcoded "27 tools" (actual count is 31, and it will change again during the toolset rework) — points at the self-updating server card instead.
  • packages/sdk api.md: documents all five client.terminals.* methods and their types (only create was listed; the resource has shipped list/send/read/close for a while).

Docs-only, no behavior change.

https://claude.ai/code/session_01Kub4p3Eim9pc1qaRRmGea2


Open in Stage

Summary by cubic

Fixes stale MCP tool lists across docs, marketing, and SDK. Adds Agents/Terminals to capabilities, lists all terminal tools, documents client.terminals.{create,list,send,read,close}, and replaces the hardcoded tool count with the self-updating server card.

Docs-only; no behavior changes.

Summary by CodeRabbit

  • Documentation
    • Added documentation for agent capabilities, including listing agents and launching agent sessions in workspaces.
    • Expanded terminal tool coverage to include listing sessions, sending input, reading screens, and closing sessions.
    • Documented additional terminal session operations and their associated SDK methods.
    • Updated MCP server resources to reference the full tool catalog instead of a fixed tool count.