Xcode's MCP is just impossible to use, since every command you run in the Codex app pops up a 'do you want to allow this connection' dialog in Xcode, and pauses the debugged app. I know Apple can't actually use the consumer version of any of this stuff internally, because of the security risks, and you can really feel that by how it behaves

@stroughtonsmith Edit: "failing to" repay you for all of the years of defaults: https://gist.github.com/everyplace/0a1e2637261325ea1d47447f4085bf37#file-disable-xcode-s-permissions-checks-md

defaults write com.apple.dt.Xcode IDEChatAgenticChatSkipPermissions -bool YES

Edited: Gist updated to indicate this is from Xcode to external MCP servers, and not the other way around.

Configure Xcode 26.3 with agent support to use the iOS-simulator mcp server

Configure Xcode 26.3 with agent support to use the iOS-simulator mcp server - Disable Xcode's permissions checks.md

Gist
@everyplace that doesn't stop this prompt, which is my problem 🫤
@stroughtonsmith Oooh, shoot. Well... it does the reverse? If you run the agent from within Xcode now, it will no longer need to ask to access things outside of itself? Darn, thought I had something good. I see what you mean though, mine is the solution for running it from Xcode without permissions, but running things outside of Xcode with pre-approval to use Xcode is still an open question.

@stroughtonsmith I think the question is, why does the following NOT work, because it clearly wants to:

defaults write com.apple.dt.Xcode IDEAllow​Unauthenticated​Agents -bool YES