MCP.so
登录

Deno 2 Playwright Model Context Protocol Server Example

@jakedahn

关于 Deno 2 Playwright Model Context Protocol Server Example

A Model Context Protocol server that provides browser automation capabilities using Playwright and Deno 2.

基本信息

分类

浏览器自动化

许可证

MIT

运行时

node

传输方式

stdio

发布者

jakedahn

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Deno 2 Playwright Model Context Protocol Server Example?

A Model Context Protocol server that enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment using Playwright. It is built with Deno 2 and can be compiled into a standalone binary with no runtime dependencies. This server is heavily based on the official Puppeteer MCP server.

How to use Deno 2 Playwright Model Context Protocol Server Example?

First build a binary using one of the provided deno task commands (e.g., deno task build-mac). Then update your Claude desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json) to point to the compiled playwright-server binary. The server is invoked by Claude via the Model Context Protocol.

Key features of Deno 2 Playwright Model Context Protocol Server Example

  • Browser automation using Playwright
  • Take screenshots of web pages
  • Execute JavaScript in a browser context
  • Compilable to standalone binary (mac, linux, windows)
  • No runtime dependencies after compilation

Use cases of Deno 2 Playwright Model Context Protocol Server Example

  • LLM agents that need to fetch and interact with live web pages
  • Automated web scraping and content extraction with screenshot verification
  • Testing web application behavior from an AI assistant
  • Rendering JavaScript‐heavy pages that require a real browser

FAQ from Deno 2 Playwright Model Context Protocol Server Example

What does this server do?

It provides browser automation capabilities via the Model Context Protocol, allowing LLMs to navigate web pages, take screenshots, and run JavaScript in a Playwright‐controlled browser.

How do I build the server?

Use one of the available deno task commands: build-mac, build-linux-x86_64, build-linux-ARM64, or build-windows-x86_64. Only the macOS binary has been tested.

What runtime dependencies are needed?

If you compile the binary, no runtime dependencies are required. Deno 2 provides the build toolchain but the resulting binary runs standalone.

How do I run the server with Claude?

Edit your Claude desktop config file (claude_desktop_config.json) to set the command to the full path of the compiled playwright-server binary.

Is this server related to the Puppeteer MCP server?

Yes, this server is heavily based on the official Puppeteer MCP server, but uses Playwright instead of Puppeteer and Deno 2 for compilation.

评论

浏览器自动化 分类下的更多 MCP 服务器