Install
Pick your client:Claude Code
Add to~/.claude.json (or .mcp.json in your project):
browser_agent tool now shows up in the tool list.
Cursor
Add to~/.cursor/mcp.json:
Any other MCP client
Tools exposed
browser_agent
Run one or more browser tasks synchronously (or async with async: true).
Streams live per-step events as MCP notifications so your agent sees
navigation → plan → action → screenshot → done in real time.
Arguments:
browser_agent_list
List the caller’s recent batches.
browser_agent_get
Fetch a single batch by id, optionally with the full event timeline.
Legacy tool names
browser_task, browser_task_list, browser_task_get are still
registered as aliases — old integrations continue to work.
Example agent prompt
Use the browser_agent tool to go to https://news.ycombinator.com,
extract the top 5 story titles and their point counts, and return a
JSON object.
The tool call the agent will make:
Streaming events (for the agent developer)
Each step of the task emits an MCPnotifications/message frame. The
taskIndex field ties each event to a task in the batch. Event types
and their data shapes are identical to the REST SSE stream — see
REST API → Task event types.
Auth
PREDEV_API_KEY in the MCP server’s env is all you need. The key is
your solo SuperTokens userId or your enterprise org API key — same as
REST.
