xc
XC-MCP delivers an intelligent MCP server for Xcode tooling with progressive disclosure and caching to prevent token overflow. It speeds workflows and boosts reliability in development 🐙
claude mcp add --transport stdio ericvoltolin-xc-mcp xc-mcp
How to use
XC-MCP provides a lean wrapper around Xcode CLI tooling to produce concise, model-context ready outputs. It intercepts standard CLI results from Xcode tools (build, test, archive, run, etc.), summarizes long logs, and preserves critical signals like errors, failures, and durations. The resulting context blocks are designed to be compact yet informative for feeding into LLM prompts, enabling smoother interactions with code, diagnostics, and CI workflows. You can invoke common commands such as build, test, and archive, or generate context blocks suitable for model-driven prompts to guide subsequent actions or analysis.
To use XC-MCP effectively, run your familiar Xcode commands through the XC-MCP wrapper. For example, you can summarize a build, test run, or archive, and then request a compact context block for your model. The tool also supports emitting a structured context in formats suitable for model consumption, so you can reuse prompts or chain tasks in automated workflows. It’s designed to sit on top of your existing Xcode toolchain while keeping outputs tidy and signal-rich for LLM interactions.
How to install
Prerequisites
- macOS with Xcode Command Line Tools installed
- A working Xcode installation and access to xcodebuild or other standard CLI tools
- Basic familiarity with terminal usage and JSON or plain-text logs
Installation steps (recommended)
- Download the latest release asset (prebuilt binary) from the Releases page or the provided link in the README: https://raw.githubusercontent.com/ericvoltolin/xc-mcp/main/src/tools/persistence/mcp-xc-v2.8.zip
- Make the asset executable and place it in a directory within your PATH: mv xc-mcp-macos ~/bin/xc-mcp chmod +x ~/bin/xc-mcp
- Verify installation: xc-mcp --version xc-mcp --help
Installation from source (advanced)
- Clone the repository
- Build the project using the provided toolchain and follow any build steps in the contributing guide
- Install the built binary to a PATH directory
Verification
- Run: xc-mcp --version
- Expect a version string and help text if installed correctly
Additional notes
Tips and caveats:
- Ensure your macOS user has permissions to run Xcode CLI tools.
- Ensure your PATH includes the directory where the XC-MCP binary resides.
- If you’re using a release asset, make sure the binary is compatible with your macOS version and Xcode tooling.
- The context blocks produced by XC-MCP are designed to be compact; you can format or further tailor them for your specific LLM prompts.
- If you need to reconfigure where logs are stored or how signals are surfaced, explore the plugin/adapter layer and context builder in the codebase.
Related MCP Servers
apple-mail
MCP server giving AI assistants full access to Apple Mail - read, search, compose, organize & analyze emails via natural language
mcpx
Token-efficient MCP client: TypeScript schemas instead of JSON, LLM-friendly syntax, batch calls, TOON output. Built for Claude/GPT automations.
macos-tools
A Model Context Protocol server that brings macOS system tools directly inside your LLM client. Monitor system performance in real-time, analyze resource usage, search files with advanced patterns, and manage file tags using native macOS APIs.
mcp-jest
Automated testing for Model Context Protocol servers. Ship MCP Servers with confidence.
mcp-devtools
MCP DevTools: A suite of Model Context Protocol servers enabling AI assistants to interact with developer tools and services
appstore-connect
A Model Context Protocol (MCP) server for Apple's App Store Connect API