$npx skillfedfor your agent

axiom-xcode-mcp

This skill guides you through connecting external AI clients to Xcode via its MCP server (xcrun mcpbridge). It covers initial setup for different clients, configuring tool access permissions, and resolving connection problems. Use it when establishing MCP connections, invoking Xcode's 20 IDE tools, or diagnosing mcpbridge failures.

Axiom-xcode-mcp helps you set up and configure Xcode MCP for external AI clients like Claude Code and Cursor.

AI-generated summary based on this skill's SKILL.md

1,095 81 MITupdated by CharlesWiltgen

Decision gist · record as of 2026-07-27

Axiom-xcode-mcp helps you set up and configure Xcode MCP for external AI clients like Claude Code and Cursor. This skill guides you through connecting external AI clients to Xcode via its MCP server (xcrun mcpbridge). It covers initial setup for different clients, configuring tool access permissions, and resolving connection problems. Use it when establishing MCP connections, invoking Xcode's 20 IDE tools, or diagnosing mcpbridge failures.

manual: git clone https://github.com/CharlesWiltgen/Axiom → cp -r Axiom/axiom-codex/skills/axiom-xcode-mcp ~/.claude/skills/axiom-xcode-mcp
axiom-codex/skills/axiom-xcode-mcp/SKILL.md · version 295adc42

Use it when

  • axiom-xcode-mcp's troubleshooting section addresses connection failures.
  • axiom-xcode-mcp documents the buildProject tool for executing builds through MCP.

Verify before relying

Read SKILL.md below before installing (6 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

CharlesWiltgen/Axiom/axiom-xcode-mcp · repository language: Go

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I set up Xcode MCP with Claude Code?

axiom-xcode-mcp guides you through connecting Claude Code to Xcode via xcrun mcpbridge. Start by installing the MCP server, then configure your Claude settings to point to the mcpbridge executable. You'll need to grant permission when prompted in Xcode 27+. The skill covers client-specific setup steps and permission dialogs to get your external AI client communicating with Xcode's 20 IDE tools.

What should I do if I get an xcrun mcpbridge connection refused error?

axiom-xcode-mcp's troubleshooting section addresses connection failures. Common causes include the mcpbridge server not running, incorrect socket paths, or firewall blocks. Verify that Xcode is open and the mcpbridge process is active. Check that your external agent has permission to connect—Xcode 27+ requires explicit approval. Review logs for port conflicts or permission denials.

How do I build a project via Xcode MCP?

axiom-xcode-mcp documents the buildProject tool for executing builds through MCP. Invoke the tool with required parameters like project path and scheme name. The skill explains each parameter's purpose and validates your input against the tool schema. You can also use xcodebuild directly for more control, but axiom-xcode-mcp's MCP approach integrates seamlessly with external AI clients.

What are the key parameters for Xcode MCP tool schemas?

axiom-xcode-mcp provides detailed API schemas for all 20 MCP tools, including required and optional fields. Each tool reference specifies parameter types, constraints, and examples. Understanding these schemas ensures your external client sends compliant requests. The skill covers strict schema validation for clients that enforce type checking and field requirements.

How do I troubleshoot Xcode MCP setup issues?

axiom-xcode-mcp covers setup diagnostics including permission dialogs, mcpbridge connection problems, and window targeting errors. Check that Xcode 27+ is running and has granted external agent access. Verify your client configuration points to the correct mcpbridge socket. Review error messages for missing windows or invalid tab identifiers. The skill routes you to specific solutions based on your error type.

Can I run tests via Xcode MCP tools?

axiom-xcode-mcp documents test execution workflows through MCP. Use the test tool with your project and scheme parameters to run unit or UI tests remotely. The skill explains how to capture test results and handle failures. External AI clients can invoke testing as part of their workflows, enabling automated validation through Xcode's testing infrastructure.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Xcode MCP

You MUST use this skill for ANY Xcode MCP interaction — setup, tool usage, workflow patterns, or troubleshooting.

Xcode ships an MCP server (xcrun mcpbridge, available since Xcode 26.3) that exposes 20 IDE tools to external AI clients. Xcode 27 adds an explicit "Allow external agents to use Xcode tools" gate, the run-agent launch path, and an agent-extension model (custom MCP servers, skills, plug-ins). This skill suite covers setup, tool reference, workflow patterns, and troubleshooting.

mcpbridge requires a running Xcode with a project open — if that's a liability (headless CI, or you don't want to keep Xcode up), the device/simulator half of these operations has a fully Xcode-independent CLI path: devicectl + simctl + Axiom's xcui/xclog/xcsym/xcprof. See axiom-tools (skills/device-control-ref.md). The IDE-authoring tools (build state, render previews, navigator

(truncated - see the full file via the links below)

File tree — 6 files
axiom-codex/skills/axiom-xcode-mcp/SKILL.md
axiom-codex/skills/axiom-xcode-mcp/agents/openai.yaml
axiom-codex/skills/axiom-xcode-mcp/skills/axe-ref.md
axiom-codex/skills/axiom-xcode-mcp/skills/xcode-mcp-ref.md
axiom-codex/skills/axiom-xcode-mcp/skills/xcode-mcp-setup.md
axiom-codex/skills/axiom-xcode-mcp/skills/xcode-mcp-tools.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Set up and configure Xcode MCP for external AI clients”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

axiom-apple-docs
by CharlesWiltgen · CharlesWiltgen/Axiom

axiom-apple-docs routes you to Apple's bundled documentation for framework APIs, design patterns, and compiler errors. It covers 20 authoritative guides spanning Liquid Glass, SwiftData, StoreKit, Foundation Models, and concurrency, plus 46 Swift compiler diagnostics with explanations. Use it alongside Axiom skills to ground opinionated guidance in Apple's official specifications.

MITupdated Jul 2026
★ 1,095repo stars
axiom-test-simulator
by CharlesWiltgen · CharlesWiltgen/Axiom

This skill automates visual testing on iOS simulators by capturing screenshots and video during app execution. It integrates with Axiom's Apple development toolkit to help you verify UI behavior, document issues, and validate layouts without manual inspection. Perfect for CI/CD pipelines and rapid iteration cycles.

MITupdated Jul 2026
★ 1,095repo stars
axiom-tools
by CharlesWiltgen · CharlesWiltgen/Axiom

Axiom delivers production-grade development expertise for Apple platforms, equipping AI coding assistants with the knowledge to handle Swift 6, SwiftUI, and modern iOS workflows. The toolkit helps prevent common pitfalls like data loss during migrations, memory leaks, and xcodebuild failures that waste developer time. Built for Claude Code and other AI-powered IDEs, Axiom bridges the gap between AI assistance and real-world Apple development challenges.

MITupdated Jul 2026
★ 1,095repo stars
axiom-testing
by CharlesWiltgen · CharlesWiltgen/Axiom

Axiom Testing guides you through writing and debugging tests across all iOS scenarios—from unit tests with Swift Testing to UI automation with XCUITest. Navigate async testing patterns, flaky test fixes, and test architecture decisions with clear decision trees and critical patterns for each testing domain.

MITupdated Jul 2026
★ 1,095repo stars
axiom-run-tests
by CharlesWiltgen · CharlesWiltgen/Axiom

axiom-run-tests equips AI coding assistants with specialized capabilities for executing and debugging Apple platform tests. It surfaces actionable diagnostics when XCUITests fail, helping you identify root causes and fix issues faster without manual investigation overhead.

MITupdated Jul 2026
★ 1,095repo stars
axiom-profile-performance
by CharlesWiltgen · CharlesWiltgen/Axiom

axiom-profile-performance equips AI coding assistants with specialized capabilities for measuring and optimizing app performance on Apple platforms. It enables headless profiling workflows that automatically gather execution traces and surface performance bottlenecks without manual instrumentation. Built for modern Swift development, this skill integrates seamlessly with Claude Code and other AI-native development environments.

MITupdated Jul 2026
★ 1,095repo stars

More skills xcode-build (MIT) · Ios Simulator (NOASSERTION) · axiom-resolve-spm (MIT)

Tags
ide-automationmcp-protocolxcode-integrationpreview-renderingagent-connectivitybuild-workflowtest-automationexternal-tools