-
securityF
license-
qualityAn MCP server to control iOS Simulators.
Last updated -
41
22
JavaScript
使用模型上下文协议 (MCP) 从 iOS 模拟器捕获屏幕截图的服务器。
本项目实现了一个MCP协议服务器,可以抓取iOS模拟器的当前屏幕,并保存到指定的目录。
对于 Cline 和 Roo 代码,基本格式是:
如果您克隆存储库,则可以使用以下配置:
对于 Cursor 和 Claude Desktop,您需要指定--output-dir
和输出目录:
从 iOS 模拟器捕获屏幕截图并将其保存到指定目录。
范围 | 类型 | 描述 | 默认值 |
---|---|---|---|
输出文件名 | 细绳 | 输出文件名 | 时间戳.png |
输出目录名称 | 细绳 | 屏幕截图的子目录名称 | .截图 |
调整大小 | 布尔值 | 是否将图像调整为大约 VGA 尺寸 | 真的 |
最大宽度 | 整数 | 调整大小的最大宽度(像素) | 640 |
设备 ID | 细绳 | 指定模拟器设备 | 启动设备 |
成功时:
注意:仅当启动服务器时指定了--output-dir
参数时, serverConfig.commandLineArgs.outputDir
字段才会包含在响应中。
xcrun simctl io booted screenshot
命令麻省理工学院
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
使用模型上下文协议 (MCP) 从 iOS 模拟器捕获屏幕截图并将其保存到指定目录的服务器。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yorifuji/mcp-ios-simulator-screenshot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server