Files
magpie/internal/gui/assets/plugins/library
yetone f49cebb35b library: a click on an MCP server's needs-sign-in status signs in
The owner, on a remote server's "需要登录" status in Library > MCP
servers: "这里点击应该走登录逻辑。" A click there checked the server
again, which only said the same thing.

- A remote (http) server whose check asked for an OAuth sign-in, and
  that no agent's own sign-in already uses (canSignIn), signs in from
  its status: the same library/mcp-signin the dialog's Sign in starts,
  the browser opened in a browser page as there. No dialog opens unless
  the user has something to do in it: the browser didn't open (the
  link to open by hand) or the sign-in failed.
- While it is under way the status says "Opening the sign-in…", then
  "Finish signing in in your browser…"; a click on it then opens the
  dialog, which has Cancel. The dialog's box and the row's status both
  follow it (followSignIn, lifted out of the dialog so the row is told
  with the dialog closed), and Cancel there repaints the row.
- The tip says "Click to sign in" on such a status; a server with no
  OAuth (a key it lacks) still checks again.
- zh/zh-TW/ja/de for the two new strings.

New mcp-signin-click: linear (a click signs in with no dialog, then 7
tools and Signed in), notion (the browser doesn't open: the dialog with
the link, then Cancel, the row back to needs sign-in) and a keyed
server (no OAuth: a click checks again), both engines, 5 languages,
1100 and 390 wide. Broken by hand (canSignIn false): 22/22 red.
library-mcp-health's tip expectation is "Click to sign in" for linear.

Run at this commit, on mote: mcp-signin-click, mcp-signin,
mcp-signin-health, library-mcp-health, library-mcp-hub, i18n-keys:
82/82 ok. Earlier, this change with the two before it under the whole
library/mcp/i18n GUI set: 944 tests, 942 ok; the 2 reds are
library-row-remove's chromium ja hook row (#3099, open), not touched.
go test ./internal/gui: TestMainWindowCorners/macOS_26_SDK red on
mote's macOS 27 (#3949), the rest ok.
Rebased on origin/main 18005c803 and run again at the pushed head:
gofmt clean, go test -run 'Budget|I18n|Plugin' ./internal/gui ok (the
core-script budget 18005c803 set holds), and the six files above
82/82 ok.
Not tried: a real remote server's OAuth in the real app.
2026-10-29 23:01:28 +08:00
..