---
title: "Using Xcode MCP with Claude Code"
url: https://daily.dev/posts/using-xcode-mcp-with-claude-code-nhsjlyedb
source_url: https://danielsaidi.com/blog/2026/04/30/using-xcode-mcp-with-claude-code
type: article
source: "Daniel Saidi"
published: 2026-07-05T07:13:46.537Z
updated: 2026-07-05T07:17:13.706Z
tags: ["swift", "mcp", "claude-code", "xcode"]
reading_time: 3
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Using Xcode MCP with Claude Code

**[Daniel Saidi](https://daily.dev/sources/danielsaidi)** · 3 min read · 0 upvotes · 0 comments

## Summary

Xcode 26.3 ships with a built-in MCP (Model Context Protocol) server that enables AI assistants like Claude Code to interact directly with Xcode projects — querying project structure, triggering builds, and running tests. The post walks through enabling MCP in Xcode's Intelligence settings, registering the server with Claude Code via a single CLI command, and using a JavaScript for Automation (JXA) hook to auto-approve the recurring MCP connection dialog. The author also recommends adding project-specific context to a CLAUDE.md file for better results.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://danielsaidi.com/blog/2026/04/30/using-xcode-mcp-with-claude-code>

## Similar posts on daily.dev

- [Whether or not the Xcode agent is any…](https://daily.dev/posts/whether-or-not-the-xcode-agent-is-any--bnwlzfu5h) · Justin Searls · 0 upvotes · 0 comments
- [Agentic coding in Xcode](https://daily.dev/posts/agentic-coding-in-xcode-xq0vjonmj) · Swift with Majid · 0 upvotes · 0 comments

---

Tags: [#swift](https://daily.dev/tags/swift), [#mcp](https://daily.dev/tags/mcp), [#claude-code](https://daily.dev/tags/claude-code), [#xcode](https://daily.dev/tags/xcode)

[View this post on daily.dev](https://daily.dev/posts/using-xcode-mcp-with-claude-code-nhsjlyedb)
