Xcode MCP Server

list_project_files

List all files in an Xcode project

Input Schema

NameRequiredDescriptionDefault
fileTypeNoFilter by file extension (e.g., 'swift', 'm')
projectPathYesPath to the .xcodeproj directory

Input Schema (JSON Schema)

{ "properties": { "fileType": { "description": "Filter by file extension (e.g., 'swift', 'm')", "type": "string" }, "projectPath": { "description": "Path to the .xcodeproj directory", "type": "string" } }, "required": [ "projectPath" ], "type": "object" }