No slash command · from fuse-swift-apple-expert
Documents XcodeBuildMCP and Apple Docs MCP servers for Swift/Xcode workflows: Xcode project automation, build validation, on-simulator UI verification, and Apple API/WWDC documentation lookup with offline access.
Ships in fuse-swift-apple-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Defines the mandatory research-first priority order (Apple Docs MCP first, then Context7 for third-party libraries, then Exa web search) and the mandatory build-validation loop after every code change (build, read errors, fix, rebuild, only commit on zero errors).
Also covers Xcode 27's own coding intelligence and MCP server for external agents (xcrun mcpbridge, preview xcrun mcp-server, plan mode, plug-ins with skills/MCP servers/ACP agents, lldb-mcp, RenderPreview).
Includes installation snippets for both servers and a quick-reference table mapping tasks to the right tool.
Model Context Protocol servers for enhanced Swift/Xcode workflows.
Purpose: Xcode project automation and build validation
Documentation: xcodebuild-mcp.md, xcodebuild-mcp-ui-verification.md
Key features:
build_run_sim, test_sim), device and macOSscreenshot + snapshot_ui for UI verification (default workflow); appearance and taps via optional workflowsInstallation:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest"]
}
}
}
Use when:
Purpose: Official Apple documentation with offline WWDC access
Documentation: apple-docs-mcp.md, apple-docs-mcp-workflows.md
Key features:
Installation:
{
"mcpServers": {
"apple-docs": {
"command": "npx",
"args": ["-y", "@kimsungwhee/apple-docs-mcp"]
}
}
}
Use when:
Purpose: give an external agent (Claude Code) access to a project open in Xcode, and configure the agents that run inside Xcode
Documentation: xcode-agents.md
Setup (Apple's documented command, https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode, read 2026-11-13): allow external agents in Xcode > Settings > Intelligence, then
claude mcp add --transport stdio xcode -- xcrun mcpbridge
Open the project in Xcode before prompting. sudo xcrun mcp-server enable is a beta-5 preview of a workspace-less server (details and caveats in the reference).
Use when:
lldb-mcp/plan) or installing Xcode agent plug-ins (skills, MCP servers, ACP agents)Priority order:
1. ⭐ Apple Docs MCP (official Apple docs + WWDC)
2. Context7 (third-party libraries)
3. Exa web search (community tutorials)
After EVERY code change:
1. XcodeBuildMCP: Build project
2. If errors → Read error messages
3. Fix issues
4. Rebuild to validate
5. Only commit if zero errors
1. Feature request received
↓
2. Apple Docs MCP: Search API/WWDC
↓
3. Read existing codebase (DRY principle)
↓
4. Implement following Apple patterns
↓
5. XcodeBuildMCP: Build to validate ⭐
↓
6. If build errors:
- Read error messages
- Fix issues
- Rebuild
↓
7. Run tests (if available)
↓
8. UI changed? HIG verification gate on simulator
(xcodebuild-mcp-ui-verification.md)
✅ Autonomous error detection and fixing ✅ Zero tolerance for compilation errors ✅ Lightning-fast incremental builds ✅ Project scaffolding automation ✅ Build validation before commits
✅ Official Apple documentation (most accurate)
✅ WWDC sessions offline (2014-2025 bundled)
✅ Deprecation and availability info
⚠️ No HIG pages and no post-2025 WWDC: use developer.apple.com via browser_fetch
⚠️ Search is unreliable (0 results for the real ToolbarSpacer): never conclude an API is absent from it. Verify on the complete reference: https://developer.apple.com/tutorials/data/documentation/<framework>/<path>.json (lowercase, e.g. swiftui/toolbarspacer.json) and HIG https://developer.apple.com/tutorials/data/design/human-interface-guidelines/<slug>.json; dated HIG changes: https://developer.apple.com/design/whats-new/
XcodeBuildMCP:
xcodebuildmcp; project now also published as mobilebuildmcp 2.7.1 - see xcodebuild-mcp.md). Tool minimum Xcode 16.x; this plugin targets Xcode 27.2Apple Docs MCP:
| Task | MCP Tool | Documentation |
|---|---|---|
| Search Apple API | apple-docs | apple-docs-mcp.md |
| Find WWDC session | apple-docs | apple-docs-mcp.md |
| Get code example | apple-docs | apple-docs-mcp.md |
| Research workflow | apple-docs | apple-docs-mcp-workflows.md |
| Build project | XcodeBuildMCP | xcodebuild-mcp.md |
| Validate changes | XcodeBuildMCP | xcodebuild-mcp.md |
| Clean build | XcodeBuildMCP | xcodebuild-mcp.md |
| Create project | XcodeBuildMCP | xcodebuild-mcp.md |
| Verify UI (HIG gate) | XcodeBuildMCP | xcodebuild-mcp-ui-verification.md |
| Connect Claude Code to Xcode | xcrun mcpbridge | xcode-agents.md |
| Render a SwiftUI preview | Xcode MCP RenderPreview | xcode-agents.md |
| Plan mode, Xcode plug-ins, ACP | Xcode coding intelligence | xcode-agents.md |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
xcode, mcp-server, build-automation, apple-documentation, wwdc
npx claudepluginhub fusengine/claude-plugins --plugin fuse-swift-apple-expert15 skills in this plugin
/apple-frameworksUse when adding an Apple system framework to an app - passkeys and credential exchange, MapKit geocoding, CloudKit, Core Data, TipKit, local notifications, continued background tasks, MetricKit state reporting, App Attest, HealthKit workout zones, CarPlay map panels, or Chart3D./apple-intelligenceUse when adding Apple Intelligence features to an Apple-platform app — Foundation Models framework (on-device and Private Cloud Compute language models, guided generation, tools), Writing Tools, Genmoji, Image Playground, Visual Intelligence — or when choosing between them and App Intents / Siri AI./Other plugins' skills for the same job