Xcode MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| set_projects_base_dirC | Sets the base directory where your Xcode projects are stored. |
| set_project_pathC | Sets the active Xcode project by specifying the path to its .xcodeproj directory. |
| get_active_projectB | Retrieves detailed information about the currently active Xcode project. |
| read_fileC | Reads the contents of a file within the active Xcode project. |
| write_fileB | Writes or updates the content of a file in the active Xcode project. |
| list_project_filesC | Lists all files within an Xcode project. |
| analyze_fileB | Analyzes a source file for potential issues using Xcode's static analyzer. |
| build_projectC | Builds the active Xcode project using the specified configuration and scheme. |
| run_testsC | Executes tests for the active Xcode project. |
| run_xcrunC | Executes a specified Xcode tool via 'xcrun'. |
| list_simulatorsA | Lists all available iOS simulators with their details by invoking 'xcrun simctl list --json'. |
| boot_simulatorC | Boots an iOS simulator identified by its UDID. |
| shutdown_simulatorA | Shuts down an active iOS simulator using its UDID. |
| compile_asset_catalogC | Compiles an asset catalog using 'actool'. |
| run_lldbC | Launches the LLDB debugger with custom arguments. |
| trace_appC | Captures a performance trace of an application using 'xctrace'. |
| swift_package_updateA | Updates the dependencies of your Swift project using Swift Package Manager by invoking 'swift package update'. |
| list_directoryC | Lists the contents of a directory, showing both files and subdirectories. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Most tools have distinct purposes, but there is some overlap between list_directory and list_project_files, as both list files, though one is general and the other project-specific. Tools like analyze_file and trace_app are clearly differentiated for static analysis vs. performance tracing.
All tool names follow a consistent verb_noun pattern using snake_case, such as analyze_file, boot_simulator, and build_project. There are no deviations in naming style, making the set predictable and easy to parse.
With 18 tools, the count is slightly high but reasonable for an Xcode server covering project management, building, testing, debugging, and simulator operations. It might feel a bit heavy, but each tool appears to serve a specific function in the domain.
The toolset provides good coverage for Xcode workflows, including project setup, building, testing, debugging, and simulator control. Minor gaps might include tools for code signing or managing provisioning profiles, but core operations are well-represented.