mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
docs: push docker doc down the readme (#236)
This commit is contained in:
parent
dc955c73a3
commit
cd5aa344f1
28
README.md
28
README.md
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user