Connection check
verified live · 28h ago
playwright-mcp-server
Headless browser primitives for AI agents when sites need real JS rendering.
Tools
17
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
28h ago
Tools & capabilities
17 toolsRead from the running server on 28h ago.
click
textbuttonselectordouble_click
Click an element matched by CSS selector or visible text. Click an element matched by CSS selector or visible text.
close_browser
Close the underlying browser, freeing resources. Close the underlying browser, freeing resources.
evaluate
script*
Evaluate JavaScript in the page context. Use `return` for values or an expression. Evaluate JavaScript in the page context. Use `return` for values or an expression.
extract_table
read-only
selector
Extract a standard HTML table as a list of row objects keyed by header. Extract a standard HTML table as a list of row objects keyed by header.
fill_form
fields*submit
Fill multiple form fields from a list of {selector, value} and optionally submit. Fill multiple form fields from a list of {selector, value} and optionally submit.
get_cookies
read-only
Return all cookies for the current browser context. Return all cookies for the current browser context.
get_html
read-only
outerselector
Return the HTML of the page or a specific element. Return the HTML of the page or a specific element.
get_links
read-only
patternselector
Collect all anchor hrefs, optionally filtered by regex. Collect all anchor hrefs, optionally filtered by regex.
get_text
read-only
selector
Extract visible text from the page or a specific element. Extract visible text from the page or a specific element.
navigate
url*wait_until
Navigate the browser to a URL. Returns the final URL and page title. Navigate the browser to a URL. Returns the final URL and page title.
page_pdf
read-only
format_landscape
Render the current page as PDF (headless only). Returns base64 PDF. Render the current page as PDF (headless only). Returns base64 PDF.
screenshot
read-only
selectorfull_page
Take a PNG screenshot of the current page (or a specific element). Returns base64 PNG. Take a PNG screenshot of the current page (or a specific element). Returns base64 PNG.
scroll
amountselectordirection
Scroll the page (or an element) in the given direction by `amount` pixels. Scroll the page (or an element) in the given direction by `amount` pixels.
select_option
labelvalueselector*
Choose an option from a <select> element by value or visible label. Choose an option from a <select> element by value or visible label.
set_cookies
cookies*
Set cookies for the current browser context. Set cookies for the current browser context.
type_text
text*clearselector*press_enter
Type text into an input/textarea. Optionally clear first or press Enter after. Type text into an input/textarea. Optionally clear first or press Enter after.
wait_for
statetimeoutselector