You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Enable access to browser storage (cookies, localStorage, sessionStorage)
- Add the ability to retrieve and analyze cookies, localStorage, and sessionStorage.
- Implement new MCP tools and API endpoints for accessing browser storage data.
- Enhance the Chrome extension to capture browser storage.
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Read our [docs](https://browsertools.agentdesk.ai/) for the full installation, q
10
10
11
11
There are three core components all used to capture and analyze browser data:
12
12
13
-
1.**Chrome Extension**: A browser extension that captures screenshots, console logs, network activity and DOM elements.
13
+
1.**Chrome Extension**: A browser extension that captures screenshots, console logs, network activity, DOM elements, and browser storage (cookies, localStorage, sessionStorage).
14
14
2.**Node Server**: An intermediary server that facilitates communication between the Chrome extension and any instance of an MCP server.
15
15
3.**MCP Server**: A Model Context Protocol server that provides standardized tools for AI clients to interact with the browser.
16
16
@@ -37,13 +37,15 @@ All consumers of the BrowserTools MCP Server interface with the same NodeJS API
37
37
- Tracks selected DOM elements
38
38
- Sends all logs and current element to the BrowserTools Connector
39
39
- Connects to Websocket server to capture/send screenshots
40
+
- Retrieves cookies, localStorage, and sessionStorage data
40
41
- Allows user to configure token/truncation limits + screenshot folder path
41
42
42
43
#### Node Server
43
44
44
45
- Acts as middleware between the Chrome extension and MCP server
45
46
- Receives logs and currently selected element from Chrome extension
46
47
- Processes requests from MCP server to capture logs, screenshot or current element
48
+
- Retrieves browser storage data (cookies, localStorage, sessionStorage)
47
49
- Sends Websocket command to the Chrome extension for capturing a screenshot
48
50
- Intelligently truncates strings and # of duplicate objects in logs to avoid token limits
49
51
- Removes cookies and sensitive headers to avoid sending to LLMs in MCP clients
@@ -68,6 +70,7 @@ Once installed and configured, the system allows any compatible MCP client to:
0 commit comments