xcodeproj-mcp-server

xcodeproj-mcp-server

3.5

If you are the rightful owner of xcodeproj-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for manipulating Xcode project files (.xcodeproj) using Swift.

xcodeproj-mcp-server is an MCP server that provides tools for programmatically manipulating Xcode project files. It leverages the tuist/xcodeproj library for reliable project file manipulation and implements the Model Context Protocol using the swift-sdk. This server enables AI assistants and other MCP clients to create new Xcode projects, manage targets, files, and build configurations, modify build settings, add dependencies and frameworks, and automate common Xcode project tasks. It is particularly useful for developers looking to automate project setup, streamline development workflows, and manage project configurations without manually navigating through Xcode. The server supports a range of operations from project creation to file and target management, making it a versatile tool for macOS developers.

Features

  • Create new Xcode projects with custom configurations and settings.
  • Automate the addition of files, build phases, and dependencies.
  • Manage project configurations, including Info.plist and build settings.
  • Support for Docker-based deployment and execution.
  • Path security to restrict file operations within a specified directory.

Tools

  1. create_xcodeproj

    Create a new Xcode project.

  2. list_targets

    List all targets in a project.

  3. add_file

    Add a file to the project.

  4. add_target

    Create a new target.

  5. add_swift_package

    Add a Swift Package dependency to the project.