Open Bug 2071202 Opened 2 days ago Updated 2 days ago

[firefox-devtools-mcp] Add a tool to close the browser session

Categories

(Developer Infrastructure :: Firefox MCP, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

Attachments

(1 file)

From :davehunt on slack:

Also, as far as I could tell, there's no way to close the browser via the MCP server, is that expected?

Since we already support to restart the browser via management.restart_firefox, I think it makes sense to also expose a tool to simply close the browser.

I think that could also fit nicely with the possibility to disconnect from the browser for connect-existing scenarios.
We have Bug 2066912 to implement a timer based disconnect on the MCP side, but I think we could encourage agents to disconnect / cleanup once they no longer need the browser.

So we could call the tool "close_firefox_session" and let it decide whether to disconnect or stop the browser based on the startup path.

Summary: [firefox-devtools-mcp] Add a tool to close the browser → [firefox-devtools-mcp] Add a tool to close the browser session
See Also: → 2066912
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: