openclaw - 💡(How to fix) Fix [Feature]: Remote browser Chrome Devtools MCP capability [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#48852Fetched 2026-04-08 00:51:54
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
1
Participants
Timeline (top)
labeled ×1

The current implementation of Chrome DevTools MCP (Model Context Protocol) is tightly coupled with local browser environments via OpenClaw. For remote browser access, it relies solely on the traditional CDP (Chrome DevTools Protocol) URL approach. This limits the protocol's applicability and efficiency, as remote browser scenarios have not seen substantive optimization or innovative integration with MCP.

Root Cause

The current implementation of Chrome DevTools MCP (Model Context Protocol) is tightly coupled with local browser environments via OpenClaw. For remote browser access, it relies solely on the traditional CDP (Chrome DevTools Protocol) URL approach. This limits the protocol's applicability and efficiency, as remote browser scenarios have not seen substantive optimization or innovative integration with MCP.

RAW_BUFFERClick to expand / collapse

Summary

The current implementation of Chrome DevTools MCP (Model Context Protocol) is tightly coupled with local browser environments via OpenClaw. For remote browser access, it relies solely on the traditional CDP (Chrome DevTools Protocol) URL approach. This limits the protocol's applicability and efficiency, as remote browser scenarios have not seen substantive optimization or innovative integration with MCP.

Problem to solve

1、Environment Lock-in: The MCP solution is exclusively designed for local browser execution, lacking native support for remote browser instances. 2、Outdated Remote Access: Remote browser operations are forced to use the legacy, unoptimized CDP URL pattern, which fails to leverage potential advancements offered by MCP for remote scenarios. 3、Inefficient Workflow: This separation hinders unified management and discovery of remote browsers, creating an inconsistent developer experience between local and remote setups.

Proposed solution

Extend the native support scope of the Chrome DevTools MCP protocol to explicitly include remote browser environments. Implement the capability to configure and discover remote browsers by specifying a custom MCP URL, thereby aligning remote operations with the modern MCP framework.

Alternatives considered

No response

Impact

We hope to extend the MCP method to remote browsers and discover it by configuring MCP URLs.

Evidence/examples

No response

Additional information

No response

extent analysis

Fix Plan

To extend the native support of Chrome DevTools MCP to remote browser environments, follow these steps:

  • Modify the MCP protocol to accept a custom URL for remote browser instances.
  • Implement remote browser discovery using the custom MCP URL.
  • Update the CDP URL pattern to leverage advancements offered by MCP for remote scenarios.

Example Code

// Define a function to configure remote browser instances
function configureRemoteBrowser(mcpUrl) {
  // Set up the remote browser environment
  const remoteBrowser = new RemoteBrowser(mcpUrl);
  
  // Register the remote browser instance with the MCP protocol
  MCP.registerRemoteBrowser(remoteBrowser);
}

// Define a function to discover remote browsers using the custom MCP URL
function discoverRemoteBrowsers(mcpUrl) {
  // Send a request to the MCP protocol to discover remote browsers
  MCP.discoverRemoteBrowsers(mcpUrl)
    .then((remoteBrowsers) => {
      // Handle the list of discovered remote browsers
      console.log(remoteBrowsers);
    })
    .catch((error) => {
      // Handle any errors that occur during discovery
      console.error(error);
    });
}

// Example usage:
const mcpUrl = 'mcp://remote-browser-instance';
configureRemoteBrowser(mcpUrl);
discoverRemoteBrowsers(mcpUrl);

Verification

To verify that the fix worked, test the following scenarios:

  • Configure a remote browser instance using the custom MCP URL.
  • Discover remote browsers using the custom MCP URL.
  • Verify that the discovered remote browsers are correctly registered with the MCP protocol.

Extra Tips

  • Ensure that the custom MCP URL is properly formatted and validated to prevent errors.
  • Consider implementing authentication and authorization mechanisms to secure remote browser access.
  • Document the custom MCP URL format and any usage guidelines for developers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING