Xcode MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PolarVista/Xcode-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server