[BUG] Scheduled task MCP connectors not loading tools in remote environment
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?
I have a cloud scheduled task with Linear and Slack MCP connectors attached. The connectors show as configured in the task settings UI, but when the task runs, no MCP tools are available to the agent.
What's happening:
- ToolSearch for "Linear" → "No matching deferred tools found"
- ToolSearch for "Slack" → "No matching deferred tools found"
- The agent has no way to call any MCP tools despite connectors being configured
- Task completes "successfully" (green checkmark) even though it couldn't do anything
<img width="740" height="789" alt="Image" src="https://github.com/user-attachments/assets/532b13c0-6200-4a3b-b3c1-015daa0c3109" />
<img width="855" height="831" alt="Image" src="https://github.com/user-attachments/assets/fc3a39e6-7f87-43c4-97a6-0ea88335cd81" />
What Should Happen?
What I expected:
MCP tools from the attached connectors should be available to the remote agent, similar to how they work in local Claude Code sessions.
Timeline:
- Task created March 25, 2026
- Manual run on March 26 worked correctly — MCP tools were available and the agent successfully queried Linear and posted to Slack
- Last successful Slack post was March 31
- Every run since April 1 shows green checkmark but MCP tools are not found
- No changes were made to the task configuration during this period
Error Messages/Logs
Steps to Reproduce
Task config:
- Trigger ID: trig_01YVmZNxqzun6ahgxbs8bjjS
- Environment: claude-code-default (env_01AehNTFvLs5Cx18QAX33QsY)
- Model: claude-sonnet-4-6
- MCP connections: Linear (mcp.linear.app/mcp) and Slack (mcp.slack.com/mcp)
- No git repository source (task only uses MCP tools + Bash)
- allowed_tools includes both mcp__Linear__ and mcp__claude_ai_Linear__ variants
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.100 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗