XcodeMCP
未认领MCP server for Xcode that wraps its AppleScript interface & uses XCLogParser to return clear build results
agentic-aiapplescriptclaude-codemcpxcode
安装
$
npx -y xcodemcp@latest工具(23 个)
find_xcresults
→ find-xcresults
xcode_build
→ build
xcode_build_and_run
→ build-and-run
xcode_clean
Clean build artifacts
xcode_debug
Start debugging session
xcode_get_projects
List projects in workspace
xcode_get_run_destinations
List simulators and devices
xcode_get_schemes
List available schemes
xcode_get_workspace_info
Get workspace status and details
xcode_health_check
→ health-check
xcode_open_file
Open files with optional line number
xcode_open_project
Open projects and workspaces
xcode_set_active_scheme
Switch active scheme
xcode_stop
Stop current operation
xcode_test
→ test
xcresult_browse
→ xcresult-browse
xcresult_browser_get_console
Get console output for specific tests
xcresult_export_attachment
Export specific attachments from test results
xcresult_get_screenshot
Extract screenshots from test failures
xcresult_get_ui_element
Get detailed properties of specific UI elements by index
xcresult_get_ui_hierarchy
Get UI hierarchy as AI-readable JSON with timestamp selection
xcresult_list_attachments
List all attachments for a test
xcresult_summary
Quick overview of test results