Cloud scheduled task connectors not injected into runtime

Resolved 💬 2 comments Opened Apr 1, 2026 by saraya209 Closed Apr 10, 2026

Description

MCP connectors (Gmail, Google Calendar) attached to a cloud scheduled task are not available in the remote agent's runtime environment. The agent receives zero MCP tools — only core tools (Bash, Edit, Read, Write, Glob, Grep, Agent, Skill, ToolSearch).

Steps to reproduce

  1. Connect Gmail and Google Calendar at claude.ai/settings/connectors (both show as authenticated/green)
  2. Create a cloud scheduled task at claude.ai/code/scheduled
  3. Attach both Gmail and Google Calendar connectors to the task
  4. Set prompt to: List the tools available to you, then search my Gmail inbox for unread emails and tell me how many there are.
  5. Click Run now

Expected behavior

The remote agent should have access to Gmail and Google Calendar MCP tools (e.g., gmail_search_messages, gcal_create_event).

Actual behavior

The agent reports having only core tools: Bash, Edit, Glob, Grep, Read, Write, Agent, Skill, ToolSearch. No MCP tools are available at all. The agent explicitly states: "I don't have access to Gmail or any email service."

Debugging done

  • Confirmed connectors show as connected and authenticated in claude.ai/settings/connectors
  • Confirmed connectors are attached to the task in the task edit UI
  • Disconnected and reconnected Gmail connector, re-attached to task — same result
  • Deleted and recreated the trigger from scratch with a fresh simple prompt — same result
  • Tested with a minimal diagnostic prompt (just "list your tools") to rule out prompt issues — confirmed zero MCP tools
  • The same Gmail connector works perfectly in local Claude Code CLI sessions

Environment

  • Account: Pro subscription
  • Trigger ID: trig_01DbFBwixSx4B3YR9WPMYQs2 (original, also reproduced on a fresh trigger)
  • Connectors: Gmail (connector_uuid: 31f67639-b538-4390-a13f-70c0ef3a01b0), Google Calendar (connector_uuid: 85b3fb17-8834-43ea-a8d0-956fced2ce1d)
  • MCP URLs: https://gmail.mcp.claude.com/mcp, https://gcal.mcp.claude.com/mcp
  • Claude Code CLI version: latest (connectors work locally)
  • OS: Windows 11

Workaround

Using Desktop scheduled tasks instead, which inherit local MCP connectors correctly.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗