MCP-IDB

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Integrates with Facebook's iOS Development Bridge (idb), enabling iOS device management and test execution for mobile apps.

  • Uses Homebrew for installing the idb-companion, which is required for the iOS device management functionality.

  • Enables automated iOS device management, including app installation, test execution, UI interaction (taps, swipes, button presses), and screenshot capture.

mcp-idb

Facebook 的 iOS Development Bridge (idb) 的 MCP 服务器集成。

概述

该软件包提供了MCP(模型上下文协议)和 Facebook 的idb(iOS 开发桥)之间的集成,从而实现了通过 MCP 实现自动化的 iOS 设备管理和测试执行。

启动服务器:

npx -y @noahlozevski/mcp-idb

先决条件

安装 idb

要安装 idb:

brew tap facebook/fb brew install idb-companion # verify installation idb

有关更多详细信息,请访问官方 idb GitHub 存储库

配置

mcp-config.json 设置

要在 MCP 配置中使用 idb,请将以下内容添加到mcp-config.json中:

{ "mcpServers": { "idb": { "command": "npx", "args": ["-y", "@noahlozevski/idb"] } } }

示例用例包括:

  • 自动化测试开发
  • 截图测试
  • 自动交互(“点击屏幕上的主页按钮”)
  • 安装/删除应用程序

发展

代码格式化

该项目使用 Prettier 进行代码格式化。要格式化代码,请执行以下操作:

npm run format # Format all files

格式配置可以在项目根目录的.prettierrc中找到。

故障排除

常见问题及解决方案:

  1. 未找到 idb 配套软件:确保已通过 Homebrew 安装 idb-companion
  2. 未检测到设备:请确保 iOS 设备:
    • 通过 USB 连接
    • 在计算机上受信任
    • 已启用开发者模式

贡献

对此包进行更改时,请遵循标准 MCP 贡献指南。

执照

该项目是移动控制平面(MCP)的一部分,遵循亚马逊的内部许可政策。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

模型上下文协议 (MCP) 与 Facebook 的 iOS 开发桥 (idb) 之间的集成,实现了通过自然语言实现自动化 iOS 设备管理和测试执行。

  1. Overview
    1. Prerequisites
      1. Installing idb
    2. Configuration
      1. mcp-config.json Setup
    3. Development
      1. Code Formatting
    4. Troubleshooting
      1. Contributing
        1. License
          ID: 27ni3ebkfi