AB

appgram/bridge4simulator

开发工具

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

80 stars 5 forks 质量 54 趋势 0

appgram/bridge4simulator 是一个从 https://github.com/appgram/bridge4simulator. 导入的 MCP 服务器候选

概览

appgram/bridge4simulator 是一个从 https://github.com/appgram/bridge4simulator. 导入的 MCP 服务器候选

概述(AI 翻译)

MCP Server for iOS Simulator Control

在YouTube观看完整视频

一个MCP(模型上下文协议)服务器,使AI助手能够控制iOS模拟器。能够无缝集成Claude桌面、光标、Claude代码及其他兼容MCP的客户端。

如果你觉得这个项目有用,记得留言⭐️。


快速安装

酿造:

安装人员:

MCP在底层依赖定制桥接。如有关于驱动该CLI工具的商业用途咨询,欢迎随时联系我们

配置

第一次运行,在终端:

光标IDE

进入 设置> MCP,添加:

然后添加配置

或者在Claude桌面配置中:

Claude Desktop 不支持本地开发 MCP 的 URL 地址。

Claude Code CLI

添加到~/.claude/settings.json或项目.mcp.json:

演示

本次演示强调了自主导航以及任务执行背后的内部推理过程。在底层,MCP采用了强大的CLI工具,能够实现即时OCR和UI提取,同时将令牌消耗极低,实现快速问题解决。

苹果日历演示 苹果地图演示
任务是在特定日期创建一个事件。

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

README

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

bridge4simulator MCP Server

MCP Server for iOS Simulator Control

Watch full video on YouTube

An MCP (Model Context Protocol) server that enables AI assistants to control iOS Simulator. Seamlessly integrates with Claude Desktop, Cursor, Claude Code, and other MCP-compatible clients.

Be sure to drop a ⭐️ if you find this project useful.


Quick Install

Brew:

  brew tap AppGram/tap
  brew install bridge4simulator
  bridge4simulator --version

Installer:

curl -fsSL https://github.com/AppGram/bridge4simulator/releases/latest/download/install.sh | bash

Under the hood, MCP relies on a custom-built bridge. For inquiries about commercial use of the tool powering this CLI, be free to contact us

Configuration

First run, in terminal: bridge4simulator mcp --http

Cursor IDE

Go to Settings > MCP and add:

Then add config

    "bridge4simulator": {
       "url": "http://localhost:8080/mcp"
    },

Or in Claude Desktop config:

{
  "mcpServers": {
    "bridge4simulator": {
      "command": "/usr/local/bin/bridge4simulator",
      "args": ["mcp", "--enable-tools=screenshot"]
    }
  }
}

Claude Desktop doesn’t support url for local development MCPs.

Claude Code CLI

Add to ~/.claude/settings.json or project .mcp.json:

{
  "mcpServers": {
    "ios-simulator": {
      "command": "/usr/local/bin/bridge4simulator",
      "args": ["mcp", "--enable-tools=screenshot"]
    }
  }
}

Demo

This demo highlights autonomous navigation and the internal reasoning process behind task execution. Under the hood, MCP uses a powerful CLI tool that enables instant OCR and UI extraction while keeping token consumption minimal for rapid problem solving.

Apple Calendar Demo Apple Maps Demo
Task was to create an event on specific date. Click to watch. Task is to find train route from Rome to Padova. Click to watch.

Available Tools (21)

Category Tools Description
Device device_list, device_boot, device_shutdown, status Manage simulator devices
Input tap, swipe, type_text Touch gestures and text input
Capture screenshot, record_start, record_stop Screen capture and recording
Apps app_install, app_launch, app_terminate Application lifecycle
Navigation open_url Open URLs and deep links
在 GitHub 查看完整 README

安装

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

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

配置

{ "mcpServers": { "bridge4simulator": { "command": "/usr/local/bin/bridge4simulator", "args": ["mcp", "--enable-tools=screenshot"] } } }