使用由Google开发的Node.js库Puppeteer进行浏览器自动化与网页抓取,能够模拟用户在浏览器中的各类操作(如点击、输入、页面导航等),并高效提取网页中的目标数据(包括文本、图片、链接及结构化信息等),其支持无头模式运行以提升效率,兼具稳定性与灵活性,广泛应用于数据采集、自动化测试、网页内容监控及动态页面渲染处理等场景。
Puppeteer (Archived) MCP Server
Browser automation and web scraping using Puppeteer.
https://www.anthropic.com/news/model-context-protocol
MCP Info
| Attribute | Details |
|---|---|
| Docker Image | https://hub.docker.com/repository/docker/mcp/puppeteer |
| Author | https://github.com/modelcontextprotocol |
| Repository | https://github.com/modelcontextprotocol/servers |
Image Building Info
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/modelcontextprotocol/servers/blob/b4ee623039a6c60053ce67269701ad9e95073306/src/puppeteer/Dockerfile |
| Commit | b4ee623039a6c60053ce67269701ad9e95073306 |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/puppeteer --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | MIT License |
Available Tools (7)
| Tools provided by this Server | Short Description |
|---|---|
puppeteer_click | Click an element on the page |
puppeteer_evaluate | Execute JavaScript in the browser console |
puppeteer_fill | Fill out an input field |
puppeteer_hover | Hover an element on the page |
puppeteer_navigate | Navigate to a URL |
puppeteer_screenshot | Take a screenshot of the current page or a specific element |
puppeteer_select | Select an element on the page with Select tag |
Tools Details
Tool: puppeteer_click
Click an element on the page
| Parameters | Type | Description |
|---|---|---|
selector | string | CSS selector for element to click |
Tool: puppeteer_evaluate
Execute JavaScript in the browser console
| Parameters | Type | Description |
|---|---|---|
script | string | JavaScript code to execute |
Tool: puppeteer_fill
Fill out an input field
| Parameters | Type | Description |
|---|---|---|
selector | string | CSS selector for input field |
value | string | Value to fill |
Tool: puppeteer_hover
Hover an element on the page
| Parameters | Type | Description |
|---|---|---|
selector | string | CSS selector for element to hover |
Tool: puppeteer_navigate
Navigate to a URL
| Parameters | Type | Description |
|---|---|---|
url | string | URL to navigate to |
allowDangerous | boolean optional | Allow dangerous LaunchOptions that reduce security. When false, dangerous args like --no-sandbox will throw errors. Default false. |
launchOptions | object optional | PuppeteerJS LaunchOptions. Default null. If changed and not null, browser restarts. Example: { headless: true, args: ['--no-sandbox'] } |
Tool: puppeteer_screenshot
Take a screenshot of the current page or a specific element
| Parameters | Type | Description |
|---|---|---|
name | string | Name for the screenshot |
height | number optional | Height in pixels (default: 600) |
selector | string optional | CSS selector for element to screenshot |
width | number optional | Width in pixels (default: 800) |
Tool: puppeteer_select
Select an element on the page with Select tag
| Parameters | Type | Description |
|---|---|---|
selector | string | CSS selector for element to select |
value | string | Value to select |
Use this MCP Server
json{ "mcpServers": { "puppeteer": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "DOCKER_CONTAINER", "mcp/puppeteer" ], "env": { "DOCKER_CONTAINER": "true" } } } }
https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务