mcp-playwright-tools
Playwright browser automation tools for MCP enabling navigation, interaction, content extraction, and semantic locators.
README
mcp-playwright-tools
Playwright browser automation tools for MCP — navigation, interaction, content extraction, and semantic locators
Built on mcp-server-framework.
Installation
pip install mcp-playwright-tools
Usage
mcp-playwright-tools # stdio (default)
Claude Code / Claude Desktop
{
"mcpServers": {
"playwright": { "command": "mcp-playwright-tools" }
}
}
Tools
| Tool | Description |
|---|---|
navigate |
Navigate to a URL and wait for page load |
current_url |
Get the current page URL |
go_back |
Navigate back in browser history |
go_forward |
Navigate forward in browser history |
reload |
Reload the current page |
get_title |
Get the current page title |
get_text |
Get visible text of an element |
get_all_texts |
Get visible text of all matching elements |
get_page_content |
Get all visible text on the page |
get_html |
Get inner HTML of an element |
get_links |
Get all links on the page (text + href) |
get_attribute |
Get an attribute value from an element |
click |
Click an element |
fill |
Fill an input field with text |
type_text |
Type text character by character (for autocomplete etc.) |
press |
Press a keyboard key (Enter, Tab, Escape, etc.) |
select_option |
Select a dropdown option by value |
select_option_by_text |
Select a dropdown option by visible text |
check |
Check a checkbox |
uncheck |
Uncheck a checkbox |
hover |
Hover over an element |
focus |
Focus an element |
clear |
Clear an input field |
screenshot |
Take a screenshot of the page |
screenshot_element |
Take a screenshot of a specific element |
wait_for |
Wait for an element to appear |
wait_for_hidden |
Wait for an element to disappear |
wait_for_url |
Wait for the URL to match a pattern |
set_viewport |
Set the browser viewport size |
scroll_to |
Scroll an element into view |
scroll_page |
Scroll the page up or down |
find_by_role |
Find element by ARIA role (button, link, textbox, heading, etc.) |
find_by_text |
Find element by visible text |
find_by_label |
Find form element by its label text |
find_by_placeholder |
Find input element by placeholder text |
find_by_test_id |
Find element by data-testid attribute |
click_by_role |
Click element found by ARIA role |
click_by_text |
Click element found by visible text |
fill_by_label |
Fill input found by its label text |
describe_element |
Get ARIA role, text, and attributes of an element |
find_interactive_elements |
List all clickable and fillable elements on the page |
License
MIT — Part of uc-mcp-tools
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.