drio
Open app

Deno 2 Playwright Model Context Protocol Server Example

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

Deno 2 Playwright Model Context Protocol Server is a server that provides browser automation capabilities using Playwright, allowing LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

To use the server, you need to build the executable binary for your operating system and update your configuration file to point to the binary location.

  • Browser automation capabilities using Playwright. - Ability to interact with web pages and execute JavaScript. - Supports multiple operating systems for building binaries.
  1. Automating web testing and interactions.
  2. Taking screenshots of web pages programmatically.
  3. Executing JavaScript in a controlled browser environment.

Add to your AI client

Use these steps to connect Deno 2 Playwright Model Context Protocol Server Example in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "jakedahn-deno2-playwright-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jakedahn-deno2-playwright-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What platforms does the server support?

The server supports macOS, Linux (x86_64 and ARM64), and Windows.

Is there a specific build process for each platform?

Yes, there are specific build commands for each platform as outlined in the documentation.

Can I use this server for any web automation task?

Yes, as long as it involves browser interactions, this server can be utilized.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":637,"uuid":"2dd7a7c7-af07-437c-97db-d198206550c6","name":"jakedahn_deno2-playwright-mcp-server","title":"Deno 2 Playwright Model Context Protocol Server Example","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:24:44.181Z","updated_at":"2025-02-23T07:15:13.597Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"browser-automation,playwright,deno","category":"browser-automation","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/jakedahn_deno2-playwright-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]