Skip to main content
Glama
sohan-a11y

cdp-mcp-gateway

by sohan-a11y

CDP から MCP へのゲートウェイ

GitHub License GitHub Last Commit GitHub Stars

スキル

ローカルの Python デーモンが、アクティブな Google Chrome ブラウザ(Chrome DevTools Protocol 経由)を Model Context Protocol (MCP) サーバに接続し、ローカルの AI エージェントがシームレスにブラウザを制御できるようにします。

クイックスタート

  1. リモートデバッグを有効にして Chrome を起動:

# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222

# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
  1. 依存関係をインストール:

pip install -r requirements.txt
  1. MCP ゲートウェイを実行:

python main.py

Related MCP server: Chrome MCP Server

機能

  • ログイン再認証不要: 人間が認証済みの Chrome タブに直接接続します。

  • LLM 最適化 DOM: スクリプトタグ、非表示要素、SVG を除去し、インタラクティブ要素にシンプルな連続 ID [e1]、[e2] を付与して提示します。

  • FastMCP 標準ツール: read_page、click_element、fill_input、navigate。


作成者: M Sai Sohan (@sohan-a11y)

このプロジェクトが役に立ったと思われたら、GitHub で ⭐ をいただけると幸いです!

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers