Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
hostNoHTTP bind host.127.0.0.1
portNoStart Streamable HTTP server on this port. When omitted, stdio transport is used.stdio
headedNoShow visible browser windows.false
browserNoDefault browser engine: chromium, firefox, or webkit.chromium
channelNoBrowser channel, e.g. chrome or msedge.
headlessNoRun browsers headlessly.true
max-tabsNoMaximum open tabs per session.20
LOG_LEVELNoStructured logging level: debug, info, warn, or error, configured on stderr.
LOG_FORMATNoStructured logging format, e.g. json, configured on stderr.
auth-tokenNoBearer token for HTTP transport (or MCP_AUTH_TOKEN).
max-sessionsNoMaximum concurrent browser sessions.10
allowed-rootsNoComma-separated allowed directories for file reads/writes.cwd + tmpdir
viewport-sizeNoDefault viewport dimensions.1280x720
MCP_AUTH_TOKENNoBearer token for HTTP transport (alternative to --auth-token).
allow-any-pathNoDisable path root confinement.false
allow-run-codeNoEnable browser_run_code in HTTP mode. Default is true for stdio and false for HTTP.
allow-file-urlsNoAllow file:// URL navigation.false
allowed-originsNoComma-separated allowed Origin headers for HTTP.same host/loopback
disable-run-codeNoDisable browser_run_code in all modes.false
no-auto-snapshotNoDisable automatic snapshots after actions.false
snapshot-max-charsNoTruncate snapshots above N characters.unlimited
block-private-networksNoBlock RFC1918/loopback targets via DNS and route checks. Default is false for stdio and true for non-loopback HTTP.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_session_createA

Launch a new isolated browser session (instance + context). Use this to run multiple independent browsers, accounts, engines, or proxies concurrently.

browser_session_listA

List all open browser sessions with their IDs, labels, engines, active status, tab counts, and current URLs.

browser_session_switchA

Switch the default active browser session used when sessionId is omitted from subsequent tool calls.

browser_session_closeB

Close a specific browser session, the active session, or all open browser sessions.

browser_session_storage_stateA

Export cookies and localStorage from a browser session (optionally saving to a file) so auth state can be inspected or cloned into another session.

browser_navigateC

Navigate to a URL in the target browser session.

browser_navigate_backB

Go back to the previous page in the browser history.

browser_tabsB

List, create, close, or select tabs within a browser session.

browser_resizeC

Resize the active browser page viewport in the target session.

browser_closeA

Close the target browser session (alias of browser_session_close for single-session compatibility).

browser_clickC

Perform a click on a web page element identified by its snapshot ref.

browser_typeB

Type text into an editable element identified by its snapshot ref.

browser_fill_formB

Fill multiple form fields at once using their snapshot refs.

browser_select_optionA

Select one or more options in a dropdown () element.

browser_hoverB

Hover the mouse pointer over an element identified by its snapshot ref.

browser_dragB

Perform drag and drop between two elements identified by their snapshot refs.

browser_press_keyB

Press a keyboard key or key combination (e.g. 'Enter', 'ArrowDown', 'Control+A').

browser_file_uploadB

Upload one or more files to a file input or trigger the next file chooser.

browser_handle_dialogB

Accept or dismiss a pending browser JavaScript dialog (alert, confirm, prompt).

browser_snapshotA

Capture an accessibility tree snapshot of the current page with element refs (e.g. [ref=e5]). Prefer this over screenshots for reasoning and element targeting.

browser_take_screenshotC

Take a visual screenshot of the current page or a specific element.

browser_console_messagesA

Retrieve captured browser console messages (logs, warnings, errors) for the target session.

browser_network_requestsB

List HTTP network requests observed in the target browser session, with optional resource type and URL substring filters.

browser_network_detailsA

Inspect full request/response headers, status, timing, and byte sizes for a specific request ID returned by browser_network_requests.

browser_wait_forB

Wait for text to appear, text to disappear, or a specified number of seconds in the target session.

browser_evaluateC

Evaluate a JavaScript expression or function in the browser page context (or on a specific element ref).

browser_run_codeC

Run a custom async Playwright snippet with page, context, and sessionId in scope.

browser_auditB

Run a comprehensive page audit (Performance, Accessibility, Best Practices, SEO) on the target session's page or a given URL with mobile/desktop emulation and optional network/CPU throttling.

browser_performance_scoreA

Measure a focused performance score (0-1), Core Web Vitals (FCP, LCP, TBT, CLS, TTFB), and optimization opportunities for the current page or a target URL.

browser_trace_startB

Start a Chrome DevTools CDP performance trace on the target session to measure Core Web Vitals, Long Tasks, TBT, and main-thread breakdown.

browser_trace_stopA

Stop an active performance trace in the target session, optionally save the raw trace file, and return analyzed performance insights.

browser_trace_insightB

Inspect detailed metrics for a specific insight category from the most recent recorded trace in the target session.

browser_performance_metricsA

Capture live Chromium DevTools performance metrics (JS heap usage, DOM nodes, layout/recalc counts, script duration) and current navigation/paint timings without reloading.

browser_emulateC

Emulate network conditions, CPU throttling, viewport/mobile device metrics, userAgent, geolocation, CSS media features (colorScheme, reducedMotion, forcedColors, contrast), or extra HTTP headers on a session.

browser_css_stylesA

Inspect computed CSS styles, inline styles, and matched CSS cascade rules for an element ref from browser_snapshot.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 35 tools

Disambiguation3/5

Core interaction tools (click, type, hover, drag, select_option) are distinct, but the performance/audit cluster overlaps heavily: browser_audit, browser_performance_score, browser_performance_metrics, browser_trace_start/stop/insight all measure page performance with subtly different scope. browser_close is explicitly an alias of browser_session_close, and browser_evaluate vs browser_run_code have fuzzy boundaries.

Naming Consistency4/5

Nearly all tools use a snake_case browser_<verb>_<noun> pattern (browser_session_create, browser_navigate_back, browser_network_details). Minor deviations exist where the pattern collapses to a bare noun or verb (browser_tabs, browser_snapshot, browser_audit), but the prefix convention makes the set readable and predictable.

Tool Count2/5

35 tools is heavy for the domain and includes clear redundancy: a legacy alias (browser_close), four performance-measurement tools, and three overlay-style tools that could be consolidated. Splitting session lifecycle, navigation, interaction, inspection, and performance into this many endpoints creates a large surface to triage.

Completeness4/5

Coverage is strong for browser automation: session lifecycle, storage state export, navigation, rich element interaction, file upload, dialogs, snapshots, console/network inspection, emulation, and performance tracing are all present. Minor gaps remain around cookie manipulation, request interception/mocking, downloads, and dedicated iframe handling, which could block some workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues