Playwright browser & Node.js MCP. ARIA refs, screenshots, ref-based interactions.
registry version 0.9.1
npm
npx -y browser-devtools-mcpnpm
npx -y browser-devtools-mcp@0.9.1Streamable HTTP
https://{your_mcp_server_host}/mcp
Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp@0.9.1"
]
}
}
}Remote (hosted) endpoint
https://{your_mcp_server_host}/mcpClaude Desktop: Settings → Connectors → Add custom connector, paste this URL.
Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add browser-devtools-mcp -- npx -y browser-devtools-mcp
claude mcp add browser-devtools-mcp -- npx -y browser-devtools-mcp@0.9.1
terminal
claude mcp add --transport http browser-devtools-mcp https://{your_mcp_server_host}/mcpFormat verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp@0.9.1"
]
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"browser-devtools-mcp": {
"url": "https://{your_mcp_server_host}/mcp"
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}{
"servers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp@0.9.1"
]
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"browser-devtools-mcp": {
"type": "http",
"url": "https://{your_mcp_server_host}/mcp"
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp"
]
}
}
}{
"mcpServers": {
"browser-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"browser-devtools-mcp@0.9.1"
]
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"browser-devtools-mcp": {
"serverUrl": "https://{your_mcp_server_host}/mcp"
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
PLATFORM — Platform: browser (default) or node for Node.js backend debugging.PORT — Port for HTTP transport.SESSION_IDLE_SECONDS — Idle session timeout (seconds).SESSION_IDLE_CHECK_SECONDS — Interval for checking idle sessions (seconds).SESSION_CLOSE_ON_SOCKET_CLOSE — Close session when socket closes.CONSOLE_MESSAGES_BUFFER_SIZE — Maximum console messages to buffer.HTTP_REQUESTS_BUFFER_SIZE — Maximum HTTP requests to buffer.BROWSER_SERVER_INSTRUCTIONS_ENABLE — When true, include server instructions in MCP server info (browser platform). Default: true.Distributed as npm, Streamable HTTP, listed under Browser Automation. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/serkan-ozal/browser-devtools-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/browser-devtools-mcp/)
HTML
<a href="https://mcpnav.net/server/browser-devtools-mcp/"><img src="https://mcpnav.net/badge/browser-devtools-mcp.svg" alt="Listed on MCPNav" height="20"></a>