- Explore MCP Servers
- docker-playwright-mcp
Docker Playwright Mcp
What is Docker Playwright Mcp
docker-playwright-mcp is a containerized application that utilizes Playwright for automated browser testing and web scraping within the Model Context Protocol (MCP) framework.
Use cases
Use cases include testing web applications for functionality and performance, scraping data from websites for analysis, and automating repetitive browser tasks in a controlled environment.
How to use
To use docker-playwright-mcp, you need to build the Docker image using the command ‘docker build -t docker-playwright-mcp .’. After building, you can inspect the MCP with ‘sudo npx @modelcontextprotocol/inspector node build/index.js’. Finally, run the application with ‘docker run -i --name playwright-mcp -p 8931:8931 -p 3000:3000 -p 6274:6274 --rm docker-playwright-mcp:latest’.
Key features
Key features include automated browser testing, web scraping capabilities, easy integration with the MCP framework, and the ability to run in a Docker container for simplified deployment.
Where to use
docker-playwright-mcp can be used in web development environments, automated testing scenarios, and data extraction tasks where browser interaction is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Docker Playwright Mcp
docker-playwright-mcp is a containerized application that utilizes Playwright for automated browser testing and web scraping within the Model Context Protocol (MCP) framework.
Use cases
Use cases include testing web applications for functionality and performance, scraping data from websites for analysis, and automating repetitive browser tasks in a controlled environment.
How to use
To use docker-playwright-mcp, you need to build the Docker image using the command ‘docker build -t docker-playwright-mcp .’. After building, you can inspect the MCP with ‘sudo npx @modelcontextprotocol/inspector node build/index.js’. Finally, run the application with ‘docker run -i --name playwright-mcp -p 8931:8931 -p 3000:3000 -p 6274:6274 --rm docker-playwright-mcp:latest’.
Key features
Key features include automated browser testing, web scraping capabilities, easy integration with the MCP framework, and the ability to run in a Docker container for simplified deployment.
Where to use
docker-playwright-mcp can be used in web development environments, automated testing scenarios, and data extraction tasks where browser interaction is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
To build
docker build -t docker-playwright-mcp .
To inspect mcp
sudo npx @modelcontextprotocol/inspector node build/index.js
Run the container
docker run -i --name playwright-mcp -p 8931:8931 -p 3000:3000 -p 6274:6274 --rm docker-playwright-mcp:latest
[Optional] Start the server as the VNC enabled user (if running outside of vscode. In vscode, just start the mcp server configured in settings):
docker exec -u abc -w /app playwright-mcp './start-server.sh'
Known Issues:
- Firefox is not installed during docker build. This means that the tool browser_install will run when you use the MCP with an LLM agent. This runs the browser in headless mode.
Example output:
*User*: can you nvaigate to goodreads.com and then give me the trending books in historical fiction?
*Copilot*: I'll help you navigate to Goodreads.com and find the trending books in historical fiction. Let me set up and use a browser session for this.
First, I need to install the browser:I'll navigate to Goodreads.com and search for trending historical fiction books. Let me open the browser and go to Goodreads:I can see that we're now on the Goodreads homepage. I notice there's a link specifically for Historical Fiction in the genres section. Let me navigate to the Historical Fiction section to find the trending books in this genre.I've navigated to the Historical Fiction section on Goodreads.com, and now I can see the trending historical fiction books. Based on the page information, I can provide you with the most popular historical fiction books right now.
Here are the trending historical fiction books according to the "Most Read This Week" section on Goodreads:
1. The Frozen River
2. The Invisible Life of Addie LaRue
3. Malibu Rising
4. The Briar Club
5. The Berry Pickers
6. The Lion Women of Tehran
7. The Griffin Sisters' Greatest Hits
8. The Life Impossible
9. The Lost Apothecary
10. The Rose Code
11. The Heaven & Earth Grocery Store
12. The Book of Lost Names
13. Kingdom of the Wicked
14. Deep Cuts
Additionally, there are some notable new releases in historical fiction:
1. The Buffalo Hunter Hunter
2. Blood on Her Tongue
3. The Antidote
4. One Good Thing
5. The Story She Left Behind
6. The Girl from Greenwich Street
7. The Jackal's Mistress
8. The Paris Express
9. A Map to Paradise
10. The Hymn to Dionysus
Overall, books like "The Book Thief," "All the Light We Cannot See," "The Nightingale," and "Outlander" continue to be among the most popular historical fiction books of all time according to the site's listings.
Would you like more specific information about any of these books, such as plot summaries or reviews?
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










