Skip to main content
Glama

iOS Simulator MCP

screenshot

Capture screenshots of iOS Simulator displays by specifying the output path, image format, and display type. Supports various image formats and handles non-rectangular displays with mask options.

Instructions

Takes a screenshot of the iOS Simulator

Input Schema

NameRequiredDescriptionDefault
displayNoDisplay to capture (internal or external). Default depends on device type.
maskNoFor non-rectangular displays, handle the mask by policy (ignored, alpha, or black)
output_pathYesFile path where the screenshot will be saved. If relative, it uses the directory specified by the `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` env var, or `~/Downloads` if not set.
typeNoImage format (png, tiff, bmp, gif, or jpeg). Default is png.
udidNoUdid of target, can also be set with the IDB_UDID env var

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "display": { "description": "Display to capture (internal or external). Default depends on device type.", "enum": [ "internal", "external" ], "type": "string" }, "mask": { "description": "For non-rectangular displays, handle the mask by policy (ignored, alpha, or black)", "enum": [ "ignored", "alpha", "black" ], "type": "string" }, "output_path": { "description": "File path where the screenshot will be saved. If relative, it uses the directory specified by the `IOS_SIMULATOR_MCP_DEFAULT_OUTPUT_DIR` env var, or `~/Downloads` if not set.", "maxLength": 1024, "type": "string" }, "type": { "description": "Image format (png, tiff, bmp, gif, or jpeg). Default is png.", "enum": [ "png", "tiff", "bmp", "gif", "jpeg" ], "type": "string" }, "udid": { "description": "Udid of target, can also be set with the IDB_UDID env var", "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$", "type": "string" } }, "required": [ "output_path" ], "type": "object" }

Other Tools from iOS Simulator MCP

Related Tools

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/joshuayoes/ios-simulator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server