Skip to main content
Glama

xcode_open_file

Open a specific file in Xcode from a given path, optionally navigating to a designated line number, facilitating quick access and code review.

Instructions

Open a file in Xcode

Input Schema

NameRequiredDescriptionDefault
file_pathYesPath to the file to open - supports both absolute (/path/to/file.swift) and relative (src/file.swift) paths
line_numberNoOptional line number to navigate to

Input Schema (JSON Schema)

{ "properties": { "file_path": { "description": "Path to the file to open - supports both absolute (/path/to/file.swift) and relative (src/file.swift) paths", "type": "string" }, "line_number": { "description": "Optional line number to navigate to", "type": "number" } }, "required": [ "file_path" ], "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/lapfelix/XcodeMCP'

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