mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2026-01-30 06:22:03 +00:00
docs: add Cline configuration to Readme.md (#1297)
This commit is contained in:
32
README.md
32
README.md
@@ -81,6 +81,38 @@ Follow the MCP install [guide](https://modelcontextprotocol.io/quickstart/user),
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Cline</summary>
|
||||||
|
|
||||||
|
Follow the instruction in the section [MCP Integration](https://docs.cline.bot/mcp/mcp-overview)
|
||||||
|
|
||||||
|
Connection Types
|
||||||
|
Local (stdio): Cline runs the server as a local process.
|
||||||
|
Remote (streamableHttp): hosted/cloud environments.
|
||||||
|
Legacy (sse): Only use if the host doesn't support the modern streamableHttp protocol.
|
||||||
|
|
||||||
|
Example: Local Setup
|
||||||
|
Add the following to your cline_mcp_settings.json file:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"playwright": {
|
||||||
|
"type": "stdio",
|
||||||
|
"command": "npx",
|
||||||
|
"timeout": 30,
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@playwright/mcp@latest"
|
||||||
|
],
|
||||||
|
"disabled": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Codex</summary>
|
<summary>Codex</summary>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user