Type /plugin-types to generate a TypeScript file typing every connected MCP tool's arguments.
What's wrong with this entry?
/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.
- 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.
/plugin-types
/plugin-types src/typesWrite 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.
-
v2.1.234
A crashing slash command now tells you it crashed
Both mention slash command
-
v2.1.234
A command can decide from its arguments whether it counts as sensitive
Both mention slash command
-
v2.1.234
A slash-command grouping for a command that does not exist
Both mention slash command