{"version":"2.1.337","anchor":"hook-mcp-tool-input-schema-gains-built-in","canonical_anchor":"hook-mcp-tool-input-schema-gains-built-in","heading":"Hooks can tell when an MCP server belongs to Claude Desktop or VS Code","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/hook-mcp-tool-input-schema-gains-built-in","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Hooks can tell when an MCP server belongs to Claude Desktop or VS Code\n\nTool hook inputs can now include a built_in flag meaning Claude Desktop or the VS Code extension started the session and owns the MCP server\n\n**What**\n\nA hook is a script or command you set up to run automatically at certain moments, for example before or after Claude uses a tool. An MCP server is an add-on program that gives Claude extra tools.\n\nThe information Claude Code passes to tool hooks can now include a `built_in` flag:\n\n- When present, it means Claude Desktop or the VS Code extension started this session and the MCP server is one of its own.\n\n- When absent, where the server came from is unknown.\n\nThe flag appears only on tool hook inputs.\n\n**Why**\n\nIf you write hooks, you can now tell MCP servers supplied by the app you are running in apart from ones you configured yourself. Treat a missing flag as unknown, not as user-configured.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}