Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy
config.ts769 B
/** * CLI configuration for XC-MCP server * Parses command line arguments and environment variables */ export interface MCPConfig { /** Use minimal tool descriptions (~70 chars) instead of full docs */ minimalDescriptions: boolean; /** Enable defer_loading hint for MCP clients that support it */ deferLoading: boolean; /** Load only build-related tools (xcodebuild, simctl-list, cache, system) */ buildOnly: boolean; } function parseArgs(): MCPConfig { const args = process.argv.slice(2); return { minimalDescriptions: args.includes('--mini') || args.includes('-m'), deferLoading: process.env.XC_MCP_DEFER_LOADING !== 'false', buildOnly: args.includes('--build-only') || args.includes('-b'), }; } export const config = parseArgs();

Latest Blog Posts

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