Support resending captured Fetch and XHR requests

Open
#3,142 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
devtools, typescript
Domain
devtools

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
59.8k
Forks
4.8k
Avg merge
2d 10h
Merged PRs (30d)
162

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ChromeDevTools/chrome-devtools-mcp

All issues in ChromeDevTools/chrome-devtools-mcp

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.