Playwright MCP Server

Browser Automationstdiov0.1.5
Repositorio

Microsoft's official Playwright MCP server that provides browser automation capabilities for AI agents. Enables navigating web pages, clicking elements, filling forms, taking screenshots, and extracting content. Supports headless and headed modes with Chromium, Firefox, and WebKit browsers. Ideal for web testing, scraping, and interactive browsing tasks.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Herramientas (5)

browser_navigate

Navigate the browser to a specified URL.

{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to navigate to"
    }
  }
}

browser_click

Click an element on the page using a CSS or text selector.

{
  "type": "object",
  "required": [
    "selector"
  ],
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector or text content to identify the element"
    }
  }
}

browser_fill

Fill an input field with text.

{
  "type": "object",
  "required": [
    "selector",
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "description": "Text to fill into the input"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector for the input element"
    }
  }
}

browser_screenshot

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

{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "Optional CSS selector to screenshot a specific element"
    }
  }
}

browser_get_text

Extract text content from the page or a specific element.

{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "Optional CSS selector to extract text from"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Microsoft (@microsoft)
Repositorio
https://github.com/microsoft/playwright-mcp
Licencia
Apache-2.0
Versión
0.1.5
Estrellas
32,997
Última actualización
25 de mayo de 2026