Skip to main content
Glama

Xcode MCP Server

by PolarVista

write_file

Create or update files in active Xcode projects by specifying file paths and content, ensuring project resources are managed and maintained efficiently.

Instructions

Writes or updates the content of a file in the active Xcode project.

Input Schema

NameRequiredDescriptionDefault
contentYesThe content to be written to the file.
createIfMissingNoIf true, creates the file if it doesn't exist.
filePathYesRelative or absolute path to the file to update or create.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The content to be written to the file.", "type": "string" }, "createIfMissing": { "description": "If true, creates the file if it doesn't exist.", "type": "boolean" }, "filePath": { "description": "Relative or absolute path to the file to update or create.", "type": "string" } }, "required": [ "filePath", "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/PolarVista/Xcode-mcp-server'

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