{"version":"2.1.324","anchor":"mcp-tools-can-ask-a-connected-client-to-answer-a-ping-before","canonical_anchor":"mcp-tools-can-ask-a-connected-client-to-answer-a-ping-before","heading":"Remote MCP tools can require a connected client to answer before running","tier":"internal","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/mcp-tools-can-ask-a-connected-client-to-answer-a-ping-before","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Remote MCP tools can require a connected client to answer before running\n\nIn remote sessions, some MCP tools now ping their server first and are refused if no connected client answers in time\n\n**What**\n\nAn MCP tool can now mark itself, through `anthropic\/askHolderFirst` in its details, as needing a connected client before it runs. A client is the program attached to the other side of the session. For such a tool, Claude Code first sends a ping to the MCP server.\n\nIf no attached client answers within the waiting time the tool sets, the call is refused and the tool's own refusal text is returned. Otherwise the call runs. This applies only when:\n\n- The MCP server was registered through the Agent SDK, which lets programs build on Claude Code\n\n- `CLAUDE_CODE_REMOTE` is set\n\n- The tool gives a valid waiting time and refusal text\n\nClaude Code's servers also control whether it applies.\n\n**Why**\n\nIn remote sessions, these tool calls may now be refused when nobody is connected to answer.\n\n- Area: MCP\n- Names: `anthropic\/askHolderFirst`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}