projectPath
(required): Path to the .xcodeproj or .xcworkspace
How to use it
projectPath is exposed by the Xcode MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the projectPath tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL XCODE MCP SERVER LISTINGOther tools in Xcode MCP Server (6)
build_project
Builds an Xcode project with specified parameters.
destination
(optional): Build destination (defaults to "platform=iOS Simulator,name=iPhone 15 Pro")
run_tests
Runs unit tests with optional filtering.
scheme
(required): Build scheme name
skipTests
(optional): Array of test identifiers to skip
testIdentifier
(optional): Specific test to run (e.g., 'MyTests/testExample')