doublespeed — Xcode as an API

ai.doublespeed由 doublespeed.ai 发布v0.1.1更新于 Oct 24, 2026

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

概览

AI 生成的概览

为编码助手提供一台远程 Mac,用兼容 XcodeBuildMCP 的工具构建、测试、归档并运行 iOS 应用(原生、React Native、Expo)。

可以做什么
  • 在本地发现项目并列出共享 scheme
  • 列出远程 Mac 机群上的模拟器、运行时与 Xcode 版本
  • 无需密钥即可检查项目:scheme 解析、Swift 文件解析、plist 校验
  • 为 iOS 模拟器编译,并运行 XCTest / Swift Testing 并返回逐项测试结果
  • 构建、安装并启动应用,返回可在浏览器查看的实时模拟器链接,并可结束会话
  • 归档 Release 构建,查询任务状态、诊断信息与日志尾部
适用场景
当助手需要构建、测试或运行 iOS 应用,但所在机器没有 Mac 或未安装 Xcode 时使用,例如 Linux、容器、CI 或没有 Xcode 的 Mac。工具名与 XcodeBuildMCP 一致,已有提示词和技能可直接沿用。
运行要求
需要 Node 20+,通过 npx 以本地 stdio 进程运行。除 check_project 外都需要 DS_API_KEY(dsx_…),密钥在服务商控制台获取。需要能访问服务商 API 与 Mac 机群的网络。仅支持桌面端。
安装前请注意
workspaceRoot(默认为项目目录)下的文件会被上传到远程服务,请勿把密钥放在该目录。Mac 机时按量计费,小型测试运行约需几美分,注册后有免费额度。构建、测试与归档在远程执行并创建任务;实时模拟器链接仅供人工查看。

安装

在 SourceWeft 中

  1. 打开 控制台中的 doublespeed — Xcode as an API,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@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

bash
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:

json
{ "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

来源:README.md,提交 6d18d1b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。