Pepper
by skwallace36·★ 88·综合分 48
Pepper 是一个 iOS 动态库 MCP 服务器,让 AI 代理在 iOS 模拟器应用中拥有视觉和交互能力。
概述
Pepper 通过 macOS 动态链接器将共享库注入到正在运行的 iOS 模拟器应用中,无需源代码修改、SDK 或构建步骤。它提供 60 多种工具,让 AI 代理能够将屏幕视为结构化数据、点击按钮、检查实时对象、拦截网络调用、读取堆内存并调试布局问题。在进程内运行,可完全访问视图层次结构、ObjC 运行时、实时对象图和 HID 事件系统。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要在模拟器中对 iOS 应用进行 AI 驱动的测试和调试,而不修改源代码或添加 SDK 依赖时,选择 Pepper。
什么时候不要选它
如果您需要在物理设备上测试,与禁止插桩的闭源应用合作,或需要跨平台移动自动化,请不要选择 Pepper。
此 server 暴露的工具
从 README 抽取出 12 个工具lookInspect the current screen structure and interactive elements
tapTap on a UI element identified by text or other attributes
inspect_networkExamine network requests and responses
inspect_heapInspect live objects in the app's memory
debug_layoutDebug layout issues and view hierarchy problems
profile_performanceProfile performance issues like scrolling hitching
access_keychainRead and write data in the keychain
control_localeChange the app's language and region settings
control_orientationRotate the simulator to different orientations
send_push_notificationSend push notifications to the app
feature_flagsControl feature flags in the app
responder_chainInspect the responder chain to tap handling issues
说明:Tool names inferred from CLI examples and description sections, as the README doesn't provide an explicit MCP tools list. The actual MCP tool names might differ slightly.
可对比工具
安装
安装
pip
pip install pepper-iosHomebrew
brew install --HEAD skwallace36/pepper/pepper
tap: skwallace36/homebrew-pepper使用方法
pepper-ctl deploy # 注入到前台运行的模拟器应用
pepper-ctl look # 查看屏幕内容Claude Desktop 配置
{
"mcpServers": {
"pepper": {
"command": "pepper-mcp"
}
}
}FAQ
- Pepper 是否适用于物理 iOS 设备?
- Pepper 需要iOS模拟器进行动态库注入。设备支持使用不同的机制,目前尚未文档化。
- 支持哪些 iOS 版本?
- Pepper 适用于 macOS 14+ 上的 iOS 模拟器运行时。具体的 iOS 版本支持取决于模拟器运行时。
Pepper 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。