[BUG] MCP tools not available on first turn in Remote Trigger / Scheduled sessions
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When a Claude Code session is initiated via a Remote Trigger (scheduled run), MCP server tools are not loaded/available on the first conversation turn. The deferred tool list for connected MCP servers (e.g., Gmail) does not appear in the system reminder until after the first user message exchange.
Steps to Reproduce:
Configure an MCP server (e.g., Gmail) in Claude Code settings
Create a Remote Trigger / scheduled session that uses prompts requiring MCP tools
Observe the first turn of the session — MCP tools are missing from the deferred tool list
Expected Behavior:
All configured MCP tools should be available from the very first turn of the session, including sessions initiated via Remote Triggers.
Actual Behavior:
MCP tools are absent on the first turn. They only become available after one round of conversation (i.e., after the second user message). This means any scheduled/automated prompt that depends on MCP tools will fail on its first attempt.
Impact:
This effectively breaks any Remote Trigger automation that relies on MCP tools, since scheduled prompts typically run in a single turn and cannot self-retry.
Environment:
Claude Code (Web / Remote Trigger)
Affected MCP: Gmail (likely affects all MCP servers)
What Should Happen?
All configured MCP tools should be available from the very first turn of the session, including sessions initiated via Remote Triggers.
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce:
Configure an MCP server (e.g., Gmail) in Claude Code settings
Create a Remote Trigger / scheduled session that uses prompts requiring MCP tools
Observe the first turn of the session — MCP tools are missing from the deferred tool list
Expected Behavior:
All configured MCP tools should be available from the very first turn of the session, including sessions initiated via Remote Triggers.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.89
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
4 Comments
Workaround: Use Agent subagents to call MCP tools
The main session can't access MCP connector tools, but spawned Agent subagents can call them directly by name. See #43320 for full details and prompt template.
Add this to your trigger prompt:
Burns extra tokens but works consistently. Tested with Slack, Notion, Google Calendar, Gmail, and Granola connectors.
Controlled experiments confirming this + additional workaround
Ran 15 sessions under controlled conditions (Claude Desktop 1.1348.0, macOS, Opus) to characterize this. Two user-configured MCP servers tested: Trello (stdio transport via wrapper script) and Craft (HTTP transport via
https://mcp.craft.do/my/mcp).What doesn't work:
.mcp.jsonwithenableAllProjectMcpServers: true: no changeWhat does work:
Key finding: This is turn-based, not time-based. 5 minutes of retries on turn 1 never works. But turn 2 works immediately, even if turn 1 was only seconds earlier. Both stdio and HTTP transport MCP servers are affected identically.
Implementing subagent delegation in our scheduled task prompts now — will edit this comment if it proves unreliable in practice.
Duplicate of #35899
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.