Awesome-ChatGPT-Prompts/prompts/coding/xcode_mcp_for_pi_agent_1463.md

20 lines
860 B
Markdown
Raw Permalink Normal View History

---
title: "xcode-mcp (for pi agent)"
contributor: "@ilkerulusoy"
tags: #coding, #ilkerulusoy
---
---
name: xcode-mcp-for-pi-agent
description: Guidelines for efficient Xcode MCP tool usage via mcporter CLI. This skill should be used to understand when to use Xcode MCP tools vs standard tools. Xcode MCP consumes many tokens - use only for build, test, simulator, preview, and SourceKit diagnostics. Never use for file read/write/grep operations. Use this skill whenever working with Xcode projects, iOS/macOS builds, SwiftUI previews, or Apple platform development.
---
# Xcode MCP Usage Guidelines
Xcode MCP tools are accessed via `mcporter` CLI, which bridges MCP servers to standard command-line tools. This skill defines when to use Xcode MCP and when to prefer standard tools.
## Setup
Xcode MCP must be configured in `~/.mcporter/mcporter.json`: