返回 MCP 目录
public公开dns本地运行

MCP-idb智能管理工具

Model Context Protocol(MCP)与Facebook的iOS开发桥接工具(idb)之间的集成,使得通过自然语言实现iOS设备管理自动化和测试执行成为可能。

article

README

mcp-idb

MCP server integration for Facebook's iOS Development Bridge (idb).

Overview

This package provides integration between MCP (Model Context Protocol) and Facebook's idb (iOS Development Bridge), enabling automated iOS device management and test execution through MCP.

Start the server:

npx -y @noahlozevski/mcp-idb

Prerequisites

Installing idb

To install idb:

brew tap facebook/fb
brew install idb-companion

# verify installation
idb

For more details, visit the official idb GitHub repository.

Configuration

mcp-config.json Setup

To use idb in your MCP configuration, add the following to your mcp-config.json:

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

Example use cases include:

  • Automated test development
  • Screenshot testing
  • Automated interactions ("tap the home button on the screen")
  • Installing / removing applications

Development

Code Formatting

This project uses Prettier for code formatting. To format your code:

npm run format        # Format all files

The formatting configuration can be found in .prettierrc at the root of the project.

Troubleshooting

Common issues and solutions:

  1. idb companion not found: Ensure idb-companion is installed via Homebrew
  2. Device not detected: Make sure the iOS device is:
    • Connected via USB
    • Trusted on the computer
    • Has developer mode enabled

Contributing

Please follow the standard MCP contribution guidelines when making changes to this package.

License

This project is part of Mobile Control Plane (MCP) and follows Amazon's internal licensing policies.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端