Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy

persistence-enable

Enable file-based persistence for Xcode CLI tool cache data, improving workflow efficiency by retaining build configurations, simulator preferences, and usage patterns across server restarts.

Instructions

🔒 Enable Opt-in Persistent State Management - File-based persistence for cache data across server restarts.

Privacy First: Disabled by default. Only usage patterns, build preferences, and performance metrics are stored. No source code, credentials, or personal information is persisted.

Key Benefits: • 📈 Learns Over Time - Remembers successful build configurations and simulator preferences • 🚀 Faster Workflows - Cached project information and usage patterns persist across restarts • 🤝 Team Sharing - Project-local caching allows teams to benefit from shared optimizations • 💾 CI/CD Friendly - Maintains performance insights across build environments

Storage Location Priority:

  1. User-specified directory (cacheDir parameter)
  2. Environment variable: XC_MCP_CACHE_DIR
  3. XDG cache directory (Linux/macOS standard)
  4. Project-local: .xc-mcp/cache/
  5. User home: ~/.xc-mcp/cache/
  6. System temp (fallback)

The system automatically selects the first writable location and creates proper .gitignore entries to prevent accidental commits.

Input Schema

NameRequiredDescriptionDefault
cacheDirNoOptional custom directory for cache storage. If not provided, uses intelligent location selection.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cacheDir": { "description": "Optional custom directory for cache storage. If not provided, uses intelligent location selection.", "type": "string" } }, "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