# Argent vs. Xcode MCP

You turned on external agents in Xcode's Intelligence settings. Now your agent builds your scheme, renders previews, edits build settings and reads crash reports from the field.

Argent works on the running app. It shows the agent which of your app's requests failed in the simulator, profiles the screen that stutters and saves a working path as a test. It doesn't need Xcode to be open.

Based on Apple's documentation and Argent's documentation, checked October 20, 2026.

## When the work lives in Xcode

Xcode MCP is Apple's own integration, included with Xcode at no cost, and it covers a lot of native Swift work that Argent does not touch. For these jobs it can be a better fit.

### Build, read the errors, build again

Xcode MCP builds the active scheme and reads build logs and the Issue Navigator. It can also switch schemes and run destinations, and run tests from your scheme or test plan. Argent has no build tool of its own.

### Does the German string still fit?

The agent can render SwiftUI previews from source files, including variants and localization overrides, without launching the full app.

### Crashes your users already hit

Xcode MCP lists your app's top crashes and field performance issues from Apple's reporting, with logs and triage guidance.

## Four things Argent does outside Xcode

### The feed loads, but the list is empty

Your SwiftUI view looks right, yet nothing shows up. Argent shows the agent if the feed request failed on the iOS simulator, so it stops rewriting a view that was never broken.

### Slow screens, caught before the crash report

Xcode MCP shows what already hurt your users. Argent profiles your branch on the simulator and tells the agent what to fix, then checks again.

### The Android build needs testing too

Xcode MCP can't reach Android. Argent drives Android emulators and devices too, and Android work runs on Linux and Windows.

### One extra for React Native screens

For React Native screens, Argent can also read the console, run code in the app and show the component tree.

## Built for AI agents

> Argent is so good, well done team.

— [Brent Vatne](https://x.com/notbrent)

### Built by Software Mansion

We are Software Mansion: we help our clients build software across mobile, web, and beyond, from native iOS and Android to cross-platform apps, open-source projects, and developer tools.

[Read the blog](/blog/)

## Inside Xcode, and outside it

Xcode MCP works on your project inside Xcode: builds, previews, settings and tests. Argent works on the app once it runs.

| Feature | Argent | Xcode MCP |
| --- | --- | --- |
| iOS | Simulators, plus physical iPhones over USB | Simulators and devices, through Xcode |
| Android | Emulators and physical devices over adb | Not included |
| Other platforms | Apple TV, Android TV, Fire TV, Electron and Chromium apps | macOS, tvOS, watchOS and visionOS, through Xcode |
| Xcode builds | Not included. Argent drives any installed app, however it was built | Builds the scheme and reads build logs and issues |
| SwiftUI previews | Not included | Renders previews from source files, with variants and localization overrides |
| Driving the app | Taps, swipes, pinches, typing, hardware buttons and permissions on simulators, emulators and Android devices, with screenshots and the element tree on demand. Taps, typing and screenshots on physical iPhones | Touch, swipe, text, button and orientation events, returning a screenshot and UI hierarchy |
| Debugging | The native UIKit view tree on iOS simulators. No reading of native app logs | Console output, LLDB commands in Xcode's debug session and Swift snippets run in project context |
| Network inspection | Request URLs and status codes from your app on the iOS simulator, with no proxy or certificate. On Android, React Native apps only. Not in Flutter apps yet | Not included |
| Local profiling | Xcode Instruments on iOS: CPU hotspots and UI hangs, each with a severity and a suggestion. Perfetto on Android: UI freezes | Not included |
| Repeatable tests | Recorded YAML flows with optional screenshot checks, replayed by the agent or by `argent e2e run` in CI | XCUITest code the agent writes in Swift, run through your scheme or test plan |

Sources: developer.apple.com, docs.swmansion.com/argent. Checked October 20, 2026.

## Xcode MCP questions

### How do I connect Claude Code or Codex to Xcode MCP?

Turn on external agents in Xcode's Intelligence settings, then add `xcrun mcpbridge` as an MCP server in your agent. Open the project in Xcode before you prompt the agent. Xcode shows an alert when the agent connects.

### Does Xcode MCP need Xcode to be open?

By default, yes. Apple's documentation says to open your project in Xcode first. Xcode 27 also adds a preview mode, `xcrun mcp-server`, that runs without an open workspace.

### Does Xcode MCP work with Android or React Native?

It covers Apple platforms only, so there are no Android tools. It can build the iOS side of a React Native project, but it can't see the React component tree or run JavaScript. Argent works with Android devices and emulators, and adds those React Native tools on top.

### Does Argent work with a native Swift app?

Yes. Argent drives SwiftUI and UIKit apps through the iOS accessibility tree. On the iOS simulator it also profiles with Instruments, records network requests and shows the UIKit view tree. It doesn't read your app's native logs, so Xcode MCP's console output is still useful there.

### Can Xcode MCP profile my app or show network requests?

It shows crash and performance issues that Apple collects from your shipped app. It has no tools for local profiling or network inspection. Argent profiles with Instruments and Perfetto while you develop, and lists your app's requests and their status codes on the iOS simulator.

### Can Xcode MCP edit Info.plist and entitlements?

It can add or update Info.plist keys and entitlements, but not remove them. Build settings and compiler flags are different: the agent can both read and change those.

### Can I use Argent and Xcode MCP at the same time?

Yes. Each is an MCP server, and an agent can have several connected. Xcode MCP can build the app and render previews; Argent can then drive the installed app and profile it on iOS or Android, and record its network traffic on the iOS simulator.

## Take your agent past the Xcode window

Your agent can drive, debug and profile your iOS and Android apps on your machine, and test on hosted iOS simulators with Argent Cloud. Xcode MCP keeps the project; Argent gets the app.

- [Get started](/)
- [Read the docs](https://docs.swmansion.com/argent/docs/fundamentals/getting-started)

Features checked October 20, 2026, from developer.apple.com, argent.swmansion.com and docs.swmansion.com/argent. Xcode, Swift and SwiftUI are trademarks of Apple Inc. React Native, Expo, Android, and Flutter are trademarks or registered trademarks of their respective owners. Use of these names does not imply endorsement.
