deno2-playwright-mcp-server
A Model Context Protocol server that provides browser automation capabilities using Playwright and Deno 2.
Documentation
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"
}
}
}Frequently asked questions
What is deno2-playwright-mcp-server?
deno2-playwright-mcp-server is A Model Context Protocol server that provides browser automation capabilities using Playwright and Deno 2.
How do I install deno2-playwright-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is deno2-playwright-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/jakedahn/deno2-playwright-mcp-server and has 12 stars.
Related MCP tools
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
MCP server for fetch web page content using Playwright headless browser. TypeScript-based implementation. Trusted by 800+ developers.
A Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches. Built for the Model Context Protocol to...
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP