Skip to main content

Other Clients

The standard configuration works with most MCP clients. Consult your client's MCP documentation for where to place the config.

Cline

Follow the Configuring MCP Servers guide. Add to your cline_mcp_settings.json:

{
"mcpServers": {
"playwright": {
"type": "stdio",
"command": "npx",
"timeout": 30,
"args": ["-y", "@playwright/mcp@latest"],
"disabled": false
}
}
}

Codex

codex mcp add playwright npx "@playwright/mcp@latest"

Or add to ~/.codex/config.toml:

[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest"]

Copilot CLI

/mcp add

Or add to ~/.copilot/mcp-config.json:

{
"mcpServers": {
"playwright": {
"type": "local",
"command": "npx",
"tools": ["*"],
"args": ["@playwright/mcp@latest"]
}
}
}

Goose

Go to Advanced settingsExtensionsAdd custom extension. Use type STDIO and set the command to npx @playwright/mcp.

Kiro

Add to .kiro/settings/mcp.json:

{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}

Gemini CLI

Follow the MCP install guide and use the standard config.

opencode

Add to ~/.config/opencode/opencode.json:

{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"playwright": {
"type": "local",
"command": ["npx", "@playwright/mcp@latest"],
"enabled": true
}
}
}