Puppeteer MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port | 3000 |
| TIMEOUT | No | Default operation timeout (ms) | 30000 |
| HEADLESS | No | Run browser headless | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tabsA | List all open browser tabs with their IDs, URLs, and titles |
| new_tabA | Open a new browser tab, optionally navigating to a URL. The new tab becomes active. |
| close_tabA | Close a browser tab. If no tabId provided, closes the active tab. |
| switch_tabB | Switch to a different tab, making it the active tab for subsequent operations. |
| navigateC | Navigate to a URL in the browser |
| reloadC | Reload the current page |
| go_backB | Navigate back in browser history |
| go_forwardB | Navigate forward in browser history |
| clickC | Click an element on the page |
| fillC | Fill a text input or textarea with a value |
| selectC | Select option(s) from a dropdown/select element |
| hoverC | Hover over an element on the page |
| focusC | Focus an element on the page |
| evaluateB | Execute JavaScript code in the browser context and return the result |
| get_contentC | Get the HTML or text content of the page or a specific element |
| query_selectorC | Get information about an element matching a CSS selector |
| wait_for_selectorC | Wait for an element matching the selector to appear in the page |
| wait_for_navigationC | Wait for the page to navigate to a new URL |
| waitA | Wait for a specified number of milliseconds |
| screenshotB | Capture a screenshot of the page or a specific element |
| pdfC | Generate a PDF of the current page |
| get_cookiesC | Get cookies for the current page or specified URLs |
| set_cookiesC | Set cookies in the browser |
| delete_cookiesC | Delete cookies by name |
| keyboardC | Press a key or key combination |
| mouseC | Perform mouse actions at specific coordinates |
| scrollC | Scroll the page or a specific element |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andytango/puppeteer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server