[BUG] Routine connector calls fail with "requires approval" despite UI promising none
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?
Routines fail with "MCP tool call requires approval" despite connector panel guaranteeing no approval is needed
Summary
Claude Code Routines fail on every tool call to the Sentry connector with a "requires approval" error, even though the routine's Connectors panel explicitly displays the notice:
"Claude can use all tools from these connectors — including writes — without asking for permission during runs."
This is a direct contradiction between the routine UI's guarantee and runtime behavior.
Actual behavior
The first Sentry MCP tool call (find_organizations in my repro) fails immediately with:
Streamable HTTP error: Error POSTing to endpoint: MCP tool call requires approval
The agent then asks the user to approve permissions in chat — which is meaningless inside an unattended routine.
Environment
- Claude Code: desktop app (latest)
- Routine model: Opus 4.7 (1M context)
- Connector: Sentry, via
https://mcp.sentry.dev/mcp(claude.ai connectors, not a plugin) - Client OS: Windows 11 + WSL2 (routine itself runs in Anthropic cloud)
What I've ruled out
- Not a plugin/subagent issue — using the bare claude.ai connector, no Claude Code plugin installed.
- Not an OAuth scope issue — disconnected and re-authorized with every tool group ticked.
- Not a stale token / session state — fully quit Claude Code, fresh launch, recreated the routine.
- Not a Sentry server issue — identical connector works in a regular Claude.ai chat session (
whoamireturns the expected identity,find_organizationsreturns orgs). - Not a permission allowlist issue — the routine's Connectors panel shows the explicit "no approval required during runs" notice.
Suspected cause
Looks like an MCP protocol elicitation/approval handshake that the routine runtime isn't auto-satisfying for this connector. Compare to openai/codex#11816, where calls hang/fail when an MCP server expects elicitation and the client can't respond. Either:
- The routine runtime isn't auto-approving connector calls despite the UI promise, or
- Sentry's MCP server is sending an approval/elicitation request that the routine runtime ignores and surfaces as this error.
Regardless of which side has the bug, the UI guarantee should match runtime behavior.
Screenshots
<img width="754" height="880" alt="Image" src="https://github.com/user-attachments/assets/8121b9d3-179a-491c-b066-e0cadf6f91c0" />
<img width="1288" height="925" alt="Image" src="https://github.com/user-attachments/assets/c8ba190c-c896-41bd-8a05-287305bbb9ad" />
What Should Happen?
Per the notice in the Connectors tab, MCP tool calls to a configured connector should execute during a routine run without requiring approval. Routines run unattended and have no way to satisfy an approval prompt.
Error Messages/Logs
Steps to Reproduce
- Connect Sentry at
claude.ai/settings/connectorsvia OAuth, granting all tool group scopes. - Verify the connector works in a regular Claude chat session —
whoami,find_organizations, etc. all succeed. - Create a routine with:
- Any prompt that triggers a Sentry tool call (e.g., "Query Sentry for unresolved issues across all projects")
- Sentry attached as the sole connector
- Any trigger (schedule or Run now)
- Trigger the routine.
- Observe failure on the first Sentry MCP call.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code: desktop app (latest)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Warp
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗