docs: push docker doc down the readme (#236)

This commit is contained in:
Pavel Feldman 2025-04-21 17:31:18 -07:00 committed by GitHub
parent dc955c73a3
commit cd5aa344f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,20 +32,6 @@ A Model Context Protocol (MCP) server that provides browser automation capabilit
}
```
#### Docker
**NOTE:** The Docker implementation only supports headless chromium at the moment.
```js
{
"mcpServers": {
"playwright": {
"command": "docker",
"args": ["run", "-i", "--rm", "--init", "mcp/playwright"]
}
}
}
```
#### Installation in VS Code
Install the Playwright MCP server in VS Code using one of these buttons:
@ -143,6 +129,20 @@ And then in MCP client config, set the `url` to the SSE endpoint:
}
```
### Docker
**NOTE:** The Docker implementation only supports headless chromium at the moment.
```js
{
"mcpServers": {
"playwright": {
"command": "docker",
"args": ["run", "-i", "--rm", "--init", "mcp/playwright"]
}
}
}
```
### Tool Modes
The tools are available in two modes: