MCP iOS Simulator Screenshot
Screenshot des MCP iOS-Simulators
Ein Server, der mithilfe des Model Context Protocol (MCP) Screenshots vom iOS-Simulator aufnimmt.
Überblick
Dieses Projekt implementiert einen MCP-Protokollserver, der den aktuellen Bildschirm des iOS-Simulators erfasst und in einem angegebenen Verzeichnis speichert.
Related MCP server: Screeny MCP Server
Aufstellen
Cline und Roo Code
Für Cline- und Roo-Code ist das grundlegende Format:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "npx",
"args": ["-y", "mcp-ios-simulator-screenshot"]
}
}
}Wenn Sie das Repository klonen, können Sie die folgende Konfiguration verwenden:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "node",
"args": ["/path/to/mcp-ios-simulator-screenshot/build/index.js"]
}
}
}Cursor, Claude Desktop
Für Cursor und Claude Desktop müssen Sie --output-dir und das Ausgabeverzeichnis angeben:
{
"mcpServers": {
"mcp-ios-simulator-screenshot": {
"command": "npx",
"args": [
"mcp-ios-simulator-screenshot",
"--output-dir",
"/path/to/your/output/directory"
]
}
}
}MCP-Tool-Parameter
get_screenshot
Erstellt einen Screenshot vom iOS-Simulator und speichert ihn im angegebenen Verzeichnis.
Parameter | Typ | Beschreibung | Standardwert |
Ausgabedateiname | Schnur | Ausgabedateiname | Zeitstempel.png |
Ausgabeverzeichnisname | Schnur | Unterverzeichnisname für Screenshots | .Screenshots |
Größe ändern | Boolescher Wert | Ob die Bildgröße auf etwa VGA-Größe geändert werden soll | WAHR |
maximale Breite | ganze Zahl | Maximale Breite für die Größenänderung (Pixel) | 640 |
Geräte-ID | Schnur | Geben Sie ein Simulatorgerät an | gebootetes Gerät |
Ausgabeformat
Bei Erfolg:
{
"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
}
}
}Hinweis: Das Feld serverConfig.commandLineArgs.outputDir ist nur dann in der Antwort enthalten, wenn beim Starten des Servers der Parameter --output-dir angegeben wird.
{
"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."
}
}Fehlerbehebung
Wenn Sie keine Screenshots aufnehmen können :
Überprüfen Sie, ob der iOS-Simulator ausgeführt wird
Überprüfen Sie, ob Xcode-Befehlszeilentools installiert sind
Überprüfen Sie, ob der Befehl
xcrun simctl io booted screenshotdirekt ausgeführt werden kann
Wenn Berechtigungsfehler auftreten :
Überprüfen Sie, ob Sie Schreibberechtigungen für das Ausgabeverzeichnis haben
Anforderungen
Node.js 16.0.0 oder höher
macOS (iOS-Simulator erforderlich)
Xcode-Befehlszeilentools
Technologie-Stack
Typoskript
Node.js
MCP SDK (@modelcontextprotocol/sdk)
Lizenz
MIT
Weitere Sprachen
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