mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
chore: add @latest to the recommended version in config
This commit is contained in:
parent
179739e36c
commit
dc7a449e8a
@ -23,7 +23,7 @@ A Model Context Protocol (MCP) server that provides browser automation capabilit
|
||||
"playwright": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"@playwright/mcp",
|
||||
"@playwright/mcp@latest",
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -40,7 +40,7 @@ This mode is useful for background or batch operations.
|
||||
"playwright": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"@playwright/mcp",
|
||||
"@playwright/mcp@latest",
|
||||
"--headless"
|
||||
]
|
||||
}
|
||||
@ -66,7 +66,7 @@ And then in MCP config, add following to the `env`:
|
||||
"playwright": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"@playwright/mcp"
|
||||
"@playwright/mcp@latest"
|
||||
],
|
||||
"env": {
|
||||
// Use the endpoint from the output of the server above.
|
||||
@ -92,7 +92,7 @@ To use Vision Mode, add the `--vision` flag when starting the server:
|
||||
"playwright": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"@playwright/mcp",
|
||||
"@playwright/mcp@latest",
|
||||
"--vision"
|
||||
]
|
||||
}
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@playwright/mcp",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@playwright/mcp",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.6.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@playwright/mcp",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"description": "Playwright Tools for MCP",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
x
Reference in New Issue
Block a user