Skip to content

Commit a340c26

Browse files
committed
feat(mcp): disable Playwright MCP by default
Browser tools are now opt-in. Until the user enables Playwright from the MCP settings UI, neither the main agent nor the browser-pilot crew sees browser_navigate/click/screenshot/etc. The intent is that browser work routes through use_crew("browser-pilot", ...) deliberately rather than the main agent reaching for browser tools unprompted. When the user does enable it, both the main agent and browser-pilot get the tools simultaneously — current architecture is single MCP server, shared catalog. (Per-crew MCP scoping would be a separate larger change.)
1 parent e59a355 commit a340c26

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/mcp/defaults.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export const MCP_DEFAULTS: Readonly<Record<string, MCPDefault>> = {
260260
requiredEnv: ["UPSTASH_REDIS_REST_URL", "UPSTASH_REDIS_REST_TOKEN"],
261261
},
262262
playwright: {
263-
description: "Browser control — Microsoft Playwright MCP. Persistent profile shared with `daemora browser` CLI logins.",
263+
description: "Browser control — Microsoft Playwright MCP. Disabled by default; enable from MCP settings when you want browser tools available to the main agent and the browser-pilot crew. Persistent profile shared with `daemora browser` CLI logins.",
264264
config: {
265265
command: "npx",
266266
args: [
@@ -277,7 +277,12 @@ export const MCP_DEFAULTS: Readonly<Record<string, MCPDefault>> = {
277277
// so the profile path lives under the user's actual dataDir rather
278278
// than a placeholder. See MCPStore.load().
279279
],
280-
enabled: true,
280+
// Off by default. The main agent shouldn't reach for browser tools
281+
// unprompted — the intent is `use_crew("browser-pilot", ...)` for
282+
// browser work, and the crew sees these tools only after the user
283+
// explicitly enables this MCP server from the Settings UI. Once
284+
// enabled, both the main agent and browser-pilot share it.
285+
enabled: false,
281286
},
282287
docsUrl: "https://github.com/microsoft/playwright-mcp",
283288
},

0 commit comments

Comments
 (0)