{"version":"2.1.286","anchor":"plugin-test-sandbox-allows-more-hooks-and-calls","canonical_anchor":"plugin-test-sandbox-allows-more-hooks-and-calls","heading":"Plugin test scans cover SubagentStop hooks, MCP connections and toasts","tier":"internal","area":"Claude Test","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286\/e\/plugin-test-sandbox-allows-more-hooks-and-calls","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286","markdown":"### Plugin test scans cover SubagentStop hooks, MCP connections and toasts\n\nThe plugin test scan list now includes the `SubagentStop` hook and calls to connect to MCP servers and show toasts, and drops two calls\n\n**Unclear.** It is unclear whether this list limits what plugins may do or only describes it.\n\n**What**\n\nThe list Claude Code uses when scanning a plugin under test changed:\n\n- The `SubagentStop` hook, which runs when a subagent (a helper agent Claude starts for part of a task) finishes, is now listed.\n\n- The `mcp.connect` call, for connecting to an MCP server, is now listed.\n\n- The `ui.toast` call, for showing a short pop-up notice, is now listed.\n\n- The `clock.after` and `command.run` calls are no longer listed.\n\n**Why**\n\nPlugins that react when a subagent finishes, connect to MCP servers or show notices fall inside what the test scan covers.\n\n- Area: Claude Test\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}