r/iOSProgramming • u/Jeehut SwiftUI • Feb 04 '26
News Apple silently shipped an MCP for Claude Code / Codex
You might have heard Xcode 26.3 added Agentic Coding support. But Apple has also introduced an official MCP if you want to continue using Claude Code / Codex! đ
So you don't have to switch your workflow to benefitâjust teach Claude/Codex. Something for everyone in this release, really neat! đđđ€
Here's the doc explaining it in detail: đ
https://developer.apple.com/documentation/xcode/giving-agentic-coding-tools-access-to-xcode
#Xcode #ClaudeCode #MCP #AgenticCoding #iOSDev
Edit: Sorry for stating "silently" â it's not highlighted in the news article, and I missed the short mention in the video, so thought people might have missed it (like I did). Wish I could edit the title and remove it!
82
u/EquivalentTrouble253 Feb 04 '26
It wasnât silent. They sent emails out and update their site. Itâs all over the internet too.
7
-39
u/Jeehut SwiftUI Feb 04 '26
Please read carefully. This isnât about the Agentic Coding they added to Xcode. This is about exposing an MCP to Claude Code / Codex. They talked a lot about the other part, but they were silent about the MCP provided to external Agentic Coding tools!
6
u/EquivalentTrouble253 Feb 04 '26
Please also read carefully and watch the actual video. Nothing silent about this. Literally all over including MCP. Which is implied based on capability - it wouldnât be possible without it.
2
u/Jeehut SwiftUI Feb 04 '26
Alright alright, I wish I could just edit out the word "silently" from the title. đ
23
u/Enough-Ad-9091 Feb 04 '26
i mean itâs the documentation đ and also mentioned in the video. please elaborate what means âsilentâ ?
-20
u/Jeehut SwiftUI Feb 04 '26
Well, I avoided stating "secretlyâ, which would be undocumented. But silently means they donât brag about it. And in the video I might have missed it or misunderstood. It wasnât clear to me that it was for 3rd party agentic tools but sounded like for the Xcode integration. I might need to rewatch⊠so fair enough.
-2
10
u/ellenich Feb 04 '26
Not really silent at all, Xcodes MCP capabilities are highlighted in their overview video.
1
u/Niightstalker Feb 08 '26
This was also mentioned in the first onboarding view see after you open the new Xcode version as well as in their blog post.
But nevertheless it is really cool that they did release those :)
3
u/m3kw Feb 04 '26
Pretty useless though doesnât allow launch. Basically just build and test
1
u/Jeehut SwiftUI Feb 04 '26
Great for SwiftUI preview iterations, just did 50 design iterations in 1h or so. Pretty fast and finally actually understands what I want and auto-fixes build issues.
1
1
u/Niightstalker Feb 08 '26
Those 2 things are quite useful though. Also accessing Apple docs is great imo.
4
u/Different-Side5262 Feb 04 '26
What's some examples of what you an do with the MCP?
2
u/rennarda Feb 04 '26
Look up documentation. Run builds. Read build errors.
4
u/Different-Side5262 Feb 04 '26
I didn't see anything around the MCP? Confused by what it would do versus just using command line tools directly.Â
1
Feb 05 '26
So less than what xcodebuildmcp can already do lol
1
u/Niightstalker Feb 08 '26
Xcodebuildmcp can not read Apple docs or?
1
Feb 08 '26
It doesn't need to, there's a bunch of mcp servers that have the apple docs cached.
1
u/Niightstalker Feb 08 '26
You donât see the appeal of an official one from Apple, instead of some random ones by who knows who?
1
u/signsandwonders Feb 10 '26
Right. Sosumi was great at the time but a lot of the time it didn't work/the agent struggled with the tools. I believe it just [for the most part] naively converts HTML docs into markdown.
Something developed by Apple â almost certainly with assistance from Anthropic â will be better in many ways.
The worst part of the xcode mcp is requiring xcode to be running/the constant approval requests.
Ftr here are the tools of xcodebuildmcp vs official xcode mcp. There doesn't seem to be too much overlap in functionality. The former seems focused on building/running simulator/testing.
xcodebuildmcp
â mcp__xcodebuildmcp__session_show_defaults: 75 tokens
â mcp__xcodebuildmcp__session_set_defaults: 492 tokens
â mcp__xcodebuildmcp__session_clear_defaults: 177 tokens
â mcp__xcodebuildmcp__list_sims: 83 tokens
â mcp__xcodebuildmcp__boot_sim: 73 tokens
â mcp__xcodebuildmcp__open_sim: 74 tokens
â mcp__xcodebuildmcp__build_sim: 93 tokens
â mcp__xcodebuildmcp__build_run_sim: 96 tokens
â mcp__xcodebuildmcp__test_sim: 153 tokens
â mcp__xcodebuildmcp__get_sim_app_path: 120 tokens
â mcp__xcodebuildmcp__install_app_sim: 105 tokens
â mcp__xcodebuildmcp__launch_app_sim: 164 tokens
â mcp__xcodebuildmcp__launch_app_logs_sim: 167 tokens
â mcp__xcodebuildmcp__stop_app_sim: 75 tokens
â mcp__xcodebuildmcp__record_sim_video: 147 tokens
â mcp__xcodebuildmcp__clean: 147 tokens
â mcp__xcodebuildmcp__discover_projs: 162 tokens
â mcp__xcodebuildmcp__list_schemes: 75 tokens
â mcp__xcodebuildmcp__show_build_settings: 75 tokens
â mcp__xcodebuildmcp__get_app_bundle_id: 107 tokens
â mcp__xcodebuildmcp__screenshot: 108 tokens
â mcp__xcodebuildmcp__snapshot_ui: 89 tokens
â mcp__xcodebuildmcp__stop_sim_log_cap: 98 tokens
â mcp__xcodebuildmcp__start_sim_log_cap: 168 tokens
xcode
â mcp__xcode__XcodeListWindows: 63 tokens
â mcp__xcode__XcodeRead: 237 tokens
â mcp__xcode__ExecuteSnippet: 288 tokens
â mcp__xcode__RunSomeTests: 241 tokens
â mcp__xcode__XcodeMV: 220 tokens
â mcp__xcode__XcodeRefreshCodeIssuesInFile: 162 tokens
â mcp__xcode__BuildProject: 86 tokens
â mcp__xcode__XcodeLS: 200 tokens
â mcp__xcode__XcodeRM: 186 tokens
â mcp__xcode__XcodeUpdate: 266 tokens
â mcp__xcode__RunAllTests: 84 tokens
â mcp__xcode__GetBuildLog: 322 tokens
â mcp__xcode__GetTestList: 84 tokens
â mcp__xcode__XcodeGrep: 464 tokens
â mcp__xcode__XcodeWrite: 200 tokens
â mcp__xcode__DocumentationSearch: 115 tokens
â mcp__xcode__XcodeListNavigatorIssues: 278 tokens
â mcp__xcode__RenderPreview: 237 tokens
â mcp__xcode__XcodeGlob: 233 tokens
â mcp__xcode__XcodeMakeDir: 116 tokens
1
u/spammmmm1997 Feb 09 '26
Am I the only one who does not have an update available in the App Store to version 26.3, which has this?
Also it seems pretty useless because there is no API-based usage as in terminal version of Claude Code
1
u/Jeehut SwiftUI Feb 09 '26
Do yourself a favor and use https://www.xcodes.app for managing and downloading Xcode versions. Itâs faster, open source and can manage multiple Xcodes for you.
And no, 26.3 is still RC, not fully released. But an RC is pretty safe so I recommend downloading trying it now.
1
1
u/ekroys Feb 04 '26
Sonnet only, no Opus.
4
u/Jeehut SwiftUI Feb 04 '26
If you use the MCP (not the integration to Xcode), you open Claude Code normally from your terminal and can obviously also use Opus.
And in Settings > Intelligence > Claude Agent > Model you CAN actually use Opus, even in Xcode.
2
u/kkga Feb 04 '26
was anyone able to make it work with Gemini CLI? I've set up the mcp in gemini and it connects successfully, but i'm getting errors when trying to run any tools:
MCP tool 'BuildProject' reported tool error for function call: {"name":"BuildProject","args":{"tabIdentifier":"windowtab1"}} with response:[{"functionResponse":{"name":"BuildProject","response":{"error":{"message":"MCP error -32600: Tool BuildProject has an output schema but did not return structured content","isError":true}}}}]2
u/junglegorilla69 Feb 04 '26
Check the "Known limitation" section in this blog post and see if that does it. It's specific to cursor but you might be able to make it work for your use case.
1
2
u/Aradalon Feb 05 '26
I've been using it with Claude Code and it works for basic use cases - building, running tests, reading/writing files in the project. For simple apps, it gets the job done.
That said, it feels more like a side-product of the agent integration built into Xcode itself rather than a first-class MCP server. The biggest tell is that it requires your project to be open in Xcode and triggers UI actions directly. This architecture falls short for more complex setups: multiple agents working on the same project in parallel or orchestration workflows where you compare results from different models. Tools like Cursor handle these scenarios much better.
A few specific pain points:
Permission dialogs - Every time the MCP connects to Xcode, you get a permission prompt. No way to remember the decision per project or skip it entirely.
Missing critical tools - Can't list schemes, list targets, query build configurations, or select a scheme before building. If your project has iOS + macOS schemes and the wrong one is active, the AI can't switch it. You have to do it manually, which defeats the purpose of autonomous agents.
It might improve over time, but right now it's limited to simple workflows. If you've hit similar limitations, please file feedback with Apple through Feedback Assistant - the more reports they get, the more likely these gaps get addressed. I've already submitted mine.
1
u/Drakonic Feb 04 '26
Unfortunately the MCP doesn't perfectly follow the schema it defines. So it is broken when being used by alternatives like OpenCode.
1
u/juanda631 Feb 07 '26
Si ya mĂĄs o menos ha pasado ya casi una semana y he probado las dos CĂłdex y Cloud Code y la verdad funciona mucho mejor Claude Code , pero me fastidia mucho el lĂmite diario realmente hace un excelente trabajo porque consigue hacer lo que yo necesito dĂĄndole referencia tanto de una pĂĄgina web donde estĂĄ la documentaciĂłn como la documentaciĂłn propiedad Apple y me hace exactamente lo que necesito y aparte CĂłdex no no sĂ© si ya me pasĂ© por tantas horas de uso pero ya llega un momento en que CĂłdex alucina y me daña el cĂłdigo, porque CĂłdex sigue funcionando puedo crear otro hilo y sigue trabajando sin lĂmite de uso diario yo creo que puede ser por eso, tengo la suscripciĂłn de ChatGPT Go y en Cloud Cut pues obviamente la normal que cuesta $20 la interface es mucho mĂĄs bonita la de Codex pero ya en este punto me estĂĄ alucinando no sĂ© si alguien te ha pasado lo mismo
1
u/NelDubbioMangio Feb 08 '26
Someone try this new Xcode version now is like before with ChatGPT that crash every time or is a good implementation?
1
0
Feb 04 '26
[deleted]
4
u/Jeehut SwiftUI Feb 04 '26 edited Feb 04 '26
The Agentic Coding part was on Hello Developer. Not the MCP provided to CLI Agents AFAIK. Thatâs just documented somewhere but not really linked to. I discovered it in the "related" section in the Agentic Coding docs they link to, so kinda hiddenâŠ
24
u/EurofighterTy Feb 04 '26
That MCP integrated into Xcode 26.3 is not very useful compared to XcodeBuildMCP which has a lot more tools and can also run the app inside the simulator, take screenshots and also tap around the app.