xcode-build-mcp
Verified Safeby 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
./xcode-build-mcp stdioEnvironment 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
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.
mcp-cli
A command-line interface tool for managing Model Context Protocol (MCP) server configuration files across various AI tools.