Back to Home
jontolof icon

xcode-build-mcp

Verified Safe

by jontolof

Overview

Provides a token-efficient Model Context Protocol (MCP) server to enable AI assistants to interact with Xcode for build, test, and simulator management on macOS.

Installation

Run Command
./xcode-build-mcp stdio

Environment Variables

  • MCP_LOG_LEVEL
  • MCP_FILTER_DEBUG
  • MCP_FILTER_DEBUG_DIR
  • MCP_DEBUG_TEST_OUTPUT
  • MCP_DEBUG_OUTPUT_DIR
  • MCP_DEBUG

Security Notes

The server executes external `xcrun simctl` and `xcodebuild` commands using Go's `os/exec.CommandContext`. While this method generally prevents shell injection by separating commands from arguments, invoking powerful system tools always carries an inherent risk. Input parameters, particularly file paths and arguments to `xcodebuild` and `simctl`, must be rigorously validated to prevent unintended command execution or file system manipulation on the host machine. No `eval`-like functions, hardcoded secrets, or direct network listening are evident; primary interaction is via standard I/O (stdio).

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens10000
Stars0
Forks0
Last Update2025-12-03

Tags

XcodeMCP ServerBuild AutomationTestingSimulator ControlToken Efficiency