Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary As of November 2026, define a named tool with a description, input schema and async handler, wrap it in an in-process MCP server, then pass that server to query(). In TypeScript, begin with tool()
Not for adding a remote HTTP MCP server to the Claude Code CLI.
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.