ai-docs/docs/ai/ios/ios-mcp.md

38 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# iOS MCP Overview
You are here: [AI Docs Home](../index.md) > iOS MCP Overview
## What is MCP for iOS?
MCP (Model Context Protocol) enables automation and agent workflows for iOS development. It allows tools like Copilot Chat to build, test, run, and interact with Xcode projects programmatically.
## Why Use MCP?
- Automate builds, tests, and diagnostics
- Enable agentic workflows in Copilot Chat and other tools
- Standardize and speed up repetitive tasks
- Reduce context switching between tools
## MCP Options for iOS
There are two main ways to use MCP with iOS projects:
### 1. Xcode Native MCP (Xcode 26.3+)
- Built into Xcode 26.3 and later
- Official Apple support
- Best for seamless integration and live previews
- [Setup & details](ios-xcodebuildmcp-xcode.md)
### 2. XcodeBuildMCP (External Tool)
- Open-source bridge for Xcode used with other tools like VS Code.
- More configuration and CI/CD options
- Best for advanced automation or older Xcode setups
- [Setup & details](ios-xcodebuildmcp-vscode.md)
## When to Use Which?
- Use Xcode Native MCP for the simplest, most integrated experience (especially for new projects or live previews)
- Use XcodeBuildMCP if you need advanced automation, CI/CD, or support for older Xcode versions
- You can configure both and switch as needed in VS Codes `.vscode/mcp.json`
## Next Steps
- [MCP for iOS in VS Code](ios-mcp-vscode.md)
- [XcodeBuildMCP (Xcode)](ios-xcodebuildmcp-xcode.md)
- [XcodeBuildMCP for iOS in VS Code](ios-xcodebuildmcp-vscode.md)