Skip to main content
Glama
lpenguin
by lpenguin

WebGPU Inspector MCP

OpenCode / Model Context Protocol (MCP) サーバー for WebGPU Inspector です。

これにより、AIアシスタントはChrome/Chromiumを操作して、ライブWebGPUフレームのキャプチャ、フレームパフォーマンスのプロファイリング、WGSLシェーダー、バッファ、テクスチャの検査、WebGPUレンダリング問題の診断を行うことができます。

Features

  • 自動ブラウザ計測: CDPを介してChromium/Chrome/Edgeを起動し、ページスクリプトが実行される前にWebGPU Inspectorをすべてのページに注入します。

  • 21のMCPツール: ブラウザ制御、フレームキャプチャ、GPUタイムスタンププロファイリング、ライブバッファ/テクスチャ読み取り、描画状態の差分、シェーダー検査のためのツール。

  • キャプチャファイル分析: ブラウザを実行せずに.wgpucバイナリファイルまたは.json録画を読み込んで検査します。

Related MCP server: Chrome DevTools MCP

Installation

git clone git@github.com:lpenguin/webgpu_inspector_mcp.git
cd webgpu_inspector_mcp
npm install

MCP Configuration

サーバーをopencode.json(またはClaudeデスクトップ設定)に追加します:

{
  "mcp": {
    "webgpu-inspector": {
      "type": "local",
      "command": ["node", "/path/to/webgpu_inspector_mcp/index.js"],
      "enabled": true,
      "environment": {
        "WEBGPU_BRIDGE_PORT": "9690",
        "WEBGPU_BRIDGE_CAPTURES_DIR": "/path/to/webgpu_inspector_mcp/captures"
      }
    }
  }
}

Environment Variables

すべての環境変数はオプションです:

Variable

Default

Description

WEBGPU_BRIDGE_CAPTURES_DIR

<cwd>/captures

アップロードされた.wgpucフレームキャプチャが保存されるディレクトリ。設定されていない場合、現在の作業ディレクトリにcaptures/フォルダを作成するのがデフォルトです。明示的な絶対パスを設定すると、すべてのキャプチャを専用の場所に保持できます。

WEBGPU_BRIDGE_PORT

9690

計測されたページが接続するローカルHTTP + WebSocketブリッジのポート。デフォルトポートが別のセッションで既に使用されている場合、ブリッジは自動的にOSが割り当てた空きポートにフォールバックします。

WEBGPU_BRIDGE_HOST

127.0.0.1

ローカルブリッジサーバーのバインドアドレス。

WEBGPU_BRIDGE_CHROME

(自動検出)

Google Chrome、Chromium、またはMicrosoft Edgeのカスタムバイナリパス。省略した場合は標準のシステムパスを自動検出します。

WEBGPU_BRIDGE_TOKEN

(なし)

計測されたページがブリッジに接続するために必要なオプションの認証トークン。

WEBGPU_INSPECTOR_SCRIPT

(バンドル済み)

カスタムwebgpu_inspector.js注入スクリプトへのパスまたはURL。デフォルトはバンドルされたファイルです。

F
license - not found
A
quality
B
maintenance

Maintenance

0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI coding assistants to control and inspect a live Chrome browser for automation, debugging, performance analysis, network monitoring, and DOM interaction through Chrome DevTools Protocol.
    3,288,165
    Apache 2.0
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI coding assistants to control and inspect a live Chrome browser for automated debugging, performance analysis, and web interaction. It leverages Puppeteer and Chrome DevTools to provide capabilities like network monitoring, console logging, and automated browser actions.

View all related MCP servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lpenguin/webgpu_inspector_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server