Playwright MCP Server
Allows browser automation via Firefox extension bridge for controlling existing browser tabs, including navigation, clicking, typing, and other interactions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Playwright MCP Servernavigate to localhost:3000 and click the login button"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Playwright MCP Server
Browser automation via the Model Context Protocol. Supports headless Playwright, Chrome Extension bridge, and Firefox Extension bridge for controlling existing browser tabs.
Quick Start
npm install
npx playwright install chromium
npm run build
node dist/index.jsRelated MCP server: openmcp
Extension Bridges
Link the MCP agent to your existing browser tabs. Two extensions are provided:
Chrome Extension (extension/)
Uses chrome.debugger API (CDP) for full browser control.
Go to
chrome://extensions→ Load unpacked → selectextension/Start the MCP server:
node dist/index.jsClick the extension icon → Connect
Use
extension_*tools
Firefox Extension (extension-firefox/)
Uses WebExtensions API with content scripts (no CDP dependency).
Go to
about:debugging#/runtime/this-firefox→ Load Temporary Add-on → selectextension-firefox/manifest.jsonStart the MCP server:
node dist/index.jsClick the extension icon → Connect
Use
firefox_*tools
Extension Tools
Shared (Chrome + Firefox)
Tool | Description |
| Check extension connection status |
| Execute JavaScript in the tab |
| Capture a screenshot of the tab |
| List all open browser tabs |
| Attach to a specific tab by ID |
Chrome CDP Tools
Tool | Description |
| Navigate the connected tab to a URL |
| Click an element by CSS selector |
Firefox Content Script Tools
Tool | Description |
| Navigate the connected tab to a URL |
| Click an element by CSS selector |
| Type text into an input field |
| Fill an input field with a value |
| Get text content of an element |
| Get HTML content of page or element |
| Hover over an element |
| Select an option in a select element |
| Check a checkbox |
| Uncheck a checkbox |
| Get an attribute value from an element |
| Get the current page URL |
| Get the current page title |
| Navigate back in history |
| Navigate forward in history |
| Reload the current page |
| Scroll the page |
| Take a screenshot of the connected tab |
| Execute JavaScript in the connected tab |
Headless Mode (Default)
25+ browser_* tools for headless Chromium via Playwright.
Configuration
Env Var | Default | Description |
|
| WebSocket port for extension bridge |
|
| Set to |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.3216,0665,633MIT
- Alicense-qualityDmaintenanceEnables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.1MIT
- AlicenseBqualityAmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.3948MIT
- FlicenseAqualityDmaintenanceEnables AI-powered browser automation controlled through natural language, integrating Playwright with the Model Context Protocol to perform web interactions like navigation, form filling, and screenshots.10
Related MCP Connectors
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Live browser debugging for AI assistants — DOM, console, network via MCP.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Krutas/playwright-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server