Using BrowseMCP
Once your browser is connected, just talk to your AI agent. Say what you want in plain words. The agent picks the right browser actions by itself.
What to ask
- "Open our docs site and check if the install page has any broken links."
- "Compare the pricing on these three websites."
- "Log into the admin panel and download this month's invoices."
- "Take a screenshot of the homepage."
The agent works in your own browser, so it's already signed in to your sites.
Screenshots come back as images, so the agent can see the page too.
Using more than one browser
If you've connected several browsers, the agent can list them. They are named browser_1, browser_2, and so on.
Just tell the agent which one to use:
"Use browser_2 and open the staging dashboard."
If only one browser is online, you don't need to say which.
Running several agents at once
Every browser tool takes a session name, and agents must send one. Each session gets its own tab group, named after it (for example MCP · checkout-tests), so two agents working in different projects can use the same browser without touching each other's tabs.
Your agent picks a name by itself, usually the project it's working on. You can also tell it which one to use:
"Use the session name
blog-redesignfor the browser."
Use the same name for the whole conversation, so the agent keeps working in the same tabs.
Staying safe
- The agent only works in its own tab group, named after its session.
- It can't see or touch your other tabs.
- You can watch it work, and close the tab group any time.
- If the agent needs a page, let it open the page itself. It can't use tabs you opened.
- To pause a browser or stop everything, use your Workspace page.
Tool reference
You don't need to know these names — your agent picks them for you. They're listed here for reference.
Pages
| Tool | What it does |
|---|---|
navigate | Open a URL |
go_back | Go back |
go_forward | Go forward |
reload | Reload the page |
wait_for_selector | Wait for something to appear |
Tabs
| Tool | What it does |
|---|---|
new_tab | Open a new tab in the agent's group |
close_tab | Close a tab |
get_url | Get the page address |
get_title | Get the page title |
Reading
| Tool | What it does |
|---|---|
get_content | Get the page text |
get_page_html | Get the page HTML |
get_element_text | Get one element's text |
get_element_html | Get one element's HTML |
get_attribute | Get an element attribute |
screenshot | Take a screenshot |
Doing things
| Tool | What it does |
|---|---|
find_elements | List the buttons, links and fields on the page, so the agent can pick one by its text |
click | Click something, by its visible text or a selector. Uses a real mouse click, so menus and dropdowns work |
type | Type into a field with real keystrokes. Can press Enter afterwards |
hover | Hover over something |
scroll | Scroll the page |
select_option | Pick from a dropdown |
send_keystroke | Press a key, like Enter, Escape or an arrow key |
Cookies and scripts
| Tool | What it does |
|---|---|
get_cookies | Read cookies |
set_cookie | Set a cookie |
delete_cookie | Delete a cookie |
execute_script | Run JavaScript on the page and get the result back. For clicking and typing, click and type work better |
Browsers
| Tool | What it does |
|---|---|
list_browsers | List your connected browsers |