Skip to main content
Glama

Xcode MCP Server

by ebowwa

xcode_create_swift_file

Generate a Swift source file with specified content and save it to a designated path using the Xcode MCP Server, streamlining iOS/macOS project file creation.

Instructions

Create a new Swift source file with content

Input Schema

NameRequiredDescriptionDefault
contentYesSwift code content for the file
file_pathYesPath where the Swift file should be created

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Swift code content for the file", "type": "string" }, "file_path": { "description": "Path where the Swift file should be created", "type": "string" } }, "required": [ "file_path", "content" ], "type": "object" }

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

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