Deno 2 Playwright Model Context Protocol Server Example

Deno 2 Playwright Model Context Protocol Server Example

By MCP-Mirror GitHub

Mirror of

browser-automation playwright
Overview

What is Deno 2 Playwright Model Context Protocol Server?

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.

How to use Deno 2 Playwright Model Context Protocol Server?

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.

Key features of Deno 2 Playwright Model Context Protocol Server?

  • Browser automation capabilities using Playwright.
  • Ability to interact with web pages and execute JavaScript.
  • Supports multiple operating systems for building binaries.

Use cases of Deno 2 Playwright Model Context Protocol Server?

  1. Automating web testing and interactions.
  2. Taking screenshots of web pages programmatically.
  3. Executing JavaScript in a controlled browser environment.

FAQ from Deno 2 Playwright Model Context Protocol Server?

  • 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.

Content

Deno 2 Playwright Model Context Protocol Server Example

A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

This repo uses Deno 2, which has nice ergonomics, because you can compile a binary and run it without any runtime dependencies.

This code is heavily based on the official Puppeteer MCP server, which you can find here: https://github.com/modelcontextprotocol/servers/tree/main/src/puppeteer

How to build

Only the mac binary build has been tested, but you should be able to build an executable binary for linux x86_64, linux ARM64, and windows x86_64.

  • deno task build-mac
  • deno task build-linux-x86_64
  • deno task build-linux-ARM64
  • deno task build-windows-x86_64

How to run

To invoke the playwright-server binary, you need to update your ~/Library/Application\ Support/Claude/claude_desktop_config.json to point to the binary.

{
  "mcpServers": {
    "playwright": {
      "command": "/path/to/deno2-playwright-mcp-server/playwright-server"
    }
  }
}
No tools information available.

Mirror of

browser-automation MCP-server
View Details
playwright-mcp
playwright-mcp by playwright-mcp

This MCP Server will help you run browser automation and webscraping using Playwright

playwright browser-automation mcp playwright
View Details
Puppeteer
Puppeteer by modelcontextprotocol

Browser automation and web scraping

browser-automation web-scraping
View Details
Playwright Mcp
Playwright Mcp by microsoft

Playwright MCP server

mcp playwright
View Details

This package vendors a subset of [browser-use](

browser-automation mcp-tools
View Details

Mirror of

browser-automation AI-agents
View Details

Automatically create a remote browser to complete your specified tasks, developed based on Browser Use + Sandbox. 自动创建一个远程浏览器,完成你指定的任务,基于Browser Use + Sandbox开发。

browser-automation remote-browser
View Details