Playwright MCP Server

Browser Automationstdiov0.1.5
Repository

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.

Verbinden

Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json

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

Werkzeuge (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"
    }
  }
}

Ressourcen

Dieser Server stellt keine Ressourcen bereit.

Prompts

Dieser Server stellt keine Prompts bereit.

Serverinformationen

Autor
Microsoft (@microsoft)
Repository
https://github.com/microsoft/playwright-mcp
Lizenz
Apache-2.0
Version
0.1.5
Sterne
32,997
Zuletzt aktualisiert
25. Mai 2026