Skip to main content
Glama
davidkim9

Playwright Vision MCP Server

by davidkim9

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port4201
BROWSER_TYPENoBrowser engine to use (chromium, firefox, webkit)chromium
MCP_AUTH_TOKENNoAuthentication token for HTTP server (optional)
OPENAI_API_KEYNoOpenAI API key (required for analyze_image tool)
SCREENSHOT_DIRNoDirectory for saving screenshots./screenshots
OPENAI_BASE_URLNoOptional custom base URL for OpenAI-compatible APIshttps://api.openai.com/v1
OPENAI_VISION_MODELNoVision model for analyze_image toolgpt-4.1-mini
PLAYWRIGHT_HEADLESSNoRun browser in headless mode (true/false)true

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
navigate_urlC

Navigate to a URL using a server-managed session and analyze sections and internal links

click_elementB

Click on elements using the server-managed session

get_contentB

Extract content from the page using the server-managed session

close_sessionA

Close all browser sessions managed by the server and clear current session

run_playwrightA

Execute custom async Playwright code using the server-managed session

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/davidkim9/playwright-vision-mcp'

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