IM

inditextech/mcp-server-simulator-ios-idb

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

342 stars 31 forks 质量 88 趋势 41Apache-2.0

一款模型上下文协议(MCP)服务器,使LLM能够通过自然语言命令与iOS模拟器交互。

概览

一款模型上下文协议(MCP)服务器,使LLM能够通过自然语言命令与iOS模拟器交互。 该MCP服务器为大型语言模型(LLM)与iOS模拟器之间提供了桥梁,通过自然语言命令实现全面的控制。它的功能如下: 详细使用请参见安装指南和支持命令部分。您可以通过直接的MCP集成或作为独立库使用该服务器。 查看架构部分,了解各个组件如何协同工作,以实现iOS模拟器的自然语言控制。

概述(AI 翻译)

一款模型上下文协议(MCP)服务器,使LLM能够通过自然语言命令与iOS模拟器交互。

i️ 概述

该MCP服务器为大型语言模型(LLM)与iOS模拟器之间提供了桥梁,通过自然语言命令实现全面的控制。它的功能如下:

详细使用请参见安装指南和支持命令部分。您可以通过直接的MCP集成或作为独立库使用该服务器。

请查看架构部分,了解组件如何协同工作以实现 iOS 模拟器的自然语言控制。关于完整的执行流程、组件契约和会话模型,请参见 ARCHITECTURE.md。为参与该仓库工作的代理和贡献者的指导已 AGENTS.md。

🎮 模拟器控制

  • 创建和管理模拟器会话
  • 启动、关机和监控模拟器状态
  • 可用且运行中的模拟器列表
  • 对焦模拟器窗口

📱 应用管理

  • 安装和管理iOS应用程序
  • 启动、终止和卸载应用
  • 监控应用状态并验证安装情况
  • 处理应用权限和配置

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

📱 MCP Server for iOS Simulator

A Model Context Protocol (MCP) server that enables LLMs to interact with iOS simulators through natural language commands.

ℹ️ Overview

This MCP server provides a bridge between Large Language Models (LLMs) and iOS simulators, offering comprehensive control through natural language commands. Here’s what it can do:

For detailed usage, see the Installation guide and Supported Commands sections. You can use this server either through direct MCP integration or as a standalone library.

Check out the Architecture section to understand how the components work together to enable natural language control of iOS simulators. For the full execution flow, component contracts, and the session model, see ARCHITECTURE.md. Guidance for agents and contributors working on this repository is in AGENTS.md.

🎮 Simulator Control

  • Create and manage simulator sessions
  • Boot, shutdown, and monitor simulator states
  • List available and running simulators
  • Focus simulator windows

📱 Application Management

  • Install and manage iOS applications
  • Launch, terminate, and uninstall apps
  • Monitor app states and verify installations
  • Handle app permissions and configurations

🖱️ UI Interaction & Testing

  • Interact with the simulator UI
  • Execute tap, swipe, and button press actions
  • Input text and key sequences
  • Access accessibility elements for UI testing
  • Record videos of UI interactions

🛠️ Development & Debugging

  • Capture screenshots and system logs
  • Debug applications in real-time
  • Monitor and analyze crash logs
  • Install dynamic libraries and manage app data

⚡ Advanced Features

  • Additional functionality includes:
    • Location simulation
    • Media injection
    • URL scheme handling
    • Contact database management
    • Keychain operations

For detailed usage, see the Installation guide and Supported Commands sections. You can use this server either through direct MCP integration or as a standalone library.

Check out the Architecture section to understand how the components work together to enable natural language control of iOS simulators.

📋 Requirements

  • macOS: Required for iOS simulator support
  • Node.js: v20.0.0 or higher
  • Homebrew: Required for installing dependencies
  • XCode: With iOS simulators installed

🚀 Installation

The easiest way to install this server is through Cline:

  1. Simply ask Cline:
Add this mcp to cline https://github.com/InditexTech/mcp-server-simulator-ios-idb
  1. Cline will handle the installation process automatically, including dependency management and configuration.

Alternatively, you can install it manually:

# Clone the repository
git clone https://github.com/InditexTech/mcp-server-simulator-ios-idb.git
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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