Skip to main content
Glama
mcp-server-visual-stack-browser

mcp-server-visual-stack-browser

by cadivus

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
start_browserA

Launch a Chrome or Firefox browser session. Returns a session ID used by subsequent browser tools.

execute_javascriptB

Execute JavaScript in the current browser page. The return value of the script is returned as text. Set async to true to write code that uses await.

get_console_logsA

Fetch browser console log entries accumulated since the session started. Each entry has a unique time-based ID (unix timestamp in ms). Use get_console_log_stacktrace to retrieve the stack trace for a specific entry.

get_console_log_stacktraceA

Get the stack trace for a specific browser console log entry by its ID. Only available for entries that include CDP stack trace data (Chrome).

take_screenshotA

Returns the current page as a PNG image blob for visual inspection. Use only when you need to analyse layout, images, or visual structure. For reading text or locating text buttons use ocr_screenshot instead — it is faster and costs no vision tokens.

click_at_coordinatesA

Click at (x, y) coordinates in the viewport. Use take_screenshot first to visually locate the target element and determine its coordinates. If coordinates were obtained from a resized screenshot, set relative_by_width/height to the screenshot dimensions to map them back.

scrollA

Scroll the page up, down, left, or right by a percentage of the viewport size. Returns whether further scrolling is possible in each direction.

ocr_screenshotA

PREFERRED over take_screenshot when you only need text or want to locate/click a text element (cheaper, no vision model needed). Runs OCR on the current page. blocks=false (default) returns a plain string. blocks=true returns JSON: [{ text, center_x, center_y, is_likely_button? }] — spatially grouped phrases that isolate buttons, labels, links, etc. is_likely_button field is only present when true (text has a visible border/frame and looks clickable). center_x/center_y are ready to pass to click_at_coordinates. Use ocr_screenshot_search to find a specific word or phrase.

ocr_screenshot_searchA

OCR the current page and search for a specific word or phrase. Returns all matches as [{ phrase, granularity, center_x, center_y }] — center_x/center_y are ready to pass to click_at_coordinates. Searches across all granularity levels (word → line → paragraph → block) so both single words and multi-word phrases are found.

type_textA

Type a string of text into the currently focused element. This simulates real keypresses one character at a time. Make sure the target element is focused first (e.g. by clicking on it).

press_keyA

Press a key or key combination. Supports special keys like Enter, Backspace, Tab, Escape, ArrowUp, etc. For key combinations, use '+' as separator: 'Control+c', 'Control+Shift+a', 'Meta+v' (Cmd on Mac). Common keys: Enter, Backspace, Delete, Tab, Escape, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End, PageUp, PageDown, F1-F12, Control, Shift, Alt, Meta. For single printable characters, prefer type_text instead.

navigateB

Navigate the browser to a URL. Waits for the page to finish loading before returning.

get_current_urlB

Get the current URL of the browser page. Returns the full URL including any query parameters and fragments.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 13 tools

Disambiguation5/5

Each tool targets a distinct action: navigation, clicking, typing, key presses, scrolling, JS execution, console logs, URL, and three clearly differentiated capture modes. The descriptions explicitly resolve the only potential overlaps (take_screenshot vs ocr_screenshot vs ocr_screenshot_search, and get_console_logs vs get_console_log_stacktrace), telling the agent which to prefer and why.

Naming Consistency4/5

All names are lowercase snake_case, which keeps the set readable. However, the verb position varies: most are verb_noun (get_console_logs, take_screenshot, click_at_coordinates, type_text, press_key) while ocr_screenshot and ocr_screenshot_search lead with a noun, and scroll/navigate are bare verbs.

Tool Count5/5

13 tools sits squarely in the well-scoped range for a browser automation server, with each tool covering a distinct primitive (session, navigation, input, capture, inspection). No tool feels redundant or padded.

Completeness4/5

Core browser lifecycle is covered: launch, navigate, click, type, key, scroll, capture, inspect DOM via JS, and read console/URL. Gaps remain: there is no close/stop session tool to pair with start_browser, no selector-based click/typing, and no tab/window or wait-for-element handling, though execute_javascript provides a workaround for most of these.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues