[BUG] MCP tools ignore permissions.allow — every call requires manual approval

Resolved 💬 4 comments Opened May 21, 2026 by niksaderek Closed May 23, 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?

Every MCP tool call for Google — even when explicitly listed in the allow array — still triggers a blocking approval prompt and then errors out with MCP tool call requires approval. This makes unattended/automated workflows using MCP integrations impossible.

What Should Happen?

MCP tool calls listed in permissions.allow should proceed automatically without prompting.
Tool calling works ok in the chat not in claude code routines.

Error Messages/Logs

Streamable HTTP error: Error POSTing to endpoint: MCP tool call requires approval

Steps to Reproduce

Used Gmail: search threads
pageSize: 50
query: is:unread newer_than:1d to:niksa.derek@gmail.com -in:trash
Streamable HTTP error: Error POSTing to endpoint: MCP tool call requires approval

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.146

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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