I kept hitting the same problem with Cursor’s agent: it fixes a permissions bug, says “done”, and never actually checks the page as a Customer. Its browser starts logged out, so it can’t.
So I built SessionForge, an open-source desktop browser that keeps several logged-in sessions side by side (each with its own cookies, storage and cache), and a local MCP server so Cursor can use them by name.
What it looks like in Cursor
You ask: “Customers shouldn’t see billing. Check every role in SessionForge and fix it.”
- The agent calls
list_sessionsand sees Admin, Customer and Guest. send_request_assends the same request as each role. On the sample app: Admin 200, Customer 200, Guest 401. That Customer 200 is the bug.- It fixes the guard and checks again: Customer 403.
assertper role, with a screenshot each, collected in a Test report.- “Turn that into a regression test” gives you a
.spec.tsfromexport_playwright_test(beta, review the locators). Export each login as a Playwright storageState file andnpx playwright testruns it with no login script.
You watch all of it happen in split view.
Setup (about 2 minutes)
- SessionForge → Settings → Agent Bridge → turn it on.
- Copy the Cursor config into
.cursor/mcp.json, and the token export line into the shell that starts Cursor. - Restart Cursor from that shell. Settings → MCP should list 20 tools.
There’s also a dependency-free stdio bridge if you prefer that. Settings → Agent Bridge → Editors → Approvals can set Cursor to auto-run only the read-only tools (it previews the change and backs up your file first). A ready-made Cursor rule for “check every role before saying done” is in docs/agents/sessionforge.md in the repo.
Safety
It holds real logins, so it’s strict by default:
- MCP server off until you enable it,
127.0.0.1only, bearer token - each session is Hidden, Read or Control for the agent
- production sessions are read-only unless you type the session name, and never exported
- cookies and auth headers redacted in tool output, page text labelled as untrusted
- no eval, shell or file tools; files are only written through a Save dialog
- Stop button on every pane
Limits
- macOS build isn’t notarized (Open Anyway on first launch), Windows installer is unsigned. Running from source avoids both.
- Linux has had the most testing.
- Chromium only.
To try it without your own app, examples/rbac-demo is a small sample app with a seeded role bug.
Free, Apache-2.0, no account, no telemetry. I’m the author. I’d really like to hear what breaks in your setup and what you’d want the agent to do with multiple users.
Repo (setup docs are linked from the README): GitHub - Hamzasohail123/sessionforge: Multi-session browser for developers, QA and coding agents. Every role logged in side by side, an MCP server for Cursor, Codex and Claude Code, and one-click hand-off to Playwright tests. · GitHub