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 (Model Context Protocol)と Facebook のidb (iOS Development Bridge)間の統合を提供し、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 貢献ガイドラインに従ってください。

ライセンス

このプロジェクトは、Mobile Control Plane (MCP) の一部であり、Amazon の内部ライセンス ポリシーに従います。

You must be authenticated.

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

Tools

Model Context Protocol (MCP) と Facebook の iOS Development Bridge (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