[BUG] Scheduled task MCP connector tools unavailable in execution environment (Slack, Notion, Gmail, Calendar all fail)
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?
All scheduled tasks fail silently because MCP connector tools are not injected into the execution environment. Every run shows the agent only has access to WebFetch, WebSearch, RemoteTrigger, and file system tools. Connected connectors (Slack, Notion, Gmail, Google Calendar, Granola) do not appear as callable tools, so the agent cannot complete any action.
The agent responds: "I don't have a Slack tool available in this environment" / "the required integrations are not available in this environment."
This affects:
- Triggers created via the API
- Triggers created fresh through the web UI at claude.ai/code/scheduled
- All connector types tested: Slack, Notion, Gmail, Google Calendar, Granola
Last successful run was approximately April 2, 2026. All runs since then produce no output — no Slack messages, no Notion updates.
What Should Happen?
Connected MCP connectors should inject their tools into scheduled task execution sessions, exactly as they do in interactive claude.ai and Claude Code (VS Code) sessions. A trigger with Slack connected and Always Allow permissions should have Slack tools available at runtime.
Error Messages/Logs
From run transcript:
"I don't have a Slack tool available in this environment."
"I'm unable to run the morning briefing — the required integrations are not available in this environment."
"What's currently available: only web fetch, web search, and file system tools."
permitted_tools arrays in trigger job_config are correctly populated (confirmed via API), but tools do not load at runtime.
Steps to Reproduce
- Go to claude.ai/code/scheduled
- Create a new scheduled task
- Add the Slack connector, set to Always Allow all tools
- Set prompt to: "Send me a Slack DM saying 'test'"
- Click Run Now
- Open the run transcript — agent reports no Slack tool available and only sees WebFetch/WebSearch
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.81
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Session link: https://claude.ai/code/session_01A5r7ZSpgPMWWioNQSxowaS
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗