Xcode MCP: connect Claude Code, Codex and other agents to Xcode

Revyl Team6 min read

Xcode MCP is the Model Context Protocol server built into Xcode 26.3 and later. Allow external agents in Xcode's Intelligence settings, run claude mcp add --transport stdio xcode -- xcrun mcpbridge (or codex mcp add xcode -- xcrun mcpbridge), open your project, and the agent can build, search documentation, explore files, update project settings and capture Xcode Previews on that Mac. MobileBuildMCP, ios-simulator-mcp, Argent and RocketSim's CLI also give agents Xcode and Simulator tools on a Mac. For agents that run in the cloud, on Windows or in Linux CI, Revyl's MCP server starts cloud iOS simulators and Revyl computers, macOS workspaces with Xcode where agents build and test apps, and its Free plan includes up to 1,200 free device minutes a month on iOS, Android and web with no card. Revyl is verification infrastructure for cloud agents, and the same account runs web browsers, Android emulators and Atlas.

At a glance6 tools, 4 features, public sources checked November 24, 2026
  • MCP server
    • Xcode 26 agentic coding: Yes
    • XcodeBuildMCP (now MobileBuildMCP, Sentry): Yes
    • ios-simulator-mcp: Yes
    • Argent: Yes
    • RocketSim: Not verified
    • Revyl: Yes
  • CLI
    • Xcode 26 agentic coding: Yes
    • XcodeBuildMCP (now MobileBuildMCP, Sentry): Yes
    • ios-simulator-mcp: npm/npx package; no standalone CLI documented
    • Argent: Yes
    • RocketSim: Yes
    • Revyl: Yes
  • Cloud iOS simulators
    • Xcode 26 agentic coding: Not verified
    • XcodeBuildMCP (now MobileBuildMCP, Sentry): Not verified
    • ios-simulator-mcp: No
    • Argent: Yes
    • RocketSim: No
    • Revyl: Yes
  • Free tier
    • Xcode 26 agentic coding: 25 Xcode Cloud compute hours/month with Apple Developer Program membership
    • XcodeBuildMCP (now MobileBuildMCP, Sentry): Yes
    • ios-simulator-mcp: Yes
    • Argent: Not verified
    • RocketSim: Yes
    • Revyl: Yes

YesNoSee detailsNot verified

Show as a table with sources
FeatureXcode 26 agentic codingXcodeBuildMCP (now MobileBuildMCP, Sentry)ios-simulator-mcpArgentRocketSimRevyl
MCP serverYesYesYesYesNot verifiedYes
CLIYesYesnpm/npx package; no standalone CLI documentedYesYesYes
Cloud iOS simulatorsNot verifiedNot verifiedNoYesNoYes
Free tier25 Xcode Cloud compute hours/month with Apple Developer Program membershipYesYesNot verifiedYesYes
MCP servers and agent tools for Xcode work (checked November 24, 2026)
FeatureWhat the agent getsWhere the agent runsPricing model
Xcode MCP (xcrun mcpbridge)Xcode's own tools: builds, documentation search, file structure, project settings and Xcode Previews[2]On the Mac where Xcode is open, with the project open[1]Free with Xcode in the Mac App Store[4]
MobileBuildMCP (XcodeBuildMCP)Build, test, run and debug iOS and macOS apps, drive the simulator UI, logs, video and LLDB[5]On your Mac, with macOS 14.5+ and Xcode 16+[6]Free, open source (MIT)[24]
ios-simulator-mcpTap, type, screenshot, record and read the accessibility tree of the iOS Simulator[8]On your Mac, against a booted local simulator[8]Free, open source (MIT)[8]
ArgentControl, debug and profile iOS and Android apps[9]On your Mac; Argent Cloud hosts iOS simulators on dedicated Macs[10]Toolkit free; Argent Cloud $299 per Runner a month[10]
RocketSim CLI and Agent SkillRead the Simulator screen as text, tap and type by label, and record video[11]On your Mac, next to Xcode's Simulator[11]Free plan; Teams €10 per seat/month[12]
RevylCloud iOS simulators, Android emulators, browser sessions and macOS workspaces with Xcode, plus run reports and Atlas[16]Anywhere: a laptop, Windows, Linux CI or a cloud coding agent[16]Free: up to 1,200 free device minutes a month on iOS, Android and web, no card; Pro: $0.075 per device minute on iOS and Android; Revyl computers come with Pro[23]

Xcode MCP is the Model Context Protocol server built into Xcode 26.3 and later: you allow external agents in Xcode’s Intelligence settings, register xcrun mcpbridge with Claude Code or Codex, open your project, and the agent can build, search documentation, explore files, update project settings and capture Xcode Previews on the Mac where Xcode is open (Apple). On that same Mac, MobileBuildMCP (formerly XcodeBuildMCP), ios-simulator-mcp, Argent and RocketSim’s CLI give agents more control of builds and the iOS Simulator. For agents that run in the cloud, on Windows or in Linux CI, Revyl’s MCP server starts cloud iOS simulators and Revyl computers, macOS workspaces with Xcode where agents build and test apps. Revyl is verification infrastructure for cloud agents, and the same account runs web browsers, Android emulators and Atlas.

How do you set up Xcode MCP with Claude Code or Codex?

Apple documents three steps (Apple):

  1. In Xcode, choose Xcode > Settings, select Intelligence, and under Model Context Protocol set Allow External Agents to Use Xcode Tools to Always or While Xcode is Open.
  2. In Terminal, register Xcode’s server with your agent. For Claude Code, run claude mcp add --transport stdio xcode -- xcrun mcpbridge. For Codex, run codex mcp add xcode -- xcrun mcpbridge. Check it with claude mcp list or codex mcp list.
  3. Open your project in Xcode, then prompt the agent. Xcode alerts you when an external agent connects and while it’s active.

Apple also suggests adding hints about Xcode and your project to the agent’s AGENTS.md or CLAUDE.md. To turn access off, set the Intelligence setting to Never.

What can an agent do through Xcode MCP?

Apple says agents “can search documentation, explore file structures, update project settings, and verify their work visually by capturing Xcode Previews and iterating through builds and fixes” (Apple newsroom). The agent works on the project open in Xcode, so Xcode has to be running on that Mac.

Xcode also runs agents inside the IDE. Since Xcode 26.3, Anthropic’s Claude Agent and OpenAI’s Codex work directly in Xcode, and Xcode 27 runs coding agents with the model of your choice. Searches for “Xcode Claude” usually mean one of the two: Claude inside Xcode, or Claude Code in a terminal using Xcode MCP.

Which other MCP servers work with Xcode and the iOS Simulator?

MobileBuildMCP (formerly XcodeBuildMCP)

MobileBuildMCP is an open-source MCP server and CLI that builds, tests and runs iOS and macOS apps, drives the simulator UI, captures logs and video, and debugs with LLDB. It needs macOS 14.5+ and Xcode 16+ (README), and Sentry acquired the project in February 2026. It is free under the MIT license.

ios-simulator-mcp

ios-simulator-mcp is a focused MCP server for a booted local simulator. Its tools read the accessibility tree, tap, type, take screenshots, record video and open deep links. It is free under the MIT license.

Argent

Argent, from Software Mansion, is an agent toolkit to control, debug and profile iOS and Android apps on your Mac. Argent Cloud runs its iOS simulators on dedicated hosted Macs for $299 per Runner a month.

RocketSim

RocketSim adds a CLI and an Agent Skill to Xcode’s Simulator, so an agent can read the screen as text, tap and type by label, and record video. It has a free plan.

GitHub Copilot for Xcode and Claude Code Desktop

GitHub Copilot for Xcode is an Xcode extension with chat, completions and an Agent Mode that uses MCP tools. It needs macOS 13+, Xcode 14+ and a GitHub account. Claude Code Desktop’s iOS Simulator pane streams the local simulator next to the conversation while Claude builds and taps through your app.

How do agents use Xcode without a local Mac?

Xcode MCP and the Mac tools above need the agent on a Mac. Cloud coding agents, Windows laptops and Linux CI runners reach Xcode and the iOS Simulator through a hosted service with its own MCP server.

Revyl

Revyl’s MCP server lets an agent start an iOS, Android, web or macOS session, act on it in plain language, take screenshots and stop it. A Revyl computer, a macOS workspace for an agent, comes with Xcode and the iOS Simulator, and revyl computer exec runs xcodebuild on it. The agent can also follow an app’s builds and open a session on a pull request’s build. Each test run leaves a report, Atlas records the screens the app showed, and through proof of changes Revyl posts a verdict on the pull request. The Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions (pricing).

Appetize

Appetize gives agents mobile sandboxes through a CLI and an API, with iOS simulators that stream in the browser.

How do Xcode MCP setups compare on price?

Prices were checked on November 24, 2026.

  • Xcode, including Xcode MCP, is free in the Mac App Store.
  • MobileBuildMCP and ios-simulator-mcp are free under the MIT license, and Argent’s toolkit is free.
  • RocketSim has a free plan, and Teams costs €10 per seat a month (pricing).
  • Revyl Free: up to 1,200 free device minutes a month on iOS, Android and web, 2 devices at once, no card. Pro is pay as you go at $0.075 per device minute on iOS and Android, with 10 devices at once and a $5 starting credit, and agent sessions are $0.05 a session minute, web or macOS, with the macOS workspace included in the session (pricing).
  • Argent Cloud is $299 per Runner a month with unlimited simulator time (pricing).

The local servers cost nothing beyond the Mac they run on. A hosted service costs per minute or per month and adds a simulator that any agent can reach; on Revyl, each run also adds a report and an Atlas record.

Beyond Xcode MCP: what else Revyl runs

The Revyl MCP server and CLI cover more than iOS work, and each of the following uses the same agent setup.

  • Android emulators start from the same tools, so the agent that checks an iOS change can run the same flow on Android (sessions).
  • Web apps run in browser sessions with desktop and mobile viewports.
  • Revyl computers are macOS workspaces where an agent builds, runs and tests apps with Xcode and Safari, and GitHub Actions jobs run in a single-use macOS workspace with runs-on: revyl-macos.
  • Atlas records the screens and transitions Revyl has observed in runs, and agents search it or compare two builds’ maps before their next change.
  • Each test run produces a report with video, a step timeline and device logs, and through proof of changes the pull request gets a verdict.

Which Xcode MCP setup should you choose?

  • Your agent runs on your Mac and you want Xcode’s own builds and Previews: Xcode MCP.
  • Your agent needs xcodebuild, simulator control and LLDB as tools: MobileBuildMCP.
  • Your agent only needs to tap and read the simulator: ios-simulator-mcp or RocketSim’s CLI.
  • Your agent runs in the cloud, on Windows or in Linux CI, or you want a report and a pull-request verdict for each run: Revyl.
  • You want flat monthly pricing on dedicated hosted Macs for the Argent toolkit: Argent Cloud.

Sources

Facts were checked against these public pages on November 24, 2026. Spot an error? Email support@revyl.ai and we will correct it.

  1. Apple: giving external agents access to Xcode
  2. Apple newsroom: Xcode 26.3 agentic coding
  3. Apple Xcode
  4. Apple: installing Xcode and Simulators
  5. MobileBuildMCP website
  6. MobileBuildMCP README
  7. Sentry blog: Sentry acquires XcodeBuildMCP
  8. ios-simulator-mcp
  9. Argent
  10. Argent Cloud pricing
  11. RocketSim
  12. RocketSim pricing
  13. GitHub Copilot for Xcode
  14. Claude Code Desktop iOS Simulator pane
  15. Appetize agents
  16. Revyl MCP setup
  17. Revyl computers
  18. Revyl sessions
  19. Revyl remote builds
  20. Revyl test reports
  21. Revyl Atlas
  22. Revyl proof of changes
  23. Revyl pricing
  24. github.com/getsentry/MobileBuildMCP

Frequently asked questions

What is Xcode MCP?

Xcode MCP is the Model Context Protocol server that Xcode provides from Xcode 26.3. External agents such as Claude Code and Codex connect to it through the xcrun mcpbridge command and use Xcode's capabilities on your open project, such as building, searching documentation, updating project settings and capturing Xcode Previews.

How do I connect Claude Code to Xcode?

In Xcode, choose Settings, then Intelligence, and set "Allow External Agents to Use Xcode Tools" to Always or "While Xcode is Open". In Terminal, run claude mcp add --transport stdio xcode -- xcrun mcpbridge, check it with claude mcp list, then open your project in Xcode before you prompt Claude Code. Xcode alerts you when the agent connects.

Is Xcode MCP the same as XcodeBuildMCP?

No. Xcode MCP is Apple's server inside Xcode. XcodeBuildMCP, now MobileBuildMCP and maintained by Sentry, is an open-source MCP server and CLI that drives xcodebuild, the simulator and LLDB on your Mac. An agent can use both.

Can I use Xcode MCP on Windows or Linux?

No. Xcode MCP runs through xcrun on the Mac where Xcode is open, and Xcode runs only on macOS. An agent on Windows, Linux or in the cloud reaches Xcode through a macOS workspace it can use: Revyl's MCP server starts Revyl computers, macOS workspaces with Xcode and the iOS Simulator where agents build and test apps, plus cloud iOS simulators.

Does Claude run inside Xcode?

Yes. Since Xcode 26.3, Xcode runs coding agents such as Anthropic's Claude Agent and OpenAI's Codex inside the IDE, and Xcode 27 lets you pick the model. Xcode MCP is the other direction: it lets an agent you launch outside Xcode, such as Claude Code in a terminal, use Xcode's tools.

What else does Revyl do?

Revyl is verification infrastructure for cloud agents on web, iOS, Android and macOS. It runs web apps in browser sessions, cloud iOS simulators and Android emulators, and Revyl computers, macOS workspaces where agents build and test apps. Coding agents drive these sessions through the Revyl CLI and MCP server, and Atlas records the screens and transitions Revyl observes in runs. Every test run leaves a report, and through proof of changes, Revyl posts a verdict on the pull request.

What does Revyl cost past the free minutes?

Pro is pay as you go, with 10 devices at once instead of 2, a $5 starting credit and no monthly fee. Usage past the free minutes is $0.075 per device minute on iOS and Android. Enterprise is custom, with volume pricing, unlimited devices at once, SAML SSO and SCIM.

Revyl Team

Published November 24, 2026