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
- A portal with at least one access group
- An API key from Browserbase for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | apiKey |
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:
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
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.
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 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. NeedssessionId.get_session: Retrieve detailed information about a specific browser session, including connection URLs, status, timing, proxy usage, and metadata. NeedssessionId.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. NeedssessionId.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. NeedscontextId.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. NeedsextensionId.get_session_recording: Retrieve session replay recording data with timestamped events. NeedssessionId.fetch_page: Fetch a web page through Browserbase's cloud infrastructure. Needsurl.
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. NeedscontextId.complete_session: End a running browser session by requesting its release. NeedssessionId.delete_extension: Delete an uploaded Chrome extension. NeedsextensionId.
Triggers
Browserbase has 2 triggers, which fire on events in Browserbase:
inbound_webhooksession_status_change: Detects when browser sessions change status (complete, error, or time out).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Browserbase there
- Tool permissions: tool filters and what employees see
- Browserbase on metorial.com: the integration overview