The Instruments half is the part worth having. Recording a trace, symbolicating it and exporting it are three invocations nobody keeps in their head, and here they are one conversation.
A Python MCP server wrapping three Xcode command-line tools: xcodebuild for building, testing and archiving, xcrun for locating and running toolchain tools and resolving SDK paths, and xctrace for Instruments recording and export.
- A project or workspace built, tested, or archived
- Schemes, targets and configurations listed
- Available SDKs and build destinations listed
- A toolchain tool located by name, or run
- An SDK's path and version resolved
- An Instruments trace recorded, imported, exported, or symbolicated
- Errors returned with detailed messages rather than raw exit codes
macOS with Xcode and its Command Line Tools installed, plus Python 3.13 or newer. Running it with uvx needs no local install at all.
One command — uvx xctools-mcp-server
