mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-27 00:52:27 +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": {
|
"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
4
package-lock.json
generated
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user