AM

atom2ueki/mcp-server-ios-simulator

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

45 stars 4 forks Качество 76 Тренд 4MIT

atom2ueki/mcp-сервер-ios-симулятор является кандидатом на сервер MCP, импортированным из https://github.com/atom2ueki/mcp-server-ios-simulator.

Обзор

atom2ueki/mcp-сервер-ios-симулятор является кандидатом на сервер MCP, импортированным из https://github.com/atom2ueki/mcp-server-ios-simulator.

Обзор (машинный перевод)

Сервер, реализующий протокол Model Context Protocol (MCP) для симуляторов iOS, построенный поверх симулятора appium-ios и использующий MCP TypeScript SDK.

Обзор

Этот проект обеспечивает мост между симуляторами iOS и протоколом Model Context, позволяя стандартизировать связь с экземплярами симулятора iOS. Он позволяет программно управлять симуляторами iOS, используя протокол MCP для согласованных интерфейсов в разных средах. Сервер использует stdio в качестве транспортного механизма, что делает его идеальным для интеграции с Claude Desktop и другими MCP-совместимыми клиентами.

Демо

Демонстрация того, как загрузить симулятор iOS с помощью Claude AI Desktop

️ Архитектура

Сервер состоит из трех основных компонентов:

  1. s Слой управления симуляторами — управляет жизненным циклом и взаимодействиями симулятора iOS
  2. ** the MCP Protocol Implementation ** - Внедрение протокола Model Context Protocol с использованием TypeScript SDK
  3. ** the Компонент регистратора ** - обеспечивает регистрацию на основе файлов, не вмешиваясь в транспортировку стипендий

Feature Особенности

Начать, остановить и управлять экземплярами симулятора iOS

  • Симуляторы загрузки и отключения

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

📱 MCP Server for iOS Simulator

A server that implements the Model Context Protocol (MCP) for iOS simulators, built on top of appium-ios-simulator and utilizing the MCP TypeScript SDK.

📋 Overview

This project provides a bridge between iOS simulators and the Model Context Protocol, allowing for standardized communication with iOS simulator instances. It enables programmatic control of iOS simulators while leveraging the MCP protocol for consistent interfaces across different environments. The server utilizes stdio as its transport mechanism, making it ideal for integration with Claude Desktop and other MCP-compatible clients.

🎬 Demo

Demo showing how to boot an iOS simulator using Claude AI Desktop

🏗️ Architecture

The server consists of three main components:

  1. 🔄 Simulator Management Layer - Handles iOS simulator lifecycle and interactions
  2. 🔌 MCP Protocol Implementation - Implements the Model Context Protocol using the TypeScript SDK with stdio transport
  3. 📊 Logger Component - Provides file-based logging without interfering with the stdio transport
┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  MCP Protocol   │     │     Stdio       │     │    Simulator    │
│  Implementation │◄────┤    Transport    │◄────┤   Management    │
│                 │     │                 │     │      Layer      │
└─────────────────┘     └─────────────────┘     └─────────────────┘
        ▲                                                ▲
        │                                                │
        ▼                                                ▼
┌─────────────────┐                             ┌─────────────────┐
│   MCP Client    │                             │  iOS Simulator  │
│  (e.g. Claude)  │                             │                 │
└─────────────────┘                             └─────────────────┘

✨ Features

  • 🚀 Start, stop, and manage iOS simulator instances
  • 🔌 Boot and shutdown simulators
  • 📲 Install and launch applications on simulators
  • 📸 Take screenshots of simulator screens
  • 👆 Perform taps on coordinates
  • 🔄 Support for multiple concurrent simulator sessions
  • 📝 Comprehensive file-based logging without console output
  • 🛡️ Error-resilient operation

📋 Prerequisites

  • 🟢 Node.js (v16 or later)
  • 🍎 macOS (required for iOS simulators)
  • 🛠️ Xcode with iOS simulators installed
  • 📜 TypeScript 4.5+

🔧 Installation

Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @atom2ueki/mcp-server-ios-simulator --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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