Skip to content

Fix Local browser links for person-only MCP approvals - #133

Merged
shuv1337 merged 2 commits into
v2from
t3/local-person-only-approval
Nov 27, 2026
Merged

shuv1337 merged 2 commits into
v2from
t3/local-person-only-approval

Conversation

@shuv1337

Copy link
Copy Markdown
Owner

Closes #123.

Local now includes the caller mode in person-only approval links from model and automatic MCP connections. The paired dashboard can inspect and answer those requests only within the authenticated grant and mode. Mode-less browser approval links still work.

Verification

  • RED on unchanged product code (d8bf97f4e): nice -n 19 bun run e2e:local --test-name '^Local person-only approval binds' --workers 1 failed both scenarios: model link carries its mode: expected null to be 'model'.
  • GREEN after nice -n 19 bun run e2e:prepare: the same selector passed 2/2. This covers OAuth and the Local administrator key, both caller modes, refusal of mismatched links and agent self-approval, and successful approval by the paired operator.
  • Browser-mode regression: nice -n 19 bun run e2e:local --test-name '^Local MCP model, browser and automatic modes return an account-free tool' --workers 1 passed 1/1.
  • nice -n 19 bun run format, nice -n 19 bun run check (17/17; typecheck 9/9), and actionlint .github/workflows/fork-ci.yml passed.
caller-identity.spec.ts
mcp-tool-input.spec.ts

Release-note: Fix: Person-only approvals from model and automatic MCP connections now open in the Local dashboard.
@shuv1337
shuv1337 merged commit 8b99569 into v2 Nov 27, 2026
5 checks passed
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.

Local approval page refuses person-only (human()) links from model- and automatic-mode grants

1 participant