Ios MCP Code Quality Server logo

Ios MCP Code Quality Server

by a-25

Runs Xcode tests and SwiftLint checks through CLI commands or an MCP server with structured failure and quality reports.

Install Ios MCP Code Quality Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "a-25-ios-mcp-code-quality-server": {
      "command": "npx",
      "args": [
        "-y",
        "ios-mcp-code-quality-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio a-25-ios-mcp-code-quality-server -- npx -y ios-mcp-code-quality-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y ios-mcp-code-quality-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

a-25/ios-mcp-code-quality-server connects AI assistants and command-line workflows to iOS projects for Xcode test execution and SwiftLint analysis. It accepts an Xcode workspace or project, runs tests with a selected scheme, and returns structured results with failure and build-error details. Linting targets specified Swift files and can use a custom SwiftLint configuration. Reach for it when an agent or CI workflow needs local iOS test and code-quality feedback.

Use cases

  • Run Xcode tests for a selected scheme
  • Lint changed Swift files with SwiftLint
  • Inspect test and build failures through an AI assistant
  • Export test or lint results as JSON for CI
  • Debug local iOS quality checks with verbose logs

Key features

  • Xcode project and workspace test execution
  • SwiftLint analysis for selected files
  • Detailed test and build failure analysis
  • CLI and MCP server modes
  • JSON output for automation
  • Configurable port and log level

Tools1

What Ios MCP Code Quality Server lets your agent do. Expand a tool for its parameters.

Self-reported~24 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 118d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · ios-mcp-code-quality-server (npm)

Adoption & maintenance

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

GitHub stars12Stargazers on the source repository.
npm downloads109Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed1Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Ios MCP Code Quality Server works

What a-25/ios-mcp-code-quality-server does

a-25/ios-mcp-code-quality-server provides iOS test execution and Swift code-quality analysis in two modes: a command-line interface and a Model Context Protocol server. It works with Xcode projects and workspaces, invokes Xcode tests for a selected scheme, and analyzes test or build failures to produce actionable reports. Its linting workflow uses SwiftLint against a supplied list of Swift files, with optional support for a project-specific SwiftLint configuration.

The server is intended for local developer workflows, automated checks, and AI-assisted debugging. Analysis runs on the machine hosting the project and its required Apple development tools.

How it works

The executable selects its mode based on how it is started. Supplying CLI arguments invokes commands such as test or lint; starting it without arguments launches MCP server mode. An explicit server command can also start the MCP endpoint.

Test runs require either an .xcworkspace or .xcodeproj path, along with a scheme. A destination can be supplied for simulator or device execution. Results can be emitted as human-readable output or JSON, and verbose logging is available for troubleshooting. Lint runs receive a comma-separated file list and may receive a SwiftLint configuration path.

In MCP mode, the process listens on a local HTTP endpoint, using port 3000 by default. AI clients send MCP requests to that endpoint and receive structured responses suitable for contextual analysis.

Setup and configuration

The runtime requires Node.js 18 or newer. Xcode is needed for project building and testing, and an iOS Simulator or physical iOS device is needed to run tests. SwiftLint is optional and is used for lint analysis.

The package can be run directly with npx, installed globally with npm, or built from a repository checkout. A source setup consists of installing npm dependencies, running the build script, and starting the generated server entry point.

Server configuration is controlled through environment variables. PORT changes the listening port, NODE_ENV selects the environment mode, and LOG_LEVEL controls logging verbosity. The server command also accepts a port option, which can be used instead of the default port.

Example MCP endpoint configuration:

config.json
{
  "mcpServers": {
    "ios-code-quality": {
      "url": "http://localhost:3000",
      "timeout": 30000
    }
  }
}

Tools and capabilities

  • Execute Xcode tests for a selected scheme.
  • Accept either an Xcode workspace or project as the test target.
  • Select a test destination, including an iOS Simulator destination.
  • Analyze test failures and Xcode build errors.
  • Run SwiftLint against explicitly selected Swift files.
  • Load a custom SwiftLint configuration file.
  • Return JSON output for scripts and CI workflows.
  • Provide verbose logs for debugging command execution.

Limitations and notes

The test workflow requires at least one of xcodeproj or xcworkspace; a scheme is also required. Xcode and an available simulator or device are prerequisites for executing tests. SwiftLint analysis depends on SwiftLint being installed. The MCP server is configured as a local HTTP service and defaults to port 3000, so clients must be able to reach that endpoint.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Ios MCP Code Quality Server

a-25/ios-mcp-code-quality-server is an MCP server that connects AI assistants to local iOS Xcode projects and workspaces. Its main tools run Xcode tests, analyze test and build failures, and invoke SwiftLint on selected Swift files, returning structured results for debugging, review, and automation.

Run it with `npx ios-mcp-code-quality-server` for direct use, or clone the repository, run `npm install`, build with `npm run build`, and start it with `npm start`. Node.js 18 or newer is required.

Run the `test` command with either `--xcworkspace` or `--xcodeproj`, plus a required `--scheme` value. You can also provide a test destination, request JSON output with `--json`, or enable diagnostic logging with `--verbose`.

Use the `lint` command with the required `--changed-files` option containing a comma-separated file list. Add `--config-path` to select a SwiftLint configuration, or use `--json` when another tool needs machine-readable results.

It can be connected from an MCP-compatible AI assistant through its local HTTP endpoint. Start the server, typically at `http://localhost:3000`, and configure the client with that URL.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

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 PreviewIos MCP Code Quality Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/a-25-ios-mcp-code-quality-server?style=directory)](https://allmcps.com/mcp/a-25-ios-mcp-code-quality-server)
HTML Embed
<a href="https://allmcps.com/mcp/a-25-ios-mcp-code-quality-server"><img src="https://allmcps.com/api/badge/a-25-ios-mcp-code-quality-server?style=directory" alt="Ios MCP Code Quality Server on AllMCPs" /></a>