Skip to main content
Glama
johnjd059-cloud

Playwright MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort the auth gate binds to; Render routes to it.10000
MCP_TOKENYesRequired. Bearer token every request must present. The container refuses to start without it. Rotate by editing the value (or clicking Generate again) in the Dashboard and updating your clients.
UPSTREAM_PORTNoLoopback port the MCP server listens on behind the gate. Change only if it collides with something inside the container.8931
PLAYWRIGHT_MCP_HOSTNoHost for the MCP server when run directly (outside this image). On Render, render-entrypoint.sh passes the equivalent CLI flag and CLI flags win, so setting this in the Render dashboard has no effect.
PLAYWRIGHT_MCP_HEADLESSNoHeadless mode for the MCP server when run directly (outside this image). On Render, render-entrypoint.sh passes the equivalent CLI flag and CLI flags win, so setting this in the Render dashboard has no effect.
PLAYWRIGHT_MCP_NO_SANDBOXNoNo-sandbox mode for the MCP server when run directly (outside this image). On Render, render-entrypoint.sh passes the equivalent CLI flag and CLI flags win, so setting this in the Render dashboard has no effect.
PLAYWRIGHT_MCP_ALLOWED_HOSTSNoComma-separated allowed hosts for the server's host check. Set when using a custom domain, e.g. myapp.com,myapp.onrender.com; '*' disables the check. The entrypoint honors this variable.

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
browser_closeB

Close the page

browser_resizeB

Resize the browser window

browser_console_messagesB

Returns all console messages

browser_handle_dialogC

Handle a dialog

browser_evaluateB

Evaluate JavaScript expression on page or element

browser_file_uploadB

Upload one or multiple files

browser_dropA

Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.

browser_fill_formB

Fill multiple form fields

browser_press_keyB

Press a key on the keyboard

browser_typeB

Type text into editable element

browser_navigateC

Navigate to a URL

browser_navigate_backA

Go back to the previous page in the history

browser_network_requestsA

Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.

browser_network_requestA

Returns full details (headers and body) of a single network request, or a single part if part is set. Use the number from browser_network_requests.

browser_run_code_unsafeA

Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.

browser_take_screenshotA

Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.

browser_snapshotB

Capture accessibility snapshot of the current page, this is better than screenshot

browser_clickB

Perform click on a web page

browser_dragA

Perform drag and drop between two elements

browser_hoverA

Hover over element on page

browser_select_optionB

Select an option in a dropdown

browser_tabsA

List, create, close, or select a browser tab.

browser_wait_forA

Wait for text to appear or disappear or a specified time to pass

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 23 tools

Disambiguation4/5

Most tools have clearly distinct purposes, but a few pairs overlap: browser_evaluate vs browser_run_code_unsafe both execute code, browser_take_screenshot vs browser_snapshot both capture page state, and browser_network_requests vs browser_network_request are related list/detail operations. These are distinguishable from descriptions, but an agent could still misselect in edge cases.

Naming Consistency5/5

All tool names use a consistent browser_ prefix followed by snake_case, with predictable verb_noun or action phrases. There is no mixing of conventions or casing styles, making the toolset easy to scan and remember.

Tool Count4/5

With 23 tools, the surface is large but reasonable for a full browser automation server covering navigation, interaction, forms, network, console, tabs, and screenshots. A few niche tools could be consolidated, but each broadly earns its place.

Completeness4/5

The set covers most browser automation needs: navigation, clicking, typing, form filling, keyboard, hover, select, drag/drop, file upload, dialogs, JavaScript evaluation, network inspection, console, tabs, waits, screenshots, and snapshots. Minor gaps exist, such as forward navigation and explicit reload, but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo issues