Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 💻 Developer Tools
  3. Xcode MCP Server
Xcode MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 5:31:03 PM

Xcode MCP Server

User RatingsBe the first to rate and review this MCP server!
View Repository383 GitHub StarsTotal stargazers on GitHub for the source repository (383 stars).Visit Website
xcodeiosmacosdeveloper-toolssimulator

MCP server enabling AI agents to manage Xcode projects, simulators, builds, tests, and dependencies on macOS.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON â–¾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for r-huijts/xcode-mcp-server, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives💻 More in Developer Tools

Overview

This MCP server provides AI assistants with comprehensive integration for Xcode on macOS, allowing management of projects, file operations, builds, testing, and simulator control. It supports multiple project types and includes CocoaPods and Swift Package Manager integration. Use it to automate and query Xcode workflows, manage iOS simulators, and handle build and archive tasks programmatically.

Use cases

•Manage and query Xcode projects and workspaces
•Automate build, test, and archive processes
•Control iOS simulators including app installation and screenshots
•Handle CocoaPods and Swift Package Manager dependencies
•Perform file operations within Xcode project directories

Key features

•Create and modify Xcode projects and schemes
•Read/write files with encoding and binary support
•Build, test, analyze, clean, and archive Xcode projects
•Initialize and manage CocoaPods and Swift packages
•List, boot, shut down, and interact with iOS simulators
•Switch between Xcode versions and run xcrun commands

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Xcode MCP Server.

Extracted Tool Capabilities
Create and modify Xcode projects and schemes
Read/write files with encoding and binary support
Build, test, analyze, clean, and archive Xcode projects
Initialize and manage CocoaPods and Swift packages
List, boot, shut down, and interact with iOS simulators
Switch between Xcode versions and run xcrun commands

Documentation Overview

MseeP.ai Security Assessment Badge

Xcode MCP Server

An MCP (Model Context Protocol) server providing comprehensive Xcode integration for AI assistants. This server enables AI agents to interact with Xcode projects, manage iOS simulators, and perform various Xcode-related tasks with enhanced error handling and support for multiple project types.

Features

Project Management

  • Set active projects and get detailed project information
  • Create new Xcode projects from templates (iOS, macOS, watchOS, tvOS)
  • Add files to Xcode projects with target and group specification
  • Parse workspace documents to find associated projects
  • List available schemes in projects and workspaces

File Operations

  • Read/write files with support for different encodings
  • Handle binary files with base64 encoding/decoding
  • Search for text content within files using patterns and regex
  • Check file existence and get file metadata
  • Create directory structures automatically

Build & Testing

  • Build projects with customizable options
  • Run tests with detailed failure reporting
  • Analyze code for potential issues
  • Clean build directories
  • Archive projects for distribution

CocoaPods Integration

  • Initialize CocoaPods in projects
  • Install and update pods
  • Add and remove pod dependencies
  • Execute arbitrary pod commands

Swift Package Manager

  • Initialize new Swift packages
  • Add and remove package dependencies with various version requirements
  • Update packages and resolve dependencies
  • Generate documentation for Swift packages using DocC
  • Run tests and build Swift packages

iOS Simulator Tools

  • List available simulators with detailed information
  • Boot and shut down simulators
  • Install and launch apps on simulators
  • Take screenshots and record videos
  • Manage simulator settings and state

Xcode Utilities

  • Execute Xcode commands via xcrun
  • Compile asset catalogs
  • Generate app icon sets from source images
  • Trace app performance
  • Export and validate archives for App Store submission
  • Switch between different Xcode versions

Installation

Prerequisites

  • macOS with Xcode 14.0 or higher installed
  • Node.js 16 or higher
  • npm or yarn
  • Swift 5.5+ for Swift Package Manager features
  • CocoaPods (optional, for CocoaPods integration)

Setup

Option 1: Automated Setup (Recommended)

Use the included setup script which automates the installation and configuration process:

bash
# Make the script executable
chmod +x setup.sh

# Run the setup script
./setup.sh

What the Setup Script Does:

  1. Environment Verification:

    • Checks that you're running on macOS
    • Verifies Xcode is installed and accessible
    • Confirms Node.js (v16+) and npm are available
    • Checks for Ruby installation
    • Verifies CocoaPods installation (offers to install if missing)
  2. Dependency Installation:

    • Runs npm install to install all required Node.js packages
    • Executes npm run build to compile the TypeScript code
  3. Configuration Setup:

    • Creates a .env file if one doesn't exist
    • Prompts for your projects base directory
    • Asks if you want to enable debug logging
    • Saves your configuration preferences
  4. Claude Desktop Integration (Optional):

    • Offers to configure the server for Claude Desktop
    • Creates or updates the Claude Desktop configuration file
    • Sets up the proper command and arguments to launch the server

When to Use the Setup Script:

  • First-time installation to ensure all prerequisites are met
  • When you want guided configuration with interactive prompts
  • If you want to quickly set up Claude Desktop integration
  • To verify your environment has all necessary components

The script will guide you through the configuration process with clear prompts and helpful feedback.

Option 2: Manual Setup

When to Use Manual Setup:

  • You prefer explicit control over each installation step
  • You have a custom environment or non-standard configuration
  • You're setting up in a CI/CD pipeline or automated environment
  • You want to customize specific aspects of the installation process
  • You're an experienced developer familiar with Node.js projects

Follow these steps for manual installation:

  1. Clone the repository:

    bash
    git clone https://github.com/r-huijts/xcode-mcp-server.git
    cd xcode-mcp-server
    
  2. Verify prerequisites (these must be installed):

    • Xcode and Xcode Command Line Tools
    • Node.js v16 or higher
    • npm
    • Ruby (for CocoaPods support)
    • CocoaPods (optional, for pod-related features)
  3. Install dependencies:

    Terminal
    npm install
    
  4. Build the project:

    Terminal
    npm run build
    
  5. Create a configuration file:

    bash
    # Option A: Start with the example configuration
    cp .env.example .env
    
    # Option B: Create a minimal configuration
    echo "PROJECTS_BASE_DIR=/path/to/your/projects" > .env
    echo "DEBUG=false" >> .env
    

    Edit the .env file to set your preferred configuration.

  6. For Claude Desktop integration (optional):

    • Edit or create ~/Library/Application Support/Claude/claude_desktop_config.json
    • Add the following configuration (adjust paths as needed):
    config.json
    {
      "mcpServers": {
        "xcode": {
          "command": "node",
          "args": ["/path/to/xcode-mcp-server/dist/index.js"]
        }
      }
    }
    

Setup Troubleshooting

Common Setup Issues:

  1. Build Errors:

    • Ensure you have the correct Node.js version (v16+)
    • Try deleting node_modules and running npm install again
    • Check for TypeScript errors with npx tsc --noEmit
    • Make sure all imports in the code are properly resolved
  2. Missing Dependencies:

    • If you see errors about missing modules, run npm install again
    • For native dependencies, you may need Xcode Command Line Tools: xcode-select --install
  3. Permission Issues:

    • Ensure you have write permissions to the installation directory
    • For CocoaPods installation, you may need to use sudo gem install cocoapods
  4. Configuration Problems:

    • Verify your .env file has the correct format and valid paths
    • Make sure PROJECTS_BASE_DIR points to an existing directory
    • Check that the path doesn't contain special characters that need escaping
  5. Claude Desktop Integration:

    • Ensure the path in the Claude configuration points to the correct location of index.js
    • Restart Claude Desktop after making configuration changes
    • Check that the server is running before attempting to use it with Claude

Usage

Starting the Server

Terminal
npm start

For development mode with automatic restarts:

Terminal
npm run dev

Configuration Options

You can configure the server in two ways:

  1. Environment variables in .env file:

    Code
    PROJECTS_BASE_DIR=/path/to/your/projects
    DEBUG=true
    ALLOWED_PATHS=/path/to/additional/allowed/directory
    PORT=8080
    
  2. Command line arguments:

    Terminal
    npm start -- --projects-dir=/path/to/your/projects --port=8080
    

Key Configuration Parameters

  • PROJECTS_BASE_DIR / --projects-dir: Base directory for projects (required)
  • ALLOWED_PATHS / --allowed-paths: Additional directories to allow access to (comma-separated)
  • PORT / --port: Port to run the server on (default: 3000)
  • DEBUG / --debug: Enable debug logging (default: false)
  • LOG_LEVEL / --log-level: Set logging level (default: info)

Connecting to AI Assistants

The server implements the Model Context Protocol (MCP), making it compatible with various AI assistants that support this protocol. To connect:

  1. Start the Xcode MCP server
  2. Configure your AI assistant to use the server URL (typically http://localhost:3000)
  3. The AI assistant will now have access to all the Xcode tools provided by the server

Tool Documentation

For a comprehensive overview of all available tools and their usage, see Tools Overview.

For detailed usage examples and best practices, see User Guide.

Common Workflows

Setting Up a New Project

javascript
// Create a new iOS app project
await tools.create_xcode_project({
  name: "MyAwesomeApp",
  template: "ios-app",
  outputDirectory: "~/Projects",
  organizationName: "My Organization",
  organizationIdentifier: "com.myorganization",
  language: "swift",
  includeTests: true,
  setAsActive: true
});

// Add a Swift Package dependency
await tools.add_swift_package({
  url: "https://github.com/Alamofire/Alamofire.git",
  version: "from: 5.0.0"
});

Working with Files

server.ts
// Read a file with specific encoding
const fileContent = await tools.read_file({
  filePath: "MyAwesomeApp/AppDelegate.swift",
  encoding: "utf-8"
});

// Write to a file
await tools.write_file({
  path: "MyAwesomeApp/NewFile.swift",
  content: "import Foundation\n\nclass NewClass {}\n",
  createIfMissing: true
});

// Search for text in files
const searchResults = await tools.search_in_files({
  directory: "MyAwesomeApp",
  pattern: "*.swift",
  searchText: "class",
  isRegex: false
});

Building and Testing

javascript
// Build the project
await tools.build_project({
  scheme: "MyAwesomeApp",
  configuration: "Debug"
});

// Run tests
await tools.test_project({
  scheme: "MyAwesomeApp",
  testPlan: "MyAwesomeAppTests"
});

Project Structure

Read the full README →View source on GitHub →

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    💻 Developer Tools8 views
    Compare vs Claude Task Master →
  • Vynix logoVynix

    Give AI coding agents access to your Vynix visual feedback, bug reports, and AI diagnosis.

    💻 Developer Tools3 views
    Compare vs Vynix →
  • SaC — Software as Content logoSaC — Software as Content

    Give your AI agent the ability to respond with live, interactive apps that evolve.

    💻 Developer Tools3 views
    Compare vs SaC — Software as Content →
  • Faf MCP logoFaf MCP

    Universal persistent project context for Cursor, Windsurf, Cline, VS Code, and all MCP-compatible platforms (including Claude Desktop). IANA-registered format (application/vnd.faf+yaml). 17 native tools, AI-readiness scoring.

    💻 Developer Tools3 views
    Compare vs Faf MCP →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
383
Stargazers on the source repository.
Last commit
7mo ago
Most recent push to the default branch.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Xcode MCP Server

It requires macOS with Xcode 14.0 or higher installed.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXcode MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/r-huijts-xcode-mcp-server?style=directory)](https://allmcps.com/mcp/r-huijts-xcode-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/r-huijts-xcode-mcp-server"><img src="https://allmcps.com/api/badge/r-huijts-xcode-mcp-server?style=directory" alt="Xcode MCP Server on AllMCPs" /></a>

Technical Specs & Signals

Category💻Developer Tools
PricingFree
More technical detailsExpand â–¾
AuthNo auth required
ClientsClaude Desktop
Last updatedAug 9, 2026
10/11 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars383
GitHub Star CountTotal stargazers on GitHub representing community popularity (383 stars).
Last commit7mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Feb 2, 2026
36Quality signal: Fair · 36/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools12/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 💻 Developer Tools →Best MCP servers for Developers →Alternatives to Xcode MCP Server →Install in Claude DesktopInstall in CursorInstall in VS Code