[BUG] Scheduled triggers cannot access MCP connector tools
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?
Description:
MCP connectors (Supabase, Weclapp) attached to a scheduled trigger are not loaded into the agent's tool registry at runtime. The agent reports "MCP tools not available" and suggests local MCP setup instead.
What I tried:
Created trigger via API (RemoteTrigger) and via web UI — same result
Added MCP tool names to allowed_tools in session_context (e.g., mcp__Supabase__execute_sql) — no effect
Set permitted_tools on mcp_connections to explicit tool lists and to [] — no effect
Verified connector permissions in UI: read-only tools set to "Always allow", write tools set to approval-required
Removed git repository source to rule out auth interference — no effect
Created a fresh trigger entirely through the UI — same failure
Trigger IDs: trig_01Tvt7jqjfcsp29BAodNwAk3 (new, UI-created), trig_01BGiXHthAJCpCGokMVZRHKY (old, API-created, now disabled)
Environment: Claude Code VSCode extension, macOS
What Should Happen?
Expected: Agent sees MCP tools (execute_sql, weclapp_api_call, etc.) and can call them.
Error Messages/Logs
Actual: Agent cannot find MCP tools. Output: "The required MCP tools are not available in this session. They do not appear in the deferred tool registry."
Steps to Reproduce
Reproduction:
- Create a scheduled trigger at claude.ai/code/scheduled
- Attach OAuth MCP connectors (e.g., Supabase, Weclapp) via the Connectors tab
- Set permissions to "Always allow" for read-only tools
- Trigger a manual run
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.83 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗