JUHE API Marketplace
yorifuji avatar
MCP Server

MCP iOS Simulator Screenshot

A server that captures screenshots from iOS Simulator using the Model Context Protocol (MCP) and saves them to a specified directory.

2
GitHub Stars
11/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "mcp-ios-simulator-screenshot",
3 "command": "npx",
4 "args": [
5 "-y",
6 "mcp-ios-simulator-screenshot"
7 ]
8}
JSON8 lines
  1. Home
  2. MCP Servers
  3. mcp-ios-simulator-screenshot

README Documentation

MCP iOS Simulator Screenshot

A server that captures screenshots from iOS Simulator using the Model Context Protocol (MCP).

Overview

This project implements an MCP protocol server that captures the current screen of the iOS Simulator and saves it to a specified directory.

Setup

Cline and Roo Code

For Cline and Roo Code, the basic format is:

{
  "mcpServers": {
    "mcp-ios-simulator-screenshot": {
      "command": "npx",
      "args": ["-y", "mcp-ios-simulator-screenshot"]
    }
  }
}

If you clone the repository, you can use the following configuration:

{
  "mcpServers": {
    "mcp-ios-simulator-screenshot": {
      "command": "node",
      "args": ["/path/to/mcp-ios-simulator-screenshot/build/index.js"]
    }
  }
}

Cursor, Claude Desktop

For Cursor and Claude Desktop, you need to specify the --output-dir and the output directory:

{
  "mcpServers": {
    "mcp-ios-simulator-screenshot": {
      "command": "npx",
      "args": [
        "mcp-ios-simulator-screenshot",
        "--output-dir",
        "/path/to/your/output/directory"
      ]
    }
  }
}

MCP Tool Parameters

get_screenshot

Captures a screenshot from iOS Simulator and saves it to the specified directory.

ParameterTypeDescriptionDefault Value
output_filenamestringOutput filenametimestamp.png
output_directory_namestringSubdirectory name for screenshots.screenshots
resizebooleanWhether to resize the image to approximately VGA sizetrue
max_widthintegerMaximum width for resizing (pixels)640
device_idstringSpecify a simulator devicebooted device

Output Format

On success:

{
  "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
    }
  }
}

Note: The serverConfig.commandLineArgs.outputDir field is only included in the response when the --output-dir parameter is specified when starting the server.

{
  "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."
  }
}

Troubleshooting

  • If you cannot capture screenshots:

    • Check if iOS Simulator is running
    • Check if Xcode Command Line Tools are installed
    • Check if the xcrun simctl io booted screenshot command can be executed directly
  • If permission errors occur:

    • Check if you have write permissions for the output directory

Requirements

  • Node.js 16.0.0 or higher
  • macOS (iOS Simulator required)
  • Xcode Command Line Tools

Technology Stack

  • TypeScript
  • Node.js
  • MCP SDK (@modelcontextprotocol/sdk)

License

MIT

Other Languages

  • 日本語

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved