MCP.so
登录

XcodeBuildMCP

@cameroncooke

关于 XcodeBuildMCP

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

cameroncooke

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "XcodeBuildMCP": {
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "init"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is XcodeBuildMCP?

XcodeBuildMCP is a Model Context Protocol (MCP) server and CLI that provides tools for AI coding agents working on iOS and macOS projects.

How to use XcodeBuildMCP?

Install via Homebrew (brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp) or npm (npm install -g xcodebuildmcp@latest). Start the MCP server with xcodebuildmcp mcp for integration with MCP clients like Cursor or Claude Code, or use CLI commands such as xcodebuildmcp tools and xcodebuildmcp simulator build --scheme MyApp directly.

Key features of XcodeBuildMCP

  • MCP server for AI coding agent integration
  • CLI for direct terminal use in iOS/macOS builds
  • Optional agent skills (MCP and CLI) to prime agents
  • Automatic skip of Swift Macro validation to reduce errors
  • Per‑workspace daemon for stateful operations (log capture, debugging)
  • Device tools requiring Xcode code signing configuration

Use cases of XcodeBuildMCP

  • Build and test iOS/macOS projects from within an AI coding agent
  • Automate simulator builds using CLI commands without Xcode GUI
  • Manage build operations and troubleshooting with agent assistance
  • Integrate with MCP‑compatible IDEs for streamlined development

FAQ from XcodeBuildMCP

What are the system requirements?

macOS 14.5 or later, Xcode 16.x or later, and Node.js 18.x or later (Node.js not required when installing via Homebrew).

How can I install XcodeBuildMCP?

Two methods: Homebrew (brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp) or npm global install (npm install -g xcodebuildmcp@latest). You can also run it on demand with npx -y xcodebuildmcp@latest mcp.

How does XcodeBuildMCP handle Swift Macros?

It requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.

Do I need code signing for device builds?

Yes, device tools require code signing to be configured in Xcode. See the official documentation for details.

What telemetry does XcodeBuildMCP collect?

It uses Sentry for internal runtime error telemetry only. Opt‑out instructions are available in the Privacy & Telemetry documentation.

评论

其他 分类下的更多 MCP 服务器