Skip to main content
One pre.dev MCP server, all the tools. Install it once and your agent gets browser_agent (browser automation) plus fast_spec / deep_spec (the Architect Agent) in one shot.

Quick Start

1

Get your API key

Get API Key

Visit the playground to copy your API key.
2

Install the MCP server

Add to CursorClick the button above — Cursor will open with the pre.dev server pre-configured. Paste your API key when prompted.
3

Try it

Ask your agent:
Use pre.dev browser_agent to extract the top 10 stories from
news.ycombinator.com with title, url, and points.
Your agent calls the browser_agent tool and returns structured JSON.

What tools you get

Once the MCP server is installed, your agent has three browser tools available:

browser_agent

Run one or more browser tasks. Streams live per-step events (navigation → plan → action → screenshot) as MCP notifications so your agent sees progress in real time.Args: tasks[], concurrency, async

browser_agent_list

List the caller’s recent batches with pagination.

browser_agent_get

Fetch a single batch by id, optionally with the full event timeline.

fast_spec / deep_spec

Bonus — the same server exposes pre.dev’s Architect Agent tools for planning full software projects.

Example prompts

Use pre.dev browser_agent to extract the top 10 products from
https://www.producthunt.com with name, tagline, and upvote count.
Return a JSON array.

Live event streaming

Every step of a task emits an MCP notifications/message frame. The taskIndex field ties each event to a specific task in the batch. Your agent sees:
  • navigation — the agent loaded a URL
  • plan — the agent decided what to do next
  • action — a click, type, or scroll executed
  • screenshot — a screenshot was captured
  • done — the task completed
Event shapes are identical to the REST SSE stream — see Run a Task → SSE frames.

Auth

PREDEV_API_KEY is all you need. The key is your personal SuperTokens userId (solo) or your enterprise org API key. Same key works for REST and MCP.

Troubleshooting

  • Restart your client after adding the MCP config
  • Verify the URL is exactly https://api.pre.dev/mcp
  • Check JSON syntax in your config file
  • Confirm your API key is valid at pre.dev/projects/browser-agents
  • Make sure the Authorization header starts with Bearer (with the space)
  • Solo accounts: use your personal key. Enterprise: use the org key from your org settings
  • Check your subscription is active
browser_task, browser_task_list, browser_task_get still work as aliases — old integrations continue working without changes.