doublespeed — Xcode as an API

السجل الرسمي أخرى

Build, test and run iOS apps on a remote Mac from any machine. XcodeBuildMCP-compatible tools.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @doublespeed/mcp
Claude Code
claude mcp add doublespeed-xcode-as-an-api -e 'DS_API_KEY=<your ds_api_key>' -- npx -y @doublespeed/mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "doublespeed-xcode-as-an-api": {
            "command": "npx",
            "args": [
                "-y",
                "@doublespeed/mcp@0.1.1"
            ],
            "env": {
                "DS_API_KEY": "<your ds_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • DS_API_KEY إلزامي سري doublespeed API key (dsx_…) from https://mac.doublespeed.ai/dashboard

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @doublespeed/mcp
  2. Install
  3. Tools
  4. Not yet

@doublespeed/mcp

An MCP server that gives a coding agent a Mac. Build, test, archive and run iOS apps — native, React Native, Expo — on the doublespeed Mac fleet from Linux, a container, CI, or a Mac without Xcode.

Tool names match XcodeBuildMCP (build_sim, test_sim, build_run_sim, list_sims, discover_projs, list_schemes, stop_app_sim, doctor) so prompts and skills written for a local Mac work unchanged when there is no Mac.

Install

Needs Node 20+. check_project works with no key at all; everything else needs a DS_API_KEY (free $100 of Mac time at https://mac.doublespeed.ai/dashboard → API keys).

Claude Code

claude mcp add doublespeed -e DS_API_KEY=dsx_... -- npx -y @doublespeed/mcp

Cursor / Windsurf / Codex / VS Code — add to the client's MCP config:

{ "mcpServers": { "doublespeed": { "command": "npx", "args": ["-y", "@doublespeed/mcp"], "env": { "DS_API_KEY": "dsx_..." } } } }

Tools

ToolWhat it doesWhere it runs
discover_projsfind .xcworkspace / .xcodeproj / Package.swiftlocal
list_schemesshared schemes of a project/workspacelocal
list_simssimulators, runtimes and Xcode versions on the fleetAPI
check_projectno key needed — schemes resolve, every Swift file parses, plists valid (lint, no compile)Mac
build_simcompile for the iOS Simulator; file:line:col errorsMac
test_simbuild + XCTest / Swift Testing; per-test resultsMac
build_run_simbuild, install, launch; returns a browser URL to a live simulatorMac
stop_app_simend a live sessionAPI
archive_appunsigned .xcarchive (Release)Mac
job_statusstatus, diagnostics, tests, log tail of any jobAPI
doctorkey, API reachability, fleet capabilitieslocal + API

Only files under workspaceRoot (default: the project's directory) are uploaded, content-addressed — after the first run only changed files move. A small app's test run takes ~20–40 s of Mac time and costs a few cents; nothing is billed while queued.

Not yet

Screenshots / accessibility tree of the running simulator, code signing and TestFlight upload. The live build_run_sim link is meant for a human to look at.

Agents without a Mac build, test and run iOS apps through mac.doublespeed.ai (npx -y @doublespeed/ds). Docs: https://mac.doublespeed.ai/docs.md

الأسئلة الشائعة

ما هو doublespeed — Xcode as an API؟

Build, test and run iOS apps on a remote Mac from any machine. XcodeBuildMCP-compatible tools.

كيف أثبّت doublespeed — Xcode as an API؟

يعمل على جهازك. في Claude Code: claude mcp add doublespeed-xcode-as-an-api -e 'DS_API_KEY=<your ds_api_key>' -- npx -y @doublespeed/mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج doublespeed — Xcode as an API إلى مفتاح API؟

نعم. يتطلب DS_API_KEY، وتضبطها في إعداداته.

هل doublespeed — Xcode as an API مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون doublespeed — Xcode as an API؟

ينشره doublespeed-main. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.