Back to Home
conorluddy icon

xc-mcp

Verified Safe

by conorluddy

Overview

Provides an intelligent MCP server for Xcode and iOS simulator workflows, optimized for AI agents to automate iOS development and testing tasks efficiently.

Installation

Run Command
npx -y xc-mcp

Environment Variables

  • XC_MCP_DEFER_LOADING
  • XC_MCP_MINI_MODE
  • XC_MCP_BUILD_ONLY_MODE
  • XC_MCP_PERSISTENCE_ENABLED
  • XC_MCP_CACHE_DIR
  • XC_MCP_CONSOLE_LOG
  • XC_MCP_DISABLE_VALIDATION
  • XC_MCP_AUTO_INSTALL

Security Notes

The server executes external `xcrun simctl` and `idb` commands via `child_process.exec` and `child_process.spawn`. While comprehensive input validation and shell escaping (`isSafePath`, `isValidBundleId`, `isValidUdid`) are implemented to mitigate command injection, the inherent nature of wrapping powerful command-line tools poses a risk if these mitigations were bypassed or found to be incomplete. The server uses `StdioServerTransport`, limiting external network attack surface, and persistence is to local, user-controlled directories, reducing broader system compromise risk. No hardcoded secrets or 'eval' statements were found.

Similar Servers

Stats

Interest Score43
Security Score8
Cost ClassMedium
Avg Tokens1100
Stars23
Forks2
Last Update2025-12-08

Tags

XcodeiOSSimulatorAI AgentAutomation