
SilbercueSwift
io.github.silbercue由 GitHub 账号 silbercue 发布v0.2.0更新于 Oct 24, 2026
Fastest iOS MCP server. 40 tools: xcresult parsing, WDA automation, 0.3s screenshots.
概览
本地 macOS MCP 服务器,让 AI 助手构建、测试并操作 iOS 模拟器应用,提供结构化 xcresult 结果与 UI 自动化。
- 可以做什么
- 构建与运行:为模拟器构建、一次调用完成构建并运行、清理、查找工程文件、列出 scheme。
- 测试与诊断:运行测试、获取带文件行号和截图的失败信息、查看按文件统计的覆盖率、诊断构建错误。
- 模拟器管理:列出、启动、关闭、克隆、抹除、删除模拟器,安装、启动、终止应用,旋转屏幕,查看状态。
- UI 自动化:查找元素、点击、输入、滑动、缩放、拖放、导航、处理弹窗、读取视图层级、执行多步计划。
- 采集与排查:截图、带主题过滤和正则等待的 os_log 日志采集、应用控制台输出。
- 质量检查与 Git:视觉基线对比、多设备检查、无障碍与本地化检查,以及 Git 状态、差异、日志、提交和分支操作。
- 适用场景
- 适合在 Mac 上开发 iOS 应用时使用:助手需要构建应用、运行测试、读取结构化失败信息,或直接操作模拟器界面,而不必解析原始 xcodebuild 输出。仅适用于 iOS 项目,不覆盖 Android、watchOS、tvOS 或 visionOS。
- 运行要求
- 作为本地进程运行,需要 macOS 13+ 与 Xcode 15+(用于 xcresulttool 和 simctl);仅从源码构建时需要 Swift 6.0+。UI 自动化工具需要在模拟器上安装 WebDriverAgent。可通过 Homebrew 或打包文件安装,配置时需填写二进制完整路径。未声明环境变量或认证方式。
安装
在 SourceWeft 中
- 打开 控制台中的 SilbercueSwift,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
SilbercueSwift
[GitHub Release] [Free — 49 tools] [Pro available] [License: MIT] [MCP Registry] [Platform] [Swift 6.0] [SilbercueSwift MCP server]
[Capabilities covered, of 19 compared: SilbercueSwift 18, XcodeBuildMCP 6, Appium-MCP 4, iosef 1]The fastest, most complete MCP server for iOS development. One Swift binary, 58 tools, zero dependencies. SilbercueSwift has the most complete toolset of any alternative out there.
Built for Claude Code, Cursor, and any MCP-compatible AI agent.
Looking for an alternative to existing iOS MCP servers? SilbercueSwift covers the full feature set of XcodeBuildMCP, Appium-MCP, and iosef in a single binary — plus xcresult parsing, UI automation, code coverage, and up to 75x faster screenshots. See comparison below.
Why SilbercueSwift?
Every iOS MCP server has the same problem: raw xcodebuild output is useless for AI agents. 500 lines of build log, stderr noise mistaken for errors, no structured test results. Agents waste minutes parsing what a human sees in seconds.
SilbercueSwift fixes this. It parses .xcresult bundles — the same structured data Xcode uses internally — and returns exactly what the agent needs: pass/fail counts, failure messages with file:line, code coverage per file, and failure screenshots.
Where SilbercueSwift really shines
[killer feat] Screenshots up to 75x faster — ~316ms ([图片] ~15ms)
Free tier screenshots (~316ms) are faster than XcodeBuildMCP (~1127ms) and most alternatives. Pro brings latency down to ~15ms — 5x faster than Appium, 75x faster than XcodeBuildMCP. Agents can take screenshots freely without penalty at either tier.
[killer feat] Structured test results from xcresult bundles — zero guesswork on failures
When a test fails, the agent gets the error message, the exact file:line, a screenshot of the failure state, and optionally the console output — all parsed from Apple's .xcresult format. No guessing from 500 lines of xcodebuild stderr. This is the difference between "agent knows what broke" and "agent guesses what broke".
[killer feat] Single binary, zero dependencies — 58 tools, install in 10 seconds
brew install silbercue/silbercue/silbercueswift — done. 8.5MB native Swift binary. No Node.js, no npm, no Appium server, no Python, no Java, no Rust toolchain. Cold start in ~50ms. The fastest way to get an iOS MCP server running.
[killer feat] Agent reads only what matters — 90% fewer tokens, zero wasted calls (topic filtering [图片])
Free tier already strips noise: 15 known noise processes are excluded at capture time, and duplicate lines are collapsed (79% I/O reduction). Pro adds topic filtering — read_logs categorizes lines into 8 topics and shows only app + crashes by default, with a menu: network(87) lifecycle(12) springboard(8). The agent opens specific topics in one call — no guessing, no iteration.
[strong] One call to dismiss all permission dialogs — 3 alerts in 1 roundtrip [图片]
Every app shows 2–3 permission dialogs on first launch. Other servers require the agent to screenshot → find button → click, per dialog. handle_alert(action: "accept_all") clears them all in a single call, searching across SpringBoard, ContactsUI, and the active app. Free tier handles alerts individually with accept / dismiss.
[strong] Drag & drop with element IDs — 1 call instead of 3 [图片]
"Drag item A above item B" is a single call: drag_and_drop(source_element: "el-0", target_element: "el-1"). The competition only supports raw coordinates, forcing the agent to find both elements, extract their frames, and build a W3C Actions sequence — 3 calls minimum.
[strong] Auto-scroll to off-screen elements — no more manual swipe loops [图片]
find_element(using: "accessibility id", value: "Save", scroll: true) scrolls automatically until the element appears. SmartScroll handles UIKit, SwiftUI, and lazy-loaded lists — no guessing scroll direction.
[strong] View hierarchy in ~31ms (Free) / ~5ms (Pro) — up to 188x faster element inspection
get_source returns the full UI tree in ~31ms (Free) or ~5ms (Pro). The fastest competitor takes 44ms, most take 250ms+. This makes element inspection practically free for agents.
[killer feat] Navigate in one call — find + tap + settle + screenshot in ~380ms
navigate(to: "Settings") finds the element, taps it, waits for the screen to settle, and returns a verification screenshot — all in a single call. No competitor offers this. Agents save 3-4 tool calls per navigation step.
[strong] Batch UI automation — run_plan executes multi-step plans with adaptive decisions
run_plan takes a sequence of UI steps and executes them server-side. When a step needs a decision (unexpected dialog, element not found), it falls back through 4 tiers — from MCP sampling to pause & resume. No more "one tool call per tap" overhead.
Quick Start
Install via Homebrew
Or build from source
Configure in Claude Code
One command — installs globally for all projects:
Note: Use the full path (
/opt/homebrew/bin/SilbercueSwift). Claude Code starts MCP servers without a full shell PATH, so bare command names won't be found.
Configure in Cursor
Add to ~/.cursor/mcp.json:
Configure in other MCP clients (Cline, Continue, etc.)
Any client that supports stdio MCP servers: point to /opt/homebrew/bin/SilbercueSwift with no arguments.
Uninstall
Free vs Pro
SilbercueSwift ships 49 tools for free — build, test, simulate, automate UI, capture logs, and take screenshots. No time limit, no signup.
Pro adds 9 tools and faster internals for teams and power users who need the full picture.
Pro costs 12 EUR/month. Get a license on Polar.sh, then:
58 Tools in 14 Categories
Build (5 tools)
Testing & Diagnostics (4 tools)
Simulator (12 tools)
UI Automation (16 tools)
Native input for gestures, WDA for element queries and alerts — no Appium, no Node.js, no Python.
handle_alert — the smartest alert handler
3-tier alert search — finds alerts across:
- Springboard — system permission dialogs (Location, Camera, Tracking)
- ContactsUI — iOS 18+ Contacts "Limited Access" dialog (separate process)
- Active app — in-app
UIAlertControllerdialogs
Smart defaults — knows which button to tap:
- Accept: "Allow" → "Allow While Using App" → "OK" → "Continue" → last button
- Dismiss: "Don't Allow" (handles Unicode U+2019) → "Cancel" → "Not Now" → first button
Batch mode — accept_all / dismiss_all loops through multiple sequential alerts server-side. One HTTP roundtrip instead of N. Returns details of every handled alert.
These capabilities go beyond what other iOS MCP servers currently offer.
Screenshots (1 tool)
Logs (4 tools)
Smart Log Filtering — 4 layers, zero config
4 filter layers:
- Stream-side noise exclusion — 15 known noise processes + subsystem/category exclusions removed before buffering. Server-side filtering in
logd— 79% I/O reduction. - 3 capture modes —
smart(default, broad stream for topic filtering),app(tight, auto-detected bundle ID + process name),verbose(unfiltered). - Read-time topic filtering —
read_logscategorizes every buffered line into 8 topics (app, crashes, network, lifecycle, springboard, widgets, background, system). Default shows only app + crashes. Agent adds topics as needed — stateless per call. - Buffer deduplication — 60 identical heartbeat lines become 2: the line itself +
... repeated 59x.
8 topics with LLM-optimized menu:
Console (3 tools)
Git (5 tools)
Visual Regression (2 tools)
Multi-Device (1 tool)
Accessibility (1 tool) [图片]
Localization (1 tool) [图片]
Automation (2 tools)
Session (1 tool)
xcresult Parsing — The Killer Feature
The Problem
Every Xcode MCP server returns raw xcodebuild output. For a test run, that's 500+ lines of noise. AI agents can't reliably extract which tests failed and why.
The Solution
SilbercueSwift uses xcresulttool to parse the .xcresult bundle — the same structured data Xcode's Test Navigator uses.
The agent gets:
- Pass/fail counts — immediate overview
- Failure messages with file:line — actionable
- Failure screenshots — visual context (Claude is multimodal)
- xcresult path — reusable for
test_failuresortest_coverage
Deep Failure Analysis
Code Coverage
Benchmarks
Measured on M3 MacBook Pro, iOS 26.4 Simulator. All values are median of 5 runs after 2 warmups.
Comparison with other MCP servers
See feature comparison table above for a detailed breakdown vs XcodeBuildMCP, Appium-MCP, and iosef. All three are excellent projects that pioneered iOS MCP tooling. SilbercueSwift combines all their feature sets with deeper integration into a single native binary. The only trade-off: SilbercueSwift is iOS-only (no Android, watchOS, tvOS, or visionOS).
Architecture
No Node.js. No Python. No Appium server. No Selenium. One binary.
Requirements
- macOS 13+
- Xcode 15+ (for
xcresulttoolandsimctl) - Swift 6.0+ (for building from source)
- WebDriverAgent installed on simulator (for UI automation tools)
License
The core binary and all 49 free tools are MIT licensed — see LICENSE. Use them however you want, commercially or otherwise.
Pro tools (9 additional tools + faster internals) require a paid license. The license validation code (LicenseManager.swift) is included in the source for transparency — you can see exactly what it checks and when.
Contributing
Issues and pull requests welcome. See CONTRIBUTING.md for guidelines.
Privacy
SilbercueSwift runs entirely on your Mac and collects no user data. See PRIVACY.md for details.
Automating a browser too? Public Browser is the same idea for Chrome.
来源:README.md,提交 b6ceba4
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分