> ## Content Index
> Fetch the complete content index at: https://claudefox.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Apple's official Xcode plugin for Claude Code: install with xcode@claude-plugins-official
- URL: https://claudefox.com/apple-ships-an-official-xcode-plugin-for-claude-code/
- Published: 2026-11-08T08:59:00.000Z
- Updated: 2026-11-18T01:41:28.000Z
- Description: Apple's Xcode plugin for Claude Code installs with /plugin install xcode@claude-plugins-official. The listing links the plugin your Xcode exports, so Claude can build and test schemes, render SwiftUI previews, drive simulators and search Apple docs. Setup, contents and limits.
- Author: hupicake
- Tags: Tools

*Updated November 16, 2026: Rewritten as a full guide: install command, Xcode settings, what the plugin contains, the xcrun mcpbridge alternative, limits and FAQ.*

Apple's Xcode plugin is listed in Anthropic's official Claude Code plugin directory, claude-plugins-official, under the name xcode with Apple Inc. as the author. Per the listing, it lets Claude Code build, run and test your Xcode schemes, render SwiftUI previews, drive simulators and devices, read build logs and diagnostics, and search Apple's developer documentation. The listing was merged on November 6, 2026 in pull request #6338, and the plugin installs as xcode@claude-plugins-official.

## Quick facts

- Plugin name: xcode, in the claude-plugins-official marketplace. Author: Apple Inc. Category: development. Homepage: developer.apple.com/xcode.
- Needs: Xcode, which runs on a Mac. The plugin files come from your installed Xcode, not from the directory.
- Which Xcode: one with the xcrun agent command. Neither the listing nor the pull request names a minimum version; DevelopersIO used the command on Xcode 27 (build 27A266a) in September.
- Alternative: Apple documents a direct MCP connection with xcrun mcpbridge, without the plugin.

## How do I install the Xcode plugin for Claude Code?

Run /plugin install xcode@claude-plugins-official inside a Claude Code session, then allow external agents in Xcode's Intelligence settings and open your project in Xcode.

The marketplace's README and Claude Code's plugin docs give the install command for any plugin in it. Inside a Claude Code session, run:

```
/plugin install xcode@claude-plugins-official
```

In a session this opens the /plugin panel on the plugin's details, where you review it and choose a scope before it installs; you can also find it under /plugin, Discover. From your shell, use claude plugin install xcode@claude-plugins-official. Claude Code adds the official marketplace the first time you start an interactive session; on a fresh machine, a script runs claude plugin marketplace add anthropics/claude-plugins-official first.

Then two steps on the Xcode side, from Apple's guide to giving external agents access:

- In Xcode, choose Xcode, Settings, Intelligence. Under Model Context Protocol, set Allow External Agents to Use Xcode Tools to Always or While Xcode is Open. Never turns it off.
- Open your project in Xcode before you prompt Claude Code. Xcode shows an alert when an external agent connects and while it is active.

To check the result, Apple's guide uses claude mcp list. In DevelopersIO's setup, the plugin's MCP server connected as plugin:xcode-integration:xcode.

## Where does xcode@claude-plugins-official come from?

It comes from your installed Xcode: the directory entry has no download and links the plugin that the command xcrun agent plugin path exports.

The marketplace entry has no download. Its source is a command, xcrun agent plugin path --plugin-format claude, in link mode. According to DevelopersIO, that command exports the plugin bundled with Xcode and prints its directory, under \~/Library/Developer/Xcode/CodingAssistant/ExportedPlugins/ followed by the Xcode build number. Our reading of link mode is that you get whatever your Xcode version exports; Apple has not documented how updates flow.

DevelopersIO (Classmethod) looked inside that directory on Xcode 27 in an article dated September 30, before the listing existed. It held .claude-plugin/plugin.json, an .mcp.json that registers Xcode's MCP server, and 15 skills under the prefix xcode-integration, among them audit-xcode-security-settings, device-interaction, swiftui-whats-new-27, modernize-tests and translation. One helper, translation-coordinator, is marked user-invocable: false, so you can't call it directly.

That article used the manual route, which still shows what the listing automates: this line in \~/.zshrc loads the exported plugin at every Claude Code start.

```
export CLAUDE_CODE_PLUGIN_DIRS="$(xcrun agent plugin path --plugin-format claude)"
```

## What can the Xcode plugin for Claude Code do?

Per its listing, it lets Claude Code build, run and test Xcode schemes, render SwiftUI previews, drive simulators and devices, read build logs and diagnostics, and search Apple's developer documentation.

The listing names six capabilities: build, run and test schemes; render SwiftUI previews; drive simulators and devices; read build logs and diagnostics; and search Apple developer documentation. DevelopersIO tried three of the skills with single runs on small demo apps:

- iOS 27 swipe actions: with the skills, 31 lines in 17 seconds using swipeActions and swipeActionsContainer(); without them, 160 lines of custom code in 81 seconds. One run, not a benchmark.
- Security settings: audit-xcode-security-settings flagged Enhanced Security and Pointer Authentication as off and a missing entitlements file.
- Simulator: device-interaction ran a counter app on an iPhone 18 Pro simulator and traced a bug the author had planted to its line.

## Can I connect Claude Code to Xcode without the plugin?

Yes: Apple documents a direct MCP connection with xcrun mcpbridge, which gives you Xcode's MCP tools but not the skills that come with the plugin export.

Apple's own documentation describes connecting Claude Code straight to Xcode's MCP server, with the same Intelligence setting turned on:

```
claude mcp add --transport stdio xcode -- xcrun mcpbridge
```

For Codex, Apple gives codex mcp add xcode -- xcrun mcpbridge. Check either with claude mcp list or codex mcp list. Apple also suggests putting hints about Xcode and your project in AGENTS.md or CLAUDE.md. This route gives the MCP tools; the 15 skills come with the plugin export. If you already added a manual xcode server, compare what claude mcp list shows after installing the plugin before keeping both.

**Try it with your AI.** Not sure what your Mac already has set up? This prompt has Claude Code check first and change nothing until you agree.

```
I want to connect Claude Code to Xcode on this Mac for my project at [PROJECT PATH]
(replace with the real folder).

1. First check, without changing anything: run claude mcp list and tell me whether an
   xcode MCP server is already configured.
2. Propose one of two routes and say which you recommend and why: the official plugin,
   installed with claude plugin install xcode@claude-plugins-official, or Apple's
   documented MCP route, claude mcp add --transport stdio xcode -- xcrun mcpbridge.
3. Remind me to set Xcode > Settings > Intelligence > Allow External Agents to Use Xcode
   Tools to While Xcode is Open, and to open the project in Xcode.
4. After I confirm and you run the command, run claude mcp list again and show me the
   xcode entry.

Show me each command and wait for my confirmation before running it. Do not edit shell
profiles, settings files or the project, and do not delete anything.
```

## What are the Xcode plugin's limits?

It needs a Mac with an Xcode that has the xcrun agent command, and Xcode has to be open with your project while Claude Code uses it.

- It needs a Mac with an Xcode that has xcrun agent. No minimum version is published in the listing or pull request.
- Xcode has to be open with your project, and DevelopersIO notes you approve agent use on the Xcode side the first time.
- The DevelopersIO tour and timings describe the manual Xcode 27 export, not a test of the merged listing, and other Xcode builds may export a different set of skills.
- Managed Macs: Apple's setup page says an organisation can turn off Xcode's coding assistant with the MDM key CodingAssistantAllowExternalIntegrations set to false.
- The official marketplace's README warns that Anthropic does not control what MCP servers, files or other software a plugin includes; here, those come from your copy of Xcode.

## Who submitted it

The listing first arrived as pull request #6259, opened on September 18 by GitHub user jonathanpenn, which said claude plugin validate passed with a local marketplace. A bot replied that the repository only accepts contributions from Anthropic team members. The change was then carried onto a branch inside the repository in #6338 so its checks could run; #6338 was merged on November 6 and #6259 was closed as a duplicate. The pull request changes only the marketplace file.

## FAQ

What is the install command for the Xcode plugin? /plugin install xcode@claude-plugins-official inside Claude Code, or claude plugin install xcode@claude-plugins-official from your shell.

Is the Xcode plugin made by Apple? The marketplace listing names Apple Inc. as the author and links to Apple's Xcode page, and its files come from Xcode itself through xcrun. The listing was submitted by a GitHub user and merged into Anthropic's repository.

Do I still need xcrun mcpbridge? Not for the MCP connection: in DevelopersIO's export, the plugin's .mcp.json registers Xcode's MCP server. mcpbridge is Apple's documented route when you want the server without the plugin.

Does it work with Codex? The listing is for Claude Code. Apple's docs give codex mcp add xcode -- xcrun mcpbridge for Codex.

If Xcode never shows the agent alert, what should I check? That Allow External Agents to Use Xcode Tools is not set to Never, and that your project is open in Xcode, the two steps Apple's guide lists.

## Related on claudefox

- [Pinky lets AI agents use your iPhone or Android phone, with approvals and blocked apps](https://claudefox.com/pinky-ai-agent-control-iphone-android-mcp/)
- [BAMA: Claude Code and Codex skills that plan, design and build native macOS apps](https://claudefox.com/bama-build-any-mac-app-agent-skills/)
- [Anthropic's three public plugin and skill repos hold 96 items](https://claudefox.com/anthropic-s-three-public-plugin-and-skill-repos-hold-96-items/)
- [CleanYourTV: debloat an Android TV or Google TV over Wi-Fi with Claude Code and get an Apple TV-style home screen](https://claudefox.com/cleanyourtv-debloat-android-google-tv-claude-code/)

Source: [Add Xcode plugin (xcode), pull request #6338, anthropics/claude-plugins-official](https://github.com/anthropics/claude-plugins-official/pull/6338?ref=claudefox.com), [Claude Code official plugin marketplace listing (marketplace.json)](https://github.com/anthropics/claude-plugins-official/blob/main/.claude-plugin/marketplace.json?ref=claudefox.com), [Apple: Giving external agents access to Xcode](https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode?ref=claudefox.com), [Apple: Setting up coding intelligence](https://developer.apple.com/documentation/xcode/setting-up-coding-intelligence?ref=claudefox.com), [DevelopersIO: Tried using Xcode 27's official skills from Claude Code](https://dev.classmethod.jp/en/articles/xcode-agent-skills-claude-code/?ref=claudefox.com), [Original listing pull request #6259](https://github.com/anthropics/claude-plugins-official/pull/6259?ref=claudefox.com), [claude-plugins-official README](https://github.com/anthropics/claude-plugins-official?ref=claudefox.com), [Claude Code docs: Discover and install plugins](https://code.claude.com/docs/en/discover-plugins?ref=claudefox.com)

This story first appeared in the [claudefox daily briefing for November 8, 2026](https://claudefox.com/daily-2026-11-08/).