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
@@ -27,7 +27,7 @@ If you have any questions or issues, feel free to open an issue ticket! And if y
27
27
28
28
There are three core components all used to capture and analyze browser data:
29
29
30
-
1.**Chrome Extension**: A browser extension that captures screenshots, console logs, network activity and DOM elements.
30
+
1.**Chrome Extension**: A browser extension that captures screenshots, console logs, network activity, DOM elements, and browser storage (cookies, localStorage, sessionStorage).
31
31
2.**Node Server**: An intermediary server that facilitates communication between the Chrome extension and any instance of an MCP server.
32
32
3.**MCP Server**: A Model Context Protocol server that provides standardized tools for AI clients to interact with the browser.
33
33
@@ -54,13 +54,15 @@ All consumers of the BrowserTools MCP Server interface with the same NodeJS API
54
54
- Tracks selected DOM elements
55
55
- Sends all logs and current element to the BrowserTools Connector
56
56
- Connects to Websocket server to capture/send screenshots
57
+
- Retrieves cookies, localStorage, and sessionStorage data
57
58
- Allows user to configure token/truncation limits + screenshot folder path
58
59
59
60
#### Node Server
60
61
61
62
- Acts as middleware between the Chrome extension and MCP server
62
63
- Receives logs and currently selected element from Chrome extension
63
64
- Processes requests from MCP server to capture logs, screenshot or current element
65
+
- Retrieves browser storage data (cookies, localStorage, sessionStorage)
64
66
- Sends Websocket command to the Chrome extension for capturing a screenshot
65
67
- Intelligently truncates strings and # of duplicate objects in logs to avoid token limits
66
68
- Removes cookies and sensitive headers to avoid sending to LLMs in MCP clients
@@ -85,6 +87,7 @@ Once installed and configured, the system allows any compatible MCP client to:
0 commit comments