Skip to main content
Glama
jamesmurdza

Daytona Playwright MCP Server

by jamesmurdza

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DAYTONA_API_KEYYesYour Daytona API key
DAYTONA_API_URLNoDaytona API server URLhttps://app.daytona.io/api

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_startA

Start a new browser session in a Daytona sandbox.

This creates a cloud sandbox with Chrome installed, launches the browser, and establishes a connection for remote control. Must be called before using any other browser tools.

browser_stopA

Stop the browser and clean up the Daytona sandbox.

Call this when you're done using the browser to free up resources.

browser_statusB

Check the current status of the browser session.

browser_navigateB

Navigate the browser to a URL.

browser_backB

Navigate back in browser history.

browser_forwardB

Navigate forward in browser history.

browser_refreshB

Refresh the current page.

browser_clickA

Click on an element on the page.

Supports CSS selectors, XPath, and text selectors. Examples:

  • CSS: "button.primary", "#submit-btn", "[data-testid='login']"

  • XPath: "//button[@type='submit']"

  • Text: "text=Sign In", "text=Submit"

browser_typeB

Type text into an input field or editable element.

browser_pressB

Press a keyboard key, optionally on a specific element.

Key examples: Enter, Tab, Escape, Backspace, Delete, ArrowUp, ArrowDown, Control+a, Control+c, Control+v, Shift+Tab, Alt+F4

browser_hoverB

Hover over an element on the page.

browser_selectA

Select an option from a dropdown ( element).

Provide one of: value, label, or index.

browser_scrollB

Scroll the page or a specific element.

browser_screenshotC

Take a screenshot of the current page or a specific element.

Returns the screenshot as an image that can be displayed.

browser_get_textB

Get text content from the page or specific elements.

browser_get_htmlB

Get HTML content from the page or a specific element.

browser_get_attributeB

Get an attribute value from an element.

browser_evaluateA

Execute JavaScript in the page context and return the result.

Examples:

  • "document.title"

  • "window.location.href"

  • "document.querySelectorAll('a').length"

  • "JSON.stringify(localStorage)"

browser_wait_for_selectorB

Wait for an element to reach a specific state.

States:

  • attached: Element is in the DOM

  • detached: Element is removed from the DOM

  • visible: Element is visible on the page

  • hidden: Element is hidden or removed

browser_wait_for_navigationB

Wait for a navigation to complete.

browser_new_tabA

Open a new browser tab and switch to it.

browser_list_tabsA

List all open tabs with their URLs and titles.

browser_switch_tabB

Switch to a different browser tab by index.

browser_close_tabB

Close a browser tab.

browser_upload_fileB

Upload a file to a file input element.

Note: The file must exist on the machine running this MCP server.

browser_download_waitA

Wait for a download to start and complete, returning the downloaded file path.

Call this before triggering the download action.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/jamesmurdza/playwright-daytona-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server