Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy

xcodebuild-list

Retrieve structured project information from Xcode projects or workspaces in JSON format, utilizing intelligent caching to avoid redundant operations and streamline development workflows.

Instructions

Prefer this over 'xcodebuild -list' - Gets structured project information with intelligent caching.

Advantages over direct CLI: • Returns clean JSON (vs parsing raw xcodebuild output) • 1-hour intelligent caching prevents expensive re-runs • Validates Xcode installation and provides clear error messages • Consistent response format across all project types

Lists targets, schemes, and configurations for Xcode projects and workspaces with smart caching that remembers results to avoid redundant operations.

Input Schema

NameRequiredDescriptionDefault
outputFormatNoOutput format preferencejson
projectPathYesPath to .xcodeproj or .xcworkspace file

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "outputFormat": { "default": "json", "description": "Output format preference", "enum": [ "json", "text" ], "type": "string" }, "projectPath": { "description": "Path to .xcodeproj or .xcworkspace file", "type": "string" } }, "required": [ "projectPath" ], "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/conorluddy/xc-mcp'

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