Skip to content

XcodeBuildMCP

Untested

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

by getsentry 4,752 MIT TypeScript Advanced stdio

Install

Claude Code

claude mcp add cameroncooke-xcodebuildmcp -- npx -y XcodeBuildMCP

Safety Report

100% Untested
Scanned yesterday
4 passed
Security
Authentication
details

No API authentication required. Device tools require Xcode code signing configuration. No token or key-based auth.

Info
CORS Policy
details

Local stdio MCP server; no HTTP endpoints, CORS not applicable.

N/A
Rate Limiting
details

Local tool; no rate limiting applicable.

N/A
Known CVEs
details

No known CVEs. Project is relatively new.

Info
Code Quality
Dependency Audit
details

Published on npm. Dependency audit not publicly documented.

Info
Dangerous Patterns
details

No dangerous code patterns detected

Pass
License
details

MIT license.

Pass
Code Source
details

Open source on GitHub by cameroncooke.

Pass
Community
Maintenance Status
details

Actively maintained. Regular commits.

Pass

Learn about our security methodology →

Compatibility

Claude CodeSupported via npx or npm global install.
Not Tested
CursorDocumented integration with configuration file.
Not Tested
VS CodeDocumented integration with configuration file.
Not Tested
WindsurfDocumented integration with configuration file.
Not Tested
Claude DesktopSupported via standard MCP stdio configuration.
Not Tested

Tools Provided (82)

discover_projs

Scans a directory to find Xcode project and workspace files.

list_schemes

Lists available Xcode schemes for a project.

show_build_settings

Displays the build configuration settings for an Xcode project.

build_sim

Compiles an iOS app for the simulator without launching it.

build_run_sim

Builds, installs, and launches an app on the iOS Simulator.

build_device

Compiles an iOS app for a physical device.

build_run_device

Builds, installs, and launches an app on a physical iOS device.

build_macos

Compiles a macOS application.

build_run_macos

Builds and executes a macOS application.

test_sim

Runs tests on the iOS Simulator.

test_device

Runs tests on a physical iOS device.

test_macos

Runs tests for a macOS application.

clean

Removes build products for a project.

list_sims

Displays available iOS simulators.

boot_sim

Starts a specific simulator instance.

open_sim

Launches the Simulator.app.

install_app_sim

Deploys a built app to the simulator.

launch_app_sim

Starts an app on the simulator.

launch_app_logs_sim

Launches an app on the simulator and captures its output logs.

stop_app_sim

Terminates a running app on the simulator.

get_sim_app_path

Locates the built app bundle on the simulator.

list_devices

Lists connected physical iOS/macOS devices.

install_app_device

Deploys a built app to a physical device.

launch_app_device

Starts an app on a physical device.

stop_app_device

Terminates a running app on a physical device.

get_device_app_path

Locates the app on a physical device.

get_app_bundle_id

Extracts the bundle identifier from a .app bundle.

get_mac_app_path

Locates a built macOS app bundle.

get_mac_bundle_id

Extracts the bundle identifier from a macOS .app bundle.

launch_mac_app

Starts a macOS application.

stop_mac_app

Terminates a running macOS app.

start_sim_log_cap

Begins capturing logs from the simulator.

stop_sim_log_cap

Stops simulator log capture and returns the captured logs.

start_device_log_cap

Begins capturing logs from a physical device.

stop_device_log_cap

Stops device log capture and returns the captured logs.

screenshot

Captures a screenshot of the simulator screen.

snapshot_ui

Prints the view hierarchy with precise view coordinates for UI inspection.

record_sim_video

Captures a screen recording of the simulator.

tap

Taps a UI element by accessibility ID or label.

touch

Performs a touch input at specified coordinates.

long_press

Performs a sustained press gesture on the simulator.

swipe

Executes a swipe gesture between two coordinates.

type_text

Types text into the currently focused simulator input.

key_press

Sends a keyboard key by keycode to the simulator.

key_sequence

Presses a sequence of keys by their keycodes.

button

Presses a simulator hardware button (e.g., home, lock).

gesture

Applies a predefined gesture preset to the simulator.

debug_attach_sim

Attaches the LLDB debugger to a running simulator app.

debug_breakpoint_add

Sets a breakpoint in the debugger.

debug_breakpoint_remove

Removes a debugger breakpoint.

debug_continue

Resumes execution after a breakpoint.

debug_detach

Disconnects the LLDB debugger from the app.

debug_lldb_command

Executes a raw LLDB debugger command.

debug_stack

Displays the current call stack trace.

debug_variables

Inspects local variables in the current stack frame.

get_coverage_report

Shows per-target code coverage from an xcresult bundle.

get_file_coverage

Shows function-level coverage and uncovered line ranges for a specific file.

swift_package_build

Compiles a Swift package target.

swift_package_clean

Removes Swift package build artifacts.

swift_package_list

Lists active SwiftPM processes.

swift_package_run

Executes a Swift package target.

swift_package_stop

Halts a running Swift package process.

swift_package_test

Runs Swift package tests.

scaffold_ios_project

Generates an iOS project template.

scaffold_macos_project

Generates a macOS project template.

session_set_defaults

Configures default session parameters (scheme, simulator, etc.).

session_show_defaults

Displays currently active session defaults.

session_clear_defaults

Resets the session configuration to defaults.

session_use_defaults_profile

Switches to a specific session defaults profile.

sync_xcode_defaults

Syncs session defaults from Xcode's current IDE selection.

erase_sims

Clears all data from one or more simulators.

reset_sim_location

Restores the default location settings on the simulator.

set_sim_appearance

Configures light/dark appearance on the simulator.

set_sim_location

Sets a simulated GPS location on the simulator.

sim_statusbar

Adjusts the status bar display on the simulator.

doctor

Reports MCP environment info and diagnostics.

manage-workflows

Manages which workflows are enabled at runtime.

xcode_ide_call_tool

Invokes a remote tool exposed by the Xcode IDE MCP bridge.

xcode_ide_list_tools

Lists tools available via the Xcode IDE MCP bridge.

xcode_tools_bridge_disconnect

Closes the connection to the Xcode IDE bridge.

xcode_tools_bridge_status

Checks the current connection status of the Xcode IDE bridge.

xcode_tools_bridge_sync

Establishes connection to the Xcode IDE bridge and syncs available tools.

Frequently Asked Questions

What is XcodeBuildMCP?

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

What tools does XcodeBuildMCP provide?

XcodeBuildMCP provides 82 tools including discover_projs, list_schemes, show_build_settings, build_sim. Each tool can be called by AI agents to perform specific operations.

Is XcodeBuildMCP safe to use?

XcodeBuildMCP has not yet been security scanned. We recommend reviewing the source code and safety report before use.

What are alternatives to XcodeBuildMCP?

Similar MCP servers include XcodeBuildMCP, Google Workspace MCP, MCP Gsuite. Each serves a similar purpose but may differ in features, language, and compatibility.

Similar MCP Servers