Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

New /plugin-types command writes TypeScript types for your connected MCP tools

Use it now
Useful4 Signal3
Slash Commands Notable not in their notes

Type /plugin-types to generate a TypeScript file typing every connected MCP tool's arguments.

/plugin-types
What

/plugin-types generates claude-code-mcp.d.ts in .claude/types, or in a directory you pass, containing an McpToolInputs interface built from every connected MCP server's advertised tool schemas. A plugin checking e.tool === "mcp__<server>__<tool>" then gets that tool's exact arguments typed. It reports how many tools from how many servers it wrote.

Details
  • Refuses to write outside the project directory or through a symlink.
  • Registered as an ordinary local command and usable non-interactively.
  • Types come from the servers connected in the current session, so reconnecting or adding a server means re-running it.
Usage
/plugin-types
/plugin-types src/types
Evidence

Write claude-code-mcp.d.ts: the inputs of the connected MCP tools, for typing a plugin against this session

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.242 →