set_project_path
Set the active Xcode project by specifying the path to its .xcodeproj directory, enabling AI assistants to build and test projects through the Xcode MCP Server.
Instructions
Sets the active Xcode project by specifying the path to its .xcodeproj directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "set_project_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the .xcodeproj directory for the desired project. |