Puppeteer MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Puppeteer MCP Server
A Model Context Protocol (MCP) server that provides browser automation capabilities through Puppeteer with intelligent browser management. This server enables AI assistants to control Chromium browsers, take screenshots, extract content, and interact with web pages.
✨ The key difference of this implementation compared to others is that it enables access to the raw DOM content of the page and the console!
MCP Client Configuration
Add this to your MCP client configuration:
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": [
"-y",
"@ratiofu/mcp-puppeteer"
]
}
}
}Notes:
Some MCP clients support additional server configuration options. Consult your MCP client's documentation for advanced configuration settings.
If you're using other Puppeteer-based MCP servers, consider using a unique name like
"puppeteer-ratiofu"to avoid conflicts. Only run one Puppeteer MCP server at a time, and update any local agent guidance accordingly if you change the server name.
Related MCP server: Chrome DevTools MCP
Available Tools
navigate: Navigate to URLslist_tab_urls: List all open tab URLsclick: Click elements using CSS selectorstake_screenshot: Capture page screenshotsget_html: Extract page HTML contentget_console: Retrieve browser console output
Prerequisites
You need Chromium running with remote debugging enabled:
macOS
open -a "Chromium" --args --remote-debugging-port=9222Linux
chromium --remote-debugging-port=9222Windows
chromium --remote-debugging-port=9222How It Works
The server automatically downloads and runs via npx when your MCP client needs it. No manual installation required! It uses Chromium's remote debugging protocol to control your browser.
Troubleshooting
Chromium Connection Issues
Error: "Could not connect to Chromium"
Ensure you actually started Chromium (see above).
You can verify Chromium is ready by opening http://localhost:9222/json in your browser.
MCP Client Issues
Server not responding:
Ensure Chromium is running with debug port (see Prerequisites section)
Check your MCP client configuration matches the examples
Verify Node.js 22+ is installed (
node --version)
Need to test manually?
echo '{}' | npx @ratiofu/mcp-puppeteerDevelopment
For local development:
git clone https://github.com/ratiofu/mcp-puppeteer
cd mcp-puppeteer
pnpm install
pnpm run build
pnpm startDevelopment Scripts
pnpm run dev # Auto-rebuild and restart
pnpm run test # Run unit tests
pnpm run test:coverage # Run tests with coverage
pnpm run quality # Full quality pipeline (typecheck + lint + test coverage)
pnpm run lint # Check code with Biome linter
pnpm run lint:fix # Auto-fix linting and formatting issues
pnpm run inspector # Test with MCP InspectorArchitecture
Pipe Transport: Direct stdin/stdout communication with MCP clients
Puppeteer Core: Browser automation without bundled browsers
Automatic Cleanup: Browser resources cleaned up on process exit
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Cloud browser, web extraction, screenshots, and remote CDP tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser through Chrome DevTools. Provides browser automation, performance analysis, debugging capabilities, and network request monitoring.2,036,574 npm59,001Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automation, debugging, performance analysis, and screenshot capture through Chrome DevTools.262,036,574 npm3Apache 2.0
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automated debugging, performance analysis, and web interaction. It leverages Puppeteer and Chrome DevTools to provide capabilities like network monitoring, console logging, and automated browser actions.-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser for web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0