Browserless MCP server for AI agents

Live

API KEY

BROWSER AUTOMATION

Developer Tools

Browserless gives your agent headless browser automation in your Browserless account: scrape and crawl pages, search and map sites, run BQL and custom functions, and manage browser profiles and sessions.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Browserless
agent · Acme Q3
Run
Scrape the headline and price from this product page.
S
browserless_scrape
1980ms
Browser agent
Scraped the page and returned the headline and the price as structured fields.
Sources: Browserless scrape, 1 page
browserless
1 page
18:29
Message Claude...

Tools your browser automation agent reaches for on Browserless, scoped per user.

CALL ANY TOOL
36 tools for browser automation in Browserless: scrape and crawl pages, search and map sites, run BQL and custom functions, capture content and performance data, and manage profiles and sessions.
browserless_agent_run_cancel
Cancel agent run
Cancel an active agent run (including one waiting for a human), or delete a finished one. Returns the result of the cancellation or deletion. Use this to stop a run or remove its record.
Parameters
Name
Type
Required
Description
run_id
string
Required
Agent run ID returned by browserless_agent_run_create or browserless_agent_runs_list. Example: ar_5d2e9f1c8b3a.
browserless_agent_run_create
Create agent run
browserless_agent_run_get
Get agent run
browserless_agent_runs_list
List agent runs
browserless_batch_scrape_cancel
Cancel batch scrape
browserless_batch_scrape_create
Create batch scrape
browserless_batch_scrape_get
Get batch scrape
browserless_bql_run
Run bql
browserless_browser_pages_list
List browser pages
browserless_content
Content
browserless_crawl_create
Create crawl
browserless_crawl_get
Get crawl
browserless_crawls_list
List crawls
browserless_function_run
Run function
browserless_live_url_close
Close live url
browserless_live_url_create
Create live url
browserless_live_url_get
Get live url
browserless_map
Map
browserless_meta_get
Get meta
browserless_performance
Performance
browserless_profile_delete
Delete profile
browserless_profile_get
Get profile
browserless_profile_rename
Profile rename
browserless_profile_sites_remove
Remove profile sites
browserless_profiles_list
List profiles
browserless_proxy_cities_list
List proxy cities
browserless_scrape
Scrape
browserless_search
Search
browserless_session_delete
Delete session
browserless_smart_scrape
Smart scrape

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Browserless tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["browserless"], toolNames: [
    "browserless_map",
    "browserless_scrape",
    "browserless_content"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Map the URLs on this site, scrape the pricing page, and return its content" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["browserless"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Map the URLs on this site, scrape the pricing page, and return its content" }],
  tools,
});

// Execute the tool call with the user's vaulted Browserless API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["browserless"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Map the URLs on this site, scrape the pricing page, and return its content" }],
  tools,
});

// Tool call runs with the user's vaulted Browserless API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["browserless"] }, pageSize: 100,
});

const agent = new Agent({
  name: "browser_agent",
  model: "gemini-2.5-pro",
  instruction: "Browserless tools scoped to this user",
  tools,
});

await agent.run("Map the URLs on this site, scrape the pricing page, and return its content");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Browserless tool. Click to copy, paste into your agent, done.
Scrape and search
Copy the prompt
Copied
Scrape the headline and price from this page.
Copy the prompt
Copied
Get the content of this URL.
Copy the prompt
Copied
Search the web for this topic and return the top results.
Crawl and map
Copy the prompt
Copied
Map the URLs on this site.
Copy the prompt
Copied
Start a crawl of this site.
Copy the prompt
Copied
Check the status of my crawl.
Sessions and profiles
Copy the prompt
Copied
Create a browser session.
Copy the prompt
Copied
List my browser profiles.
Copy the prompt
Copied
Open a live URL for this session.
SEE HOW AUTH WORKS
Each user connects their own Browserless API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Browserless
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Browserless
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Browserless
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Browserless
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other developer tools and automation connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Test other agents
See the same per-user auth pattern across other developer tools and automation connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Browserless API key looks fine in a demo. In production every scrape and crawl looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Browserless today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Browserless as the user or through a shared key?
As the user. Each user connects their own Browserless API key once, and Scalekit sends it with every call. Audit logs attribute every scrape, crawl, and session to that user, not a shared service account.
Where is the Browserless API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Browserless?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example scrape, content, and map without browserless_function_run or browserless_session_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Browserless access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent run code in Browserless?
Only if you expose those tools. browserless_function_run runs a custom function and browserless_bql_run runs a BrowserQL query. Leave them out of toolNames to keep the agent to scrape, content, and map.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""browserless"": {
""url"": ""https://mcp.scalekit.com/browserless"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.browserless]
url = ""https://mcp.scalekit.com/browserless""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""browserless"": {
""url"": ""https://mcp.scalekit.com/browserless"",
""type"": ""http""
}
}
}