Skip to main content
Glama
drewster99

xcode-mcp-server (drewster99)

by drewster99

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_directoryYes
project_nameYes
platformNoios
bundle_identifierNo
deployment_targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses behavioral traits such as requiring parent_directory within allowed folders and creating multiple files. Annotations are minimal, so description carries burden. It does not mention potential idempotency or overwrite behavior, but is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections for args and returns, and front-loaded with purpose. At about 150 words, it is slightly verbose but each sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description adequately covers what the tool does, inputs, outputs (including return fields), and constraints. Given the complexity, it is complete and does not require additional context from siblings or output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the description provides detailed explanations for each parameter, including constraints, defaults, and usage context (e.g., project_name used for folder/target/scheme, platform case-insensitive). This adds significant value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a new Xcode project with a SwiftUI app template, specifying verb, resource, and details like Xcode 16+ format. It is distinct from sibling tools that focus on building, cleaning, or running projects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides parameter details but does not explicitly state when to use this tool versus alternatives or when not to use it. The context of siblings implies it is for creation, but lacks explicit guidance on exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/drewster99/xcode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server