Skip to main content
Glama
killaragorn

cdp-browser-mcp

by killaragorn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
cdp_connectA

Attach to an already-running Chromium browser via CDP (does not launch a browser). Accepts HTTP (http://127.0.0.1:9222) or WebSocket URLs. Pass capture_dir to start saving every matching request as JSON into that folder (no count limit). Returns session_id for later tools.

cdp_navigateC

Navigate the session's current page to a URL.

cdp_reloadB

Reload the current page.

cdp_go_backC

Go back in history.

cdp_screenshotB

Capture the current page as a PNG screenshot (returned as image content).

cdp_clickA

Click an element by CSS selector, or click at page coordinates (x, y). Supports right/middle click, double-click, and modifier keys.

cdp_hoverA

Hover the mouse over an element matched by CSS selector.

cdp_mouse_moveA

Move the mouse to page coordinates without clicking.

cdp_typeA

Input text. With selector: fill the element (or type key-by-key). Without selector: type into the focused element. Modes: fill (replace value), type (real key events), insert (paste-like, no key events).

cdp_pressA

Press a key or shortcut, e.g. "Enter", "Tab", "Escape", "Control+A", "Meta+V". Optional selector focuses that element first.

cdp_selectB

Choose option(s) on a element by value, label, or index.

cdp_checkB

Check or uncheck a checkbox / radio.

cdp_uploadA

Set files on an . Paths must exist on the machine running this MCP server.

cdp_scrollA

Scroll an element into view, wheel by delta, or jump to page coordinates.

cdp_evaluateB

Run a JavaScript expression in the page and return the JSON-serializable result.

cdp_contentA

Get page HTML, or innerHTML of a selector. Large documents are truncated.

cdp_page_infoA

Return the current page URL, title, and frame URLs.

cdp_waitA

Wait until a CSS selector appears, or wait a fixed timeout in milliseconds if no selector is given.

cdp_network_startA

Start network capture for this session. Every matching request is written as a JSON file into dir (plus requests.jsonl). No count limit. Call before navigating if you need the first document request.

cdp_network_stopB

Stop capturing. Files already written to dir are kept.

cdp_network_logA

List requests already saved on disk. Default last 50 summaries. Use include_body / include_headers to read the JSON files. Capture must have a dir (from cdp_connect capture_dir or cdp_network_start).

cdp_wait_responseA

Wait until a response whose URL contains url_contains (optional method/status). Returns status, headers, and a truncated body.

cdp_get_cookiesA

Read cookies from the browser context. Optional url limits the set.

cdp_set_cookiesC

Write cookies onto the browser context of this session.

cdp_list_sessionsA

List all active CDP sessions in this MCP process.

cdp_closeA

Disconnect this session from the browser and drop it from the session list.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/killaragorn/cdp-browser-mcp'

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