browser-devtools-mcp
by serkan-ozal
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for HTTP transport | 3000 |
| OTEL_ENABLE | No | Enable OpenTelemetry integration | false |
| OTEL_ASSETS_DIR | No | Directory containing OpenTelemetry bundle files | |
| OTEL_SERVICE_NAME | No | OpenTelemetry service name | frontend |
| FIGMA_ACCESS_TOKEN | No | Figma API access token for design comparison | |
| FIGMA_API_BASE_URL | No | Figma API base URL | https://api.figma.com/v1 |
| OTEL_EXPORTER_TYPE | No | OpenTelemetry exporter type: "otlp/http", "console", or "none" | none |
| OTEL_SERVICE_VERSION | No | OpenTelemetry service version | |
| SESSION_IDLE_SECONDS | No | Idle session timeout (seconds) | 300 |
| OTEL_EXPORTER_HTTP_URL | No | OpenTelemetry collector base URL (e.g., "http://localhost:4318") | |
| BROWSER_EXECUTABLE_PATH | No | Custom browser executable path | |
| BROWSER_HEADLESS_ENABLE | No | Run browser in headless mode | true |
| BROWSER_PERSISTENT_ENABLE | No | Use persistent browser context (preserves cookies, localStorage, etc.). Required for React tools to work optimally. | false |
| HTTP_REQUESTS_BUFFER_SIZE | No | Maximum HTTP requests to buffer | 1000 |
| OTEL_EXPORTER_HTTP_HEADERS | No | OpenTelemetry exporter HTTP headers (comma-separated key=value pairs) | |
| SESSION_IDLE_CHECK_SECONDS | No | Interval for checking idle sessions (seconds) | 30 |
| CONSOLE_MESSAGES_BUFFER_SIZE | No | Maximum console messages to buffer | 1000 |
| SESSION_CLOSE_ON_SOCKET_CLOSE | No | Close session when socket closes | false |
| BROWSER_USE_INSTALLED_ON_SYSTEM | No | Use system-installed Chrome browser instead of Playwright's bundled browser | false |
| BROWSER_PERSISTENT_USER_DATA_DIR | No | Directory for persistent browser context user data | ./browser-devtools-mcp |
| OTEL_INSTRUMENTATION_USER_INTERACTION_EVENTS | No | User interaction events to instrument (comma-separated, e.g., "click,submit") | click |
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 | |