claude-code - 💡(How to fix) Fix [BUG] Scheduled task MCP connectors not loading tools in remote environment [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46320Fetched 2026-04-11 06:23:24
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2closed ×1marked_as_duplicate ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

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?

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

extent analysis

TL;DR

The issue can be resolved by re-examining the task configuration, specifically the MCP connections and allowed tools, to ensure they are correctly set up and compatible with the Claude Code version.

Guidance

  • Verify that the MCP connections for Linear and Slack are correctly configured and enabled in the task settings UI.
  • Check the allowed_tools list to ensure it includes the correct variants of the MCP tools (e.g., mcp__Linear__* and mcp__claude_ai_Linear__*).
  • Review the task configuration for any changes or updates that may have been made around April 1, which could be causing the issue.
  • Test the task with a manual run to see if the MCP tools are available and functioning as expected.

Notes

The issue may be related to a change in the MCP connections or the allowed_tools list, but without more information or error logs, it's difficult to determine the exact cause.

Recommendation

Apply workaround: Reconfigure the MCP connections and allowed_tools list to ensure they are correct and compatible with the Claude Code version, and then test the task again to see if the issue is resolved.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING