[BUG] Connectors don't work when running scheduled tasks

Resolved 💬 3 comments Opened Mar 16, 2026 by harshit77-sudo Closed Apr 10, 2026

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 created a Sentry connector under the 'Customize' section of Claude Code Desktop. Then I tried to get details from my Sentry projects via prompting and it worked. However when I created a scheduled task with the same prompt, it tries to call the global mcp registry which then returns an empty array and hence it is not able to use the Sentry connector already configured.

What Should Happen?

The scheduled tasks should be able to use the connectors already configured in Claude Code Desktop.

Error Messages/Logs

Steps to Reproduce

  1. Create a connector for Sentry in the Claude Code Desktop app.
  2. Create a scheduled task with prompt asking to get details from that connector.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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