Skip to main content
Glama
Euraxluo

Browser-MCP Server

by Euraxluo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BROWSER_INSTANCE_TTLNoSession TTL in seconds (default: 30 minutes)1800
BROWSER_EXECUTE_TIMEOUTNoCommand execution timeout in seconds30
BROWSER_CLEANUP_INTERVALNoCleanup interval in seconds60
BROWSER_MAXIMUM_INSTANCESNoMaximum number of concurrent browser instances10

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
create_chrome_instanceB

Create a new Chrome browser instance and return session_id (UUID)

close_instanceB

Close a specific Chrome browser instance by session_id, will delete the instance and all related data

get_instance_infoB

Get detailed information about a specific browser instance

check_browser_healthC

Check the health status of a browser session and provide recovery suggestions

get_browser_statusA

Get current browser status, including all instances and their status,only admin can use this tool

close_all_instancesA

Close all browser instances and delete all related data, only admin can use this tool

set_browser_configC

Set advanced browser configuration for a specific instance. If you want to change the viewport, you can use the set_browser_config tool to change the viewport_width and viewport_height.

get_browser_configC

Get advanced browser configuration for a specific instance

navigate_toA

Navigate to URL in current tab or new tab (does not auto-switch to new tab).

navigate_backB

Go back in current tab's history.

navigate_forwardB

Navigate forward in browser history

refresh_pageC

Refresh the current page

get_page_stateB

Get current page state and interactive elements; frames mode is unstable and may not extract all details.

get_tabs_infoB

Get information about all open browser tabs

close_tabB

Close a specific tab, if the tab is the last one, it will goto about:blank

switch_tabC

Switch to a specific browser tab and return the tab info object

click_element_by_xpathC

Click an interactive element by XPath with confirmation

click_elementC

Click an interactive element by index with confirmation

input_textC

Input text into a form field

set_element_valueC

Set value of an input or select element directly, supports frames

get_element_infoC

Get detailed information about a DOM element (supports index or xpath query), can get the value of the element

send_keysC

Send keyboard keys to the browser

scroll_pageC

Scroll page up or down

upload_fileC

Upload file to file input element

generate_pdfB

Generate PDF from current page, URL, or HTML content

take_screenshotC

Take screenshot with structured result, it will take screenshot of the target element if target is not None, otherwise it will take screenshot of the full page, otherwise it will take screenshot of the current viewport Screenshot page or element (by target selector, supports CSS/XPath, e.g. 'button', '//button', 'css=button', 'xpath=//button'). See: https://playwright.dev/python/docs/locators#locate-by-css-or-xpath

download_fileB

Download any file from URL to the temp directory. Use fetch+blob+a.download, if failed, fallback to goto+expect_download, maximum compatibility.

download_imageC

Download a image from URL, it will download the image to the temp directory, and return the file path, it will open a new tab if the image is not from the same origin as the current page

set_cookieC

Set a cookie in the browser

get_cookiesC

Get cookies from the browser

waitB

Wait for specified number of seconds with progress

search_bingC

Search Bing for a query with progress tracking

extract_contentB

Extract content from page based on query, including all frames/iframes

get_dropdown_optionsC

Get options from a dropdown/select element, it will return the options of the element, and the id and name of the element

browser_tipsC

LLM-oriented best practices and practical tips for robust, step-by-step use of browser MCP tools.

Prompts

Interactive templates invoked by user choice

NameDescription
web_testingGenerate a prompt for web testing scenarios
data_extractionGenerate a prompt for extracting data from web pages
form_fillingGenerate a conversation for automated form filling
automation_troubleshootingGenerate a prompt for troubleshooting browser automation issues

Resources

Contextual data attached and managed by the client

NameDescription
get_browser_status_resourceGet current browser status as a resource, only admin can use this tool
get_instances_resourceGet detailed information about all browser instances, only admin can use this tool
get_help_resourceGet concise help: all tools and resources, grouped and described.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Euraxluo/browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server