mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2026-01-30 06:22:03 +00:00
docs: update README with Copilot CLI usage instructions (#1243)
This commit is contained in:
32
README.md
32
README.md
@@ -102,6 +102,38 @@ For more information, see the [Codex MCP documentation](https://github.com/opena
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Copilot</summary>
|
||||||
|
|
||||||
|
Use the Copilot CLI to interactively add the Playwright MCP server:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/mcp add
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, create or edit the configuration file `~/.copilot/mcp-config.json` and add:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"playwright": {
|
||||||
|
"type": "local",
|
||||||
|
"command": "npx",
|
||||||
|
"tools": [
|
||||||
|
"*"
|
||||||
|
],
|
||||||
|
"args": [
|
||||||
|
"@playwright/mcp@latest"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information, see the [Copilot CLI documentation](https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli).
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Cursor</summary>
|
<summary>Cursor</summary>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user