SM

steve228uk/metro-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

89 stars 8 forks 品質 83 トレンド 8MIT

steve228uk/metro-mcp は [https://github.com/steve228uk/metro-mcp.] からインポートされた MCP サーバーの候補です

概要

steve228uk/metro-mcp は [https://github.com/steve228uk/metro-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

React ネイティブランタイムデバッグ、検査、自動化用のプラグインベースの MCP サーバー。 Chrome DevToolsプロトコル経由でMetrobundlerに接続します。ほとんどの機能では、アプリコードの変更は必要ありません。

Expo、bare React Native、Metro + Hermesを使用して任意のプロジェクトで動作します。

お問い合わせ

コンテンツ

  • クイックスタート
  • 条件
  • 使い方
  • 特徴
  • クロームデベロッパー
  • クロードコードステータスバー
  • 記録のテスト
  • アプリの統合
  • 構成
  • カスタムプラグイン
  • 互換性

お問い合わせ

クイックスタート

##Claudeコード

コードx

Codex は、デフォルトで [~/.codex/config.toml]] に MCP サーバーを格納し、Codex CLI と IDE の拡張機能がその設定を共有します。

手動で設定したい場合:

## オープンソース

OpenCode のインタラクティブな MCP インストーラを実行します。

ローカルサーバを選択し、[metro-mcp] に名前を付け、 [npx -y metro-mcp] をコマンドとして使用します。

手動で設定したい場合、プロジェクト内の[opencode.json]に、または[~/.config/opencode/opencode.json]にグローバルインストールを追加します。

または文と:

カーソル/VS コード

または文と:

複数のエージェントにインストールする

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

metro-mcp

A plugin-based MCP server for React Native runtime debugging, inspection, and automation. Connects to Metro bundler via Chrome DevTools Protocol — no app code changes needed for most features.

Works with Expo, bare React Native, and any project using Metro + Hermes.


Contents


Quick Start

Claude Code

claude mcp add metro-mcp -- npx -y metro-mcp
# or with Bun
claude mcp add metro-mcp -- bunx metro-mcp

Codex

codex mcp add metro-mcp -- npx -y metro-mcp
# or with Bun
codex mcp add metro-mcp -- bunx metro-mcp

Codex stores MCP servers in ~/.codex/config.toml by default, and the Codex CLI and IDE extension share that configuration.

If you prefer to configure it manually:

[mcp_servers.metro-mcp]
command = "npx"
args = ["-y", "metro-mcp"]

OpenCode

Run OpenCode’s interactive MCP installer:

opencode mcp add

Choose a local server, name it metro-mcp, and use npx -y metro-mcp as the command.

If you prefer to configure it manually, add this to opencode.json in your project, or to ~/.config/opencode/opencode.json for a global install:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "metro-mcp": {
      "type": "local",
      "command": ["npx", "-y", "metro-mcp"],
      "enabled": true
    }
  }
}

Or with Bun:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "metro-mcp": {
      "type": "local",
      "command": ["bunx", "metro-mcp"],
      "enabled": true
    }
  }
}

Cursor / VS Code

{
  "mcpServers": {
    "metro-mcp": {
      "command": "npx",
      "args": ["-y", "metro-mcp"]
    }
  }
}

Or with Bun:

{
  "mcpServers": {
    "metro-mcp": {
      "command": "bunx",
      "args": ["metro-mcp"]
    }
  }
}

Install across multiple agents

GitHub で README 全文を見る

インストール

npx -y metro-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "metro-mcp": { "command": "npx", "args": ["-y", "metro-mcp"] } } }