PuppeteerSAFE
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://smithery.ai/server/@merajmehrabi/puppeteer-mcp-server) This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
Acknowledgment
This project is an experimental implementation inspired by @modelcontextprotocol/server-puppeteer. While it shares similar goals and concepts, it explores alternative approaches to browser automation through the Model Context Protocol.
Features
- Navigate web pages
- Take screenshots
- Click elements
- Fill forms
- Select options
- Hover elements
- Execute JavaScript
- Smart Chrome tab management:
- Connect to active Chrome tabs
- Preserve existing Chrome instances
- Intelligent connection handling
Project Structure
/ ├── src/ │ ├── config/ # Configuration modules │ ├── tools/ # Tool definitions and handlers │ ├── browser/ # Browser connection management │ ├── types/ # TypeScript type definitions │ ├── resources/ # Resource handlers │ └── server.ts # Server initialization ├── index.ts # Entry point └── README.md # Documentation
Installation
Option 1: Install from npm
npm install -g puppeteer-mcp-server
You can also run it directly without installation using npx:
npx puppeteer-mcp-server
Option 2: Install from source
- Clone this repository or download the source code
- Install dependencies:
npm install
- Build the project:
npm run build
- Run the server:
npm start
MCP Server Configuration
To use this tool with Claude, you need
b3f39289213dOBSERVED · 2026-09-30Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add puppeteer-mcp-server -- npx -y [email protected]
{
"mcpServers": {
"puppeteer-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (8)
7 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
puppeteer_click | read | Click an element on the page |
puppeteer_connect_active_tab | read | Connect to an existing Chrome instance with remote debugging enabled |
puppeteer_evaluate | write | Execute JavaScript in the browser console |
puppeteer_fill | read | Fill out an input field |
puppeteer_hover | read | Hover an element on the page |
puppeteer_navigate | read | Navigate to a URL |
puppeteer_screenshot | read | Take a screenshot of the current page or a specific element |
puppeteer_select | read | Select an element on the page with Select tag |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
puppeteer, winston, winston-daily-rotate-file, @types/node, @types/winston, shx, typescript
Gates applied: no_behavioural_pass.
b3f39289213dfull audit observations/trust-audit/mcp-server/merajmehrabi__puppeteer.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-09-30 | b3f39289213d | SAFE | B | 89 | first audit |
Questions
What is the Puppeteer MCP server?
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
What tools does Puppeteer expose?
8 in total: 7 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Puppeteer safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Puppeteer need?
No credential environment variables were found in its source, so it appears to need none.
How does Puppeteer run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as puppeteer-mcp-server at 0.7.2.
How current is this page?
The grade is for one exact copy of the source (b3f39289213d), read on 2026-09-30. The repository is watched and re-audited when it changes.