36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
# 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)
|
||
- For details and setup, see [XcodeBuildMCP for iOS in VS Code](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 Code’s `.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)
|