{"version":"2.1.332","anchor":"tool-server-give-up-message-and-hook-module-reload-handling","canonical_anchor":"tool-server-give-up-message-and-hook-module-reload-handling","heading":"A give_up message lets the host stop the token-renewal helper, and plugin hooks reload on organization changes","tier":"notice","area":"Plugins","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/tool-server-give-up-message-and-hook-module-reload-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### A give_up message lets the host stop the token-renewal helper, and plugin hooks reload on organization changes\n\nA new give_up message tells the mcp serve token helper to abandon its session, and plugin hooks reload when the governing organizations change\n\n**Unclear.** It is not clear whether either change makes any visible difference to a user.\n\n**What**\n\nThere is a new message for stopping the helper that keeps tokens up to date. Tokens are the short-lived credentials a session uses.\n\n- The runner's token socket, its connection to the tool server, now has a `giveUp()` call. It writes `{\"give_up\":true}` to the tool server.\n\n- The `cli_mcp_serve_token_update` handler now treats a message containing `give_up` as a request to abandon the session, and calls `e.abandon()`. It checks for this before it looks for a token. Before, it only handled `token` and `git_token` messages.\n\n- Separately, plugin hook loading has a reload path. Hooks are scripts plugins run at set moments. Hook loading now runs again when the organizations governing the session change, even if the plugin-related settings stay the same.\n\n**Why**\n\nA host can now tell the helper to stop renewing tokens, which affects how the tool server shuts down. Plugin hooks also refresh when the organizations behind a session change.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}