mcp-server-playwright
mcp-server-playwright is an experimental project designed to manipulate a browser using MCP and Playwright, enabling browser control through AI.
mcp-server-playwright
This project is an experimental project aimed at manipulating a browser through MCP using Playwright, in order to implement a feature to control the browser through AI.
Tools
- open-browser(url) : Open a browser with the specified URL(option).
- close-page(pageNumber: int) : Close a desiginated page in current browser.
- close-browser() : Close the browser.
- navigate-to-page(url) : Navigate to the specified URL.
- open-new-page(url) : Open a page in a new tab.
- get-page-content() : Get the readability content of the current page.
Usage
Install dependencies
- bun
- pnpm
pnpm install
MCP Configuration
{
"mcpServers": {
"mcp-server-playwright": {
"command": "bun",
"args": ["yourpath/mcp-server-playwright/src/index.ts"],
"env": {
"CHROME_PATH": "your_chrome_path",
"MUSER_DATA_DIR": "your_chrome_user_data_path"
}
}
}
}
Have fun!
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
mcp-playwright
by executeautomation
A Model Context Protocol server that provides browser automation capabilities using Playwright.
playwright-mcp
by microsoft
Playwright MCP is a Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
mcp-server-weibo
by Selenium39
The Weibo MCP Server (TypeScript Version) is designed for scraping Weibo user information, feeds, and search functionality using the Model Context Protocol.
web-eval-agent
by Operative-Sh
operative.sh's MCP Server is a tool for autonomous debugging of web applications directly from your code editor.
browser-tools-mcp
by AgentDeskAI
BrowserTools MCP is a browser monitoring and interaction tool that enhances AI applications by capturing and analyzing browser data through a Chrome extension.