
atom2ueki/mcp-server-ios-simulator 是从 https://github.com/atom2ueki/mcp-server-ios-simulator. 导入的 MCP 服务器候选
概览
atom2ueki/mcp-server-ios-simulator 是从 https://github.com/atom2ueki/mcp-server-ios-simulator. 导入的 MCP 服务器候选
概述(AI 翻译)
这是一台实现 iOS 模拟器模型上下文协议(MCP)的服务器,基于 appium-ios-simulator 构建,并使用 MCP TypeScript SDK。
📋 概述
该项目为 iOS 模拟器与模型上下文协议(Model Context Protocol)之间搭建了桥梁,实现了与 iOS 模拟器实例的标准化通信。它实现了对 iOS 模拟器的编程控制,同时利用 MCP 协议实现不同环境间的一致接口。服务器采用 stdio 作为传输机制,非常适合与 Claude Desktop 及其他兼容 MCP 客户端集成。
🎬 演示
演示如何用Claude AI Desktop启动iOS模拟器
🏗️ 建筑
服务器由三个主要组成部分组成:
- ** 🔄 模拟器管理层** - 处理iOS模拟器的生命周期和交互
- ** MCP 🔌 协议实现** - 使用 TypeScript SDK 实现带有 stdio 传输的模型上下文协议
- ** 📊 日志器组件** - 提供基于文件的日志,不干扰 stdio 传输
✨ 特色
- 🚀 启动、停止和管理iOS模拟器实例
- 🔌 启动与关机模拟器
本页由 AI 翻译,技术细节请以原文为准。
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:
- 🔄 Simulator Management Layer - Handles iOS simulator lifecycle and interactions
- 🔌 MCP Protocol Implementation - Implements the Model Context Protocol using the TypeScript SDK with stdio transport
- 📊 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
安装
npx -y @smithery/cli install @atom2ueki/mcp-server-ios-simulator --client claude配置
{
"mcpServers": {
"simulator": {
"command": "node",
"args": [
"/path/to/your/mcp-server-ios-simulator/dist/index.js"
]
}
}
}