Skip to content

[BUG] MCP tools not available on first turn in Remote Trigger / Scheduled sessions #41778

@nightbear1009

Description

@nightbear1009

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions