MetorialDocs

Set up Browserbase in Metorial for Claude, ChatGPT and Cursor

Share Browserbase with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 15 tools (10 read-only).

To give your team Browserbase in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Browserbase integration in a Metorial portal, and each person connects with an API key. Agents can create and manage cloud-hosted headless browser sessions for web automation. The integration has 15 tools, 10 read-only, 2 write and 3 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Browserbase in a portal and how each person connects
  • What Browserbase asks for when you connect, and where to find it
  • How to keep the 10 read-only tools and reject the other 5

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Browserbase API Key from the dashboard settings

Setup settings

Setup also asks for:

  • projectId: Browserbase Project ID from the dashboard. Required for creating sessions and managing resources.

Admin: share Browserbase in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Browserbase. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Browserbase.

Choose who gets it

Add the access groups that should see Browserbase. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Browserbase integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search browserbase

Employee: connect Browserbase

In the portal

Open Browserbase in the catalog

Sign in to your portal and open Browserbase. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search browserbase
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Browserbase connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list browserbase
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 10 read-only tools, such as fetch_page and get_context, and lose the 2 write tools, such as create_context or create_session, and the 3 destructive tools, such as delete_context or complete_session.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list browserbase
metorial tools <integration-id>
metorial call <integration-id> list_projects -d '{}'

metorial tools lists the 15 tools, minus any you rejected. list_projects takes no input. It lists all Browserbase projects accessible with the current API key.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (10)

  • get_session_logs: Retrieve CDP (Chrome DevTools Protocol) logs for a browser session. Needs sessionId.
  • get_session: Retrieve detailed information about a specific browser session, including connection URLs, status, timing, proxy usage, and metadata. Needs sessionId.
  • list_projects: List all Browserbase projects accessible with the current API key.
  • get_session_debug_info: Retrieve live debugging URLs and page information for a running session. Needs sessionId.
  • get_project_usage: Retrieve usage statistics for a project including browser minutes consumed and proxy bytes used.
  • get_context: Retrieve details about a persistent browser context including creation time and linked project. Needs contextId.
  • list_sessions: List browser sessions with optional filtering by status or user metadata query.
  • get_extension: Retrieve details about an uploaded Chrome extension including file name and linked project. Needs extensionId.
  • get_session_recording: Retrieve session replay recording data with timestamped events. Needs sessionId.
  • fetch_page: Fetch a web page through Browserbase's cloud infrastructure. Needs url.

Write tools (2)

  • create_session: Create a new cloud browser session on Browserbase.
  • create_context: Create a new persistent browser context.

Destructive tools (3)

  • delete_context: Delete a persistent browser context. Needs contextId.
  • complete_session: End a running browser session by requesting its release. Needs sessionId.
  • delete_extension: Delete an uploaded Chrome extension. Needs extensionId.

Triggers

Browserbase has 2 triggers, which fire on events in Browserbase:

  • inbound_webhook
  • session_status_change: Detects when browser sessions change status (complete, error, or time out).

Next steps