MCP Servers / development / Xcode MCP

Xcode MCP

JSON →
none377development

Integrate with Xcode to build and manage your projects.

Install
How to run this server
[ { "cmd": "npx tsc", "imports": [] } ]
server path: xcode-mcp
Tools
What this server exposes
set_active_project
Set active project and get detailed project information
create_xcode_project
Create new Xcode projects from templates (iOS, macOS, watchOS, tvOS)
add_file_to_project
Add files to Xcode projects with target and group specification
parse_workspace
Parse workspace documents to find associated projects
list_schemes
List available schemes in projects and workspaces
read_file
Read files with support for different encodings
write_file
Write files with support for different encodings
handle_binary_file
Handle binary files with base64 encoding/decoding
search_file_content
Search for text content within files using patterns and regex
check_file_existence
Check file existence and get file metadata
create_directory
Create directory structures automatically
build_project
Build projects with customizable options
run_tests
Run tests with detailed failure reporting
analyze_code
Analyze code for potential issues
clean_build
Clean build directories
archive_project
Archive projects for distribution
init_cocoapods
Initialize CocoaPods in projects
install_pods
Install pods
update_pods
Update pods
add_pod_dependency
Add pod dependencies
remove_pod_dependency
Remove pod dependencies
execute_pod_command
Execute arbitrary pod commands
init_swift_package
Initialize new Swift packages
add_package_dependency
Add package dependencies with various version requirements
remove_package_dependency
Remove package dependencies
update_packages
Update packages and resolve dependencies
generate_docc_documentation
Generate documentation for Swift packages using DocC
run_swift_tests
Run tests for Swift packages
build_swift_package
Build Swift packages
list_simulators
List available simulators with detailed information
boot_simulator
Boot simulators
shutdown_simulator
Shut down simulators
install_app_on_simulator
Install apps on simulators
launch_app_on_simulator
Launch apps on simulators
take_screenshot
Take screenshots on simulators
record_video
Record videos on simulators
manage_simulator_settings
Manage simulator settings and state
execute_xcrun_command
Execute Xcode commands via xcrun
compile_asset_catalog
Compile asset catalogs
generate_app_icon
Generate app icon sets from source images
trace_app_performance
Trace app performance
export_archive
Export archives for App Store submission
validate_archive
Validate archives for App Store submission
switch_xcode_version
Switch between different Xcode versions
Configuration
Environment & auth
authnone
Resources
Xcode MCP — MCP Server · libregistry