Skip to content

fix(agents): make browser MCP registration opt-in - #129

Merged
ElbertePlinio merged 4 commits into
mainfrom
fix/121-browser-mcp-optin
Sep 9, 2026
Merged

ElbertePlinio merged 4 commits into
mainfrom
fix/121-browser-mcp-optin

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

agents install and its link alias now register only the Pickforge MCP server by default. --browser opts into the existing pickforge-lab browser devtools-mcp bridge for all built-in harnesses. Existing browser entries are retained without the flag and reported in text and JSON (retainedEntries), including customized TOML tables and multiline values. Legacy migration preserves existing current browser entries. Registration is not exposed as an MCP tool.

Help, the README harness section, and INSTALL.md document the flag. Tests cover the three requested harnesses, the CLI flag, default registration, opt-in command/args, idempotence, and retention. The Pi config path is unchanged. Rebased on origin/main; independent final review has no findings.

Validation: frozen Bun install, typecheck, lint, full tests, coverage, build, and complexity-gate passed. Browser tests ran with PICKFORGE_REQUIRE_BROWSER=1 and the Chrome sandbox enabled. Four desktop tests are skipped locally because xterm is unavailable. Coverage thresholds are unchanged.

Closes #121

@ElbertePlinio
ElbertePlinio force-pushed the fix/121-browser-mcp-optin branch from 77fcdfd to cd1c4fe Compare September 9, 2026 12:14
@ElbertePlinio
ElbertePlinio merged commit 0c1e76c into main Sep 9, 2026
10 checks passed
@ElbertePlinio
ElbertePlinio deleted the fix/121-browser-mcp-optin branch September 9, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(agents): registration enables a browser MCP that fails to initialize without a browser session

1 participant