MCP Catalogs
Homexc-mcp screenshot

xc-mcp

by conorluddy·84·Score 48

Intelligent Xcode MCP server for iOS development with progressive disclosure to reduce context usage.

developer-toolsai-llm
7
Forks
15
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

XC-MCP is a production-grade MCP server that makes Xcode and iOS simulator tooling accessible to AI agents through intelligent context engineering. It addresses token overflow issues by implementing progressive disclosure and defer_loading architecture. The server provides 29 tools with token-efficient workflows, accessibility-first iOS automation, and high-level abstractions for common operations like app builds and UI testing.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automated iOS application testing and QA workflows
you:AI-driven Xcode project builds and deployment
you:Accessibility-first iOS UI automation for AI agents
you:How does XC-MCP handle token overflow?
you:What is defer_loading?

When to choose this

Choose XC-MCP if you're working with Xcode and iOS development and need to integrate with AI agents that need to interact with simulators, build systems, and UI elements while being mindful of token limitations.

When NOT to choose this

Avoid XC-MCP if you need direct control over Xcode without token constraints or if you're not working in the Apple ecosystem as it's specifically tailored for iOS/macOS development.

Tools this server exposes

12 tools extracted from the README
  • simctl-device

    Simulator lifecycle operations (boot, shutdown, create, delete, erase, clone, rename)

  • simctl-app

    App management operations (install, uninstall, launch, terminate)

  • idb-app

    IDB app operations for physical devices and simulators

  • cache

    Cache management operations (get-stats, get-config, set-config, clear)

  • persistence

    Persistence control (enable, disable, status)

  • idb-targets

    Target management (list, describe, connect, disconnect)

  • xcodebuild-build

    Build Xcode project with progressive disclosure

  • xcodebuild-test

    Run tests with filtering and test plans

  • xcodebuild-clean

    Clean build artifacts

  • accessibility-quality-check

    Assess UI accessibility quality to determine automation approach

  • idb-ui-find-element

    Find UI element by label/identifier using accessibility

  • workflow-tap-element

    High-level semantic tap combining quality check, element search, and tap

Comparable tools

shell-mcpmacos-mcp

Installation

# Install globally
npm install -g xc-mcp

# Or run without installation
npx xc-mcp

**MCP Configuration** (Claude Desktop):

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "xc-mcp": {
      "command": "npx",
      "args": ["-y", "xc-mcp"]
    }
  }
}

**Minimal Mode** (for clients that don't support defer_loading):

{
  "mcpServers": {
    "xc-mcp": {
      "command": "npx",
      "args": ["-y", "xc-mcp", "--mini"]
    }
  }
}

FAQ

How does XC-MCP handle token overflow?
XC-MCP uses progressive disclosure to return concise summaries first, with cache IDs for on-demand detail retrieval, reducing token usage by up to 97%.
What is defer_loading?
defer_loading is a platform-native feature in V3.0.0 that allows Claude to discover tools on-demand, minimizing baseline context overhead to zero tokens at startup.

On Hacker News

Recent discussion from the developer community.

  • Story by persuader · 2025-10-29

Compare xc-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.