Xcode MCP Server
Summary
Bridges Claude AI with Xcode, enabling AI-powered code assistance, project management, and automated development tasks securely on your local machine.
Available Actions(23)
set_active_project
Set the active project for the server. Parameters: project (string)
get_project_info
Retrieve detailed information about the active project. Parameters: None
create_xcode_project
Create a new Xcode project from a template. Parameters: name (string), template (string), outputDirectory (string), organizationName (string), organizationIdentifier (string), language (string), includeTests (boolean), setAsActive (boolean)
add_file_to_project
Add a file to an Xcode project with target and group specification. Parameters: filePath (string), target (string), group (string)
list_available_schemes
List available schemes in the active project or workspace. Parameters: None
read_file
Read a file with a specified encoding. Parameters: filePath (string), encoding (string)
write_file
Write content to a specified file. Parameters: path (string), content (string), createIfMissing (boolean)
search_in_files
Search for text content within files using patterns and regex. Parameters: directory (string), pattern (string), searchText (string), isRegex (boolean)
build_project
Build the specified project with customizable options. Parameters: scheme (string), configuration (string)
test_project
Run tests for the specified project. Parameters: scheme (string), testPlan (string)
initialize_cocoapods
Initialize CocoaPods in the specified project. Parameters: projectPath (string)
install_pods
Install and update CocoaPods dependencies. Parameters: None
add_swift_package
Add a Swift Package dependency. Parameters: url (string), version (string)
initialize_swift_package
Initialize a new Swift package. Parameters: packageName (string)
list_available_simulators
List available iOS simulators with detailed information. Parameters: None
boot_simulator
Boot the specified iOS simulator. Parameters: simulatorId (string)
shutdown_simulator
Shut down the specified iOS simulator. Parameters: simulatorId (string)
install_app_on_simulator
Install an app on the specified iOS simulator. Parameters: simulatorId (string), appPath (string)
take_screenshot
Take a screenshot of the specified simulator. Parameters: simulatorId (string), destinationPath (string)
execute_xcode_command
Execute an Xcode command via xcrun. Parameters: command (string), args (array of strings)
generate_app_icon_set
Generate app icon sets from source images. Parameters: sourceImages (array of strings), outputDirectory (string)
export_archive
Export and validate archives for App Store submission. Parameters: archivePath (string), exportOptions (string)
switch_xcode_version
Switch between different installed Xcode versions. Parameters: version (string)
Reseñas de la Comunidad
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación