create_project
Creates a new Xcode project with a SwiftUI app template, including entry point, ContentView, and asset catalog, for iOS or macOS platforms.
Instructions
Create a new Xcode project with a SwiftUI app template.
Creates a complete, buildable Xcode project with a SwiftUI app entry point, ContentView, and asset catalog. The project uses the modern Xcode 16+ format (objectVersion 77) with automatic file discovery.
Args: parent_directory: Directory where the project folder will be created. Must be within the allowed folders configured for this server. project_name: Name of the project (e.g. "MyApp"). Used for the folder name, target name, and scheme name. platform: Target platform - "ios" or "macos" (case-insensitive). Defaults to "ios". bundle_identifier: Bundle identifier (e.g. "com.mycompany.MyApp"). Defaults to "com.example.{ProjectName}". deployment_target: Minimum deployment target version (e.g. "26.0"). Defaults to "26.0".
Returns: JSON string with project_path, project_directory, platform, bundle_identifier, and files_created.
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": {
"parent_directory": "<parent_directory>",
"project_name": "<project_name>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_directory | Yes | ||
| project_name | Yes | ||
| platform | No | ios | |
| bundle_identifier | No | ||
| deployment_target | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |