Add the Playwright Cloud Browsers MCP server to Gemini CLI
Add the Playwright Cloud Browsers entry the way Gemini CLI’s own docs describe, fill in what it needs, then check it’s connected.
Open settings.json
Where the file is:
~/.gemini/settings.json,.gemini/settings.jsonPaste the server entry
{ "mcpServers": { "microsoft-playwright-cloud-browsers": { "httpUrl": "https://<region>.mcp.playwright.microsoft.com/playwrightworkspaces/<workspaceId>/mcp" } } }If the file already has servers, add the entry inside the existing object.
Fill in the values
What you fill in
Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.
<region>Value RequiredAzure region hosting the Playwright workspace
<workspaceId>Value RequiredPlaywright workspace ID
Check it’s connected
Restart or reload Gemini CLI and look for microsoft-playwright-cloud-browsers in its list of MCP servers. A server that needs sign-in opens it on first use.
Gemini CLI’s MCP docs · Playwright Cloud Browsers MCP server →