chore: add @latest to the recommended version in config

This commit is contained in:
Pavel Feldman 2025-03-21 13:33:24 -07:00
parent 179739e36c
commit dc7a449e8a
3 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ A Model Context Protocol (MCP) server that provides browser automation capabilit
"playwright": { "playwright": {
"command": "npx", "command": "npx",
"args": [ "args": [
"@playwright/mcp", "@playwright/mcp@latest",
] ]
} }
} }
@ -40,7 +40,7 @@ This mode is useful for background or batch operations.
"playwright": { "playwright": {
"command": "npx", "command": "npx",
"args": [ "args": [
"@playwright/mcp", "@playwright/mcp@latest",
"--headless" "--headless"
] ]
} }
@ -66,7 +66,7 @@ And then in MCP config, add following to the `env`:
"playwright": { "playwright": {
"command": "npx", "command": "npx",
"args": [ "args": [
"@playwright/mcp" "@playwright/mcp@latest"
], ],
"env": { "env": {
// Use the endpoint from the output of the server above. // 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": { "playwright": {
"command": "npx", "command": "npx",
"args": [ "args": [
"@playwright/mcp", "@playwright/mcp@latest",
"--vision" "--vision"
] ]
} }

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.1", "version": "0.0.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.1", "version": "0.0.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@modelcontextprotocol/sdk": "^1.6.1", "@modelcontextprotocol/sdk": "^1.6.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.1", "version": "0.0.2",
"description": "Playwright Tools for MCP", "description": "Playwright Tools for MCP",
"repository": { "repository": {
"type": "git", "type": "git",