Labsco
MCP SERVER

xctools

by nzrsky

Build, test and archive an Xcode project, list its schemes and destinations, and record, symbolicate and export Instruments traces — all as structured calls.

Build Systems & CI/CD
Summary
The Xcode command line, without remembering the flags.

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.

What it is

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.

What you get
  • 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
Requirements

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.

Setup effort

One command — uvx xctools-mcp-server