XcodeMCP
XcodeMCP is an MCP server. Its repository has 59 GitHub stars and is licensed under Apache-2.0; we last read it on 2026-10-22.
Serves AppleScript commands from Xcode and uses XCLogParser to provide clear build results.
Install
MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. XcodeMCP’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.
What it reaches, and what it needs
Maintenance
MCP server for Xcode that wraps its AppleScript interface & uses XCLogParser to return clear build results
What XcodeMCP can do
22 tools documented in its README. An AI client calls these by name.
xcode_open_project- Open projects and workspaces
xcode_get_workspace_info- Get workspace status and details
xcode_get_projects- List projects in workspace
xcode_open_file- Open files with optional line number
xcode_build- Build with detailed error parsing
xcode_clean- Clean build artifacts
xcode_test- Run tests with optional arguments
xcode_build_and_run- Build and run the active scheme
xcode_debug- Start debugging session
xcode_stop- Stop current operation
xcode_get_schemes- List available schemes
xcode_set_active_scheme- Switch active scheme
xcode_get_run_destinations- List simulators and devices
xcresult_browse- Browse test results and analyze failures
xcresult_browser_get_console- Get console output for specific tests
xcresult_summary- Quick overview of test results
xcresult_get_screenshot- Extract screenshots from test failures
xcresult_get_ui_hierarchy- Get UI hierarchy as AI-readable JSON with timestamp selection
xcresult_get_ui_element- Get detailed properties of specific UI elements by index
xcresult_list_attachments- List all attachments for a test
xcresult_export_attachment- Export specific attachments from test results
xcode_health_check- Environment validation and troubleshooting
Read from the README; names are kept only if the README contains them.
Common questions about XcodeMCP
- What does XcodeMCP do?
- Serves AppleScript commands from Xcode and uses XCLogParser to provide clear build results.
- How do I install XcodeMCP?
- Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/lapfelix/XcodeMCP
- Is XcodeMCP official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 59 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-02-05.
- What licence does XcodeMCP use?
- The repository declares the Apache-2.0 licence.