maestro icon indicating copy to clipboard operation
maestro copied to clipboard

ceeate a singleton for mcp web browser

Open adrum opened this issue 1 month ago • 2 comments

Proposed changes

I was trying to use Maestro MCP for the web, and it was a painful experience as every new command would spawn a new browser instance. I was expecting the agent to have a consistent browser it can use for repeated commands. For example, the take screenshot command would just be a fresh browser with a white screen.

This proposed solution simply keeps a reference around in the MCP areas of the code base so the agent can keep one instance around for all its commands.

A perhaps more robust approach would have been to properly implement IDs similar to how iOS/Android devices are assigned. That would require a fix in the core parts of the code, and thought it might be easier to focus in improving just the MCP experience first and start some discussion around a more robust solution.

copilot:summary

Testing

Issues fixed

adrum avatar Dec 05 '25 22:12 adrum

Is this looking to be committed anytime soon?

DevGeorge avatar Dec 23 '25 08:12 DevGeorge

You're in the right place to see any and all updates to this.

Ideally we'd merge everything as soon ~instantly and get releases out. In reality, we've got a single digit number of engineers, and we're not just maintaining the open source project, but also the software that pays the bills.

We'll get to this just as soon as we can, but I'd expect it to be January at this point.

HTH

Fishbowler avatar Dec 23 '25 08:12 Fishbowler