MCP iOS Simulator Screenshot
Скриншот симулятора MCP iOS
Сервер, который делает снимки экрана из iOS Simulator с использованием протокола контекста модели (MCP).
Обзор
В этом проекте реализован сервер протокола MCP, который захватывает текущий экран iOS Simulator и сохраняет его в указанном каталоге.
Related MCP server: Screeny MCP Server
Настраивать
Код Клайна и Ру
Для кода Клайна и Ру базовый формат следующий:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "npx",
"args": ["-y", "mcp-ios-simulator-screenshot"]
}
}
}Если вы клонируете репозиторий, вы можете использовать следующую конфигурацию:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "node",
"args": ["/path/to/mcp-ios-simulator-screenshot/build/index.js"]
}
}
}Курсор, Клод Десктоп
Для Cursor и Claude Desktop необходимо указать --output-dir и выходной каталог:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "npx",
"args": [
"mcp-ios-simulator-screenshot",
"--output-dir",
"/path/to/your/output/directory"
]
}
}
}Параметры инструмента MCP
получить_скриншот
Делает снимок экрана из iOS Simulator и сохраняет его в указанном каталоге.
Параметр | Тип | Описание | Значение по умолчанию |
имя_выходного_файла | нить | Имя выходного файла | временная метка.png |
имя_выходного_каталога | нить | Имя подкаталога для снимков экрана | .скриншоты |
изменить размер | булев | Следует ли изменить размер изображения примерно до размера VGA | истинный |
макс_ширина | целое число | Максимальная ширина для изменения размера (пиксели) | 640 |
идентификатор_устройства | нить | Укажите устройство-симулятор | загрузочное устройство |
Формат вывода
При успехе:
{
"success": true,
"message": "iOS Simulator screenshot saved successfully",
"filePath": ".screenshots/simulator_2025-04-10T16-51-16-755Z.png",
"metadata": {
"width": 1170,
"height": 2532,
"format": "png",
"size": 382946,
"timestamp": "2025-04-10T16:51:16.755Z"
},
"serverConfig": {
"commandLineArgs": {
"outputDir": "/Users/username/Desktop" // Only included when --output-dir is specified
}
}
}Примечание: Поле serverConfig.commandLineArgs.outputDir включается в ответ только в том случае, если при запуске сервера указан параметр --output-dir .
{
"success": false,
"message": "Error capturing iOS Simulator screenshot: [error message]",
"error": {
"code": "ENOENT",
"command": "xcrun simctl io booted screenshot --type=png -",
"stderr": "No matching devices found."
}
}Поиск неисправностей
Если вы не можете сделать снимок экрана :
Проверьте, запущен ли iOS Simulator
Проверьте, установлены ли инструменты командной строки Xcode.
Проверьте, можно ли напрямую выполнить команду
xcrun simctl io booted screenshot
Если возникают ошибки разрешений :
Проверьте, есть ли у вас права на запись в выходной каталог.
Требования
Node.js 16.0.0 или выше
macOS (требуется симулятор iOS)
Инструменты командной строки Xcode
Технологический стек
Машинопись
Node.js
MCP SDK (@modelcontextprotocol/sdk)
Лицензия
Массачусетский технологический институт
Другие языки
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceAn MCP server to control iOS Simulators.1153MIT
- AlicenseNot gradedqualityCmaintenanceA privacy-first macOS MCP server that enables AI agents to capture screenshots of pre-approved application windows for development and debugging tasks.14MIT
- AlicenseAqualityDmaintenanceA macOS-based MCP server that allows for capturing screenshots of displays and windows, as well as recording window activity to MP4 files. It leverages a Swift CLI backend to interact with macOS CoreGraphics and AVFoundation APIs for seamless screen capture management.7411MIT
- AlicenseNot gradedqualityCmaintenanceMCP server to control iOS simulators for automation, enabling device management, input control, and screen capture via Facebook IDB.10MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP (Model Context Protocol) server for Appwrite
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
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