Playwright MCP with Electron Support
by robertn702
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Path to your Electron application's working directory. | |
| caps | No | Comma-separated list of capabilities to enable, possible values: tabs, pdf, history, wait, files, install. Default is all. | |
| host | No | Host to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces. | |
| port | No | Port to listen on for SSE transport. | |
| config | No | Path to the configuration file. | |
| device | No | Device to emulate, for example: "iPhone 15" | |
| vision | No | Run server that uses screenshots (Aria snapshots are used by default). | |
| browser | No | Browser or chrome channel to use, possible values: chrome, firefox, webkit, msedge, electron. | |
| headless | No | Run browser in headless mode, headed by default. | |
| isolated | No | Keep the browser profile in memory, do not save it to disk. | |
| no-sandbox | No | Disable the sandbox for all process types that are normally sandboxed. | |
| output-dir | No | Path to the directory for output files. | |
| save-trace | No | Whether to save the Playwright Trace of the session into the output directory. | |
| user-agent | No | Specify user agent string. | |
| cdp-endpoint | No | CDP endpoint to connect to. | |
| proxy-bypass | No | Comma-separated domains to bypass proxy, for example ".com,chromium.org,.domain.com" | |
| proxy-server | No | Specify proxy server, for example "http://myproxy:3128" or "socks5://myproxy:8080" | |
| browser-agent | No | Use browser agent (experimental). | |
| storage-state | No | Path to the storage state file for isolated sessions. | |
| user-data-dir | No | Path to the user data directory. If not specified, a temporary directory will be created. | |
| viewport-size | No | Specify browser viewport size in pixels, for example "1280, 720" | |
| allowed-origins | No | Semicolon-separated list of origins to allow the browser to request. Default is to allow all. | |
| blocked-origins | No | Semicolon-separated list of origins to block the browser from requesting. Blocklist is evaluated before allowlist. If used without the allowlist, requests not matching the blocklist are still allowed. | |
| executable-path | No | Path to the browser executable. | |
| image-responses | No | Whether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto", which sends images if the client can display them. | |
| ignore-https-errors | No | Ignore https errors. | |
| block-service-workers | No | Block service workers. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/robertn702/playwright-mcp-electron'
If you have feedback or need assistance with the MCP directory API, please join our Discord server