Support resending captured Fetch and XHR requests

オープン
#3,142 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
devtools, typescript
領域
devtools

調査の方向性

Start from the existing list_network_requests and get_network_request tools, which return the reqid and pageId the new resend_network_request tool would take. Find where NetworkManager.resendRequest() from DevTools can be called for a captured Fetch or XHR request, and reject other request types. Done means the tool is registered as mutating and non-idempotent and only acknowledges the attempt. The author wants scope feedback before a PR, so confirm that first.

索引モデルが issue の本文から書いたものです。

説明

collecting-feedback feature
Is your feature request related to a problem? Please describe.

When debugging a network request through MCP, I want to resend it after investigating a failure or changing the application state, then compare the responses.

Currently, I need to reproduce the application interaction that triggered the request or manually reconstruct it with evaluate_script. A resend tool would make this workflow easier.

Describe the solution you'd like

Add a resend_network_request tool that accepts a pageId and a reqid returned by list_network_requests.

The tool would:

  • Support captured Fetch and XHR requests.
  • Reuse DevTools’ NetworkManager.resendRequest() implementation.
  • Reject unsupported request types.
  • Acknowledge the resend attempt without claiming success.

Users would then use list_network_requests to find the new request and get_network_request to inspect its response.

Resending may repeat server-side changes, such as creating another order. The tool should therefore be marked as mutating and non-idempotent.

Describe alternatives you've considered
  • Repeat the UI interaction that triggered the request. This requires reproducing the application workflow.
  • Use evaluate_script to construct a request manually. This requires reconstructing the request details.
  • Resend manually from the DevTools Network panel. This requires leaving the MCP workflow.
Additional context

I would like feedback on the use case and scope before submitting a PR.

主要言語
TypeScript
スター
59.8k
フォーク
4.8k
平均マージ
2日 10時間
マージ済み PR(30日)
162

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ChromeDevTools/chrome-devtools-mcp のほかの issue

ChromeDevTools/chrome-devtools-mcp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。