yetone
7bc602236b
library: the MCP hub is called the MCP router
...
The owner asked why it was a "hub". Composio calls the same thing a Tool
Router; "router" says what it does (one server that routes each call to
the right one), and "gateway" is taken by magpie's LLM gateway. Only
the words change: MCP router / MCP 路由 / MCP 路由 / MCP ルーター /
MCP-Router, "Router address", and the CLI's `magpie library mcp router
on|off`, where `hub` still works. The URL /mcp/magpie/hub, the mcpHub
setting, the servers/hub API and the Go names stay, so nothing a user
or an agent config holds changes. docs/subsystems/mcp-hub.md moves to
mcp-router.md and the pages that link it follow.
#4382 's new words follow too: "Through the MCP router", "Not through
the router" and their hints in every language, and the CLI's
`magpie library mcp router <name> shared|direct` (`hub` works there
too; library_hub_test.go says router for direct, hub for shared).
Run at e2583df31 (this stack on 86fef947e ), on mote: gofmt -l clean;
go vet for darwin, linux (-tags nogui) and windows; go build ./...;
go test -tags nogui ./... -timeout 45m, 81 packages ok, 0 FAIL;
library, gateway, imagemcp, sessions, cli and gui again alone, ok;
site's node --test, 49 of 49. GUI on xiaomi-gpu (Windows; mote's
browsers crashed under other sessions' suites): library-*, image*,
mcp-hub-direct, i18n-keys, list-sort and plugin-tools, both engines and
every language, 1055 of 1056: i18n-keys found "{name} is given to each
agent directly" dropped from the library's strings in the rebase. Put
back in the first commit; at the pushed head i18n-keys, mcp-hub-direct
and library-mcp-hub are 48 of 48. That is the only difference from
e2583df31.
Broken by hand at e2583df31: imagemcp ignoring magpie/roots fails
TestHubCallSavesInTheCallersProject; the router asking anything but
roots/list fails TestHubAsksTheAgentItsRoots and TestHubRootsUnasked;
inHub leaving magpie-image out fails TestHubGivesMagpieImage.
The CLI's TestProviderAddressMovesALocalServer red at -count=3 was
the same on origin/main 380032cda and is fixed in 65c792410 .
Rebased once more onto 2570efb5f , which changed library-mcp-hub,
list-sort, mcp-hub-direct and gateway-routing.md. Run at the pushed
head: go build; gateway, library, cli and imagemcp tests ok; the GUI
budget tests ok; on xiaomi-gpu i18n-keys, mcp-hub-direct,
library-mcp-hub and list-sort, 51 of 54. The three reds were WebKit
420px library-mcp-hub cases with no Connect sheet after a reload.
origin/main d77da5bff goes red the same way (de 420px, 9 of 11). In a
second run of library-mcp-hub on WebKit at this head, 11 of 11 passed.
Filed as #4483 .
2026-10-31 02:49:08 +08:00
..
2026-10-31 02:49:08 +08:00
2026-10-30 15:00:16 +08:00
2026-10-18 07:13:09 +08:00
2026-10-31 02:49:08 +08:00
2026-10-13 09:55:23 +08:00
2026-10-30 18:03:55 +08:00
2026-10-30 15:38:06 +08:00
2026-10-12 01:29:57 +08:00
2026-10-11 02:34:30 +08:00
2026-10-16 19:14:52 +08:00
2026-10-14 20:01:06 +08:00
2026-10-31 01:22:28 +08:00
2026-10-14 17:00:34 +08:00
2026-10-29 13:12:36 +08:00
2026-10-31 01:22:28 +08:00
2026-10-30 12:06:33 +08:00
2026-10-13 09:55:23 +08:00
2026-10-27 18:58:16 +08:00
2026-10-27 18:58:16 +08:00
2026-10-24 21:01:18 +08:00
2026-10-24 21:01:18 +08:00
2026-10-15 01:32:12 +08:00
2026-10-29 17:13:05 +08:00
2026-10-13 16:55:27 +08:00
2026-10-28 22:26:02 +08:00
2026-10-17 22:54:38 +08:00
2026-10-25 05:54:07 +08:00
2026-10-16 00:16:43 +08:00
2026-10-25 01:23:42 +08:00
2026-10-23 01:58:01 +08:00
2026-10-13 14:40:11 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 11:13:24 +08:00
2026-10-13 12:11:23 +08:00
2026-10-26 15:35:12 +08:00
2026-10-10 22:36:28 +08:00
2026-10-27 15:30:31 +08:00
2026-10-29 22:10:21 +08:00
2026-10-29 22:10:21 +08:00
2026-10-30 13:23:19 +08:00
2026-10-30 16:05:58 +08:00
2026-10-22 19:03:32 +08:00
2026-10-30 16:05:58 +08:00
2026-10-30 15:06:14 +08:00
2026-10-13 07:14:22 +08:00
2026-10-15 03:34:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-14 08:36:07 +08:00
2026-10-13 05:34:13 +08:00
2026-10-12 22:51:53 +08:00
2026-10-29 20:53:36 +08:00
2026-10-12 00:57:27 +08:00
2026-10-12 00:57:27 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-10-14 13:31:10 +08:00
2026-10-25 19:28:05 +08:00
2026-10-28 12:25:39 +08:00
2026-10-28 12:25:39 +08:00
2026-10-17 17:45:57 +08:00
2026-10-30 19:12:35 +08:00
2026-10-15 03:34:58 +08:00
2026-10-15 23:08:05 +08:00
2026-10-13 20:39:39 +08:00
2026-10-28 03:50:46 +08:00
2026-10-15 00:34:14 +08:00
2026-10-15 00:34:14 +08:00
2026-10-10 15:08:14 +08:00
2026-10-17 20:38:06 +08:00
2026-10-15 01:32:12 +08:00
2026-10-28 17:34:16 +08:00
2026-10-11 18:57:48 +08:00
2026-10-11 10:33:45 +08:00
2026-10-29 23:36:58 +08:00
2026-10-13 01:41:50 +08:00
2026-10-31 00:57:21 +08:00
2026-10-31 00:57:21 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-10-17 05:33:18 +08:00
2026-10-13 04:27:40 +08:00
2026-10-29 15:50:37 +08:00
2026-10-29 15:50:37 +08:00
2026-10-15 19:20:09 +08:00
2026-10-15 19:20:09 +08:00
2026-10-15 23:08:05 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-10-13 02:14:10 +08:00
2026-10-13 07:30:06 +08:00
2026-10-13 07:30:06 +08:00
2026-10-10 20:00:38 +08:00
2026-10-30 15:26:03 +08:00
2026-10-20 20:23:56 +08:00
2026-10-11 01:49:47 +08:00
2026-10-11 01:49:47 +08:00
2026-10-29 03:17:58 +08:00
2026-10-12 00:10:59 +08:00
2026-10-11 20:10:05 +08:00
2026-10-29 19:58:40 +08:00
2026-10-30 21:56:29 +08:00
2026-10-25 14:00:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-20 01:25:47 +08:00
2026-10-31 00:44:59 +08:00
2026-10-29 09:24:31 +08:00
2026-10-20 02:29:39 +08:00
2026-10-29 20:38:00 +08:00
2026-10-28 05:50:26 +08:00
2026-10-16 08:43:02 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-10-26 22:50:37 +08:00
2026-10-26 22:50:37 +08:00
2026-10-15 23:08:03 +08:00
2026-10-24 05:31:59 +08:00
2026-10-28 15:25:53 +08:00
2026-10-30 11:54:46 +08:00
2026-10-27 08:29:11 +08:00
2026-10-29 07:58:26 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-12 01:45:14 +08:00
2026-10-15 23:08:00 +08:00
2026-10-16 15:40:38 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-22 20:50:59 +08:00
2026-10-14 08:50:41 +08:00
2026-10-19 12:42:48 +08:00
2026-10-29 14:28:24 +08:00
2026-10-18 07:13:09 +08:00
2026-10-16 20:05:11 +08:00
2026-10-29 14:28:24 +08:00
2026-10-29 14:28:24 +08:00
2026-10-28 22:34:52 +08:00
2026-10-13 14:29:52 +08:00
2026-10-16 20:48:51 +08:00
2026-10-24 22:31:59 +08:00
2026-10-13 14:29:52 +08:00
2026-10-14 04:22:19 +08:00
2026-10-12 19:38:20 +08:00
2026-10-10 23:57:56 +08:00
2026-10-30 15:42:29 +08:00
2026-10-27 23:37:46 +08:00
2026-10-31 01:02:24 +08:00
2026-10-21 09:13:30 +08:00
2026-10-30 18:55:51 +08:00
2026-10-28 16:55:24 +08:00
2026-10-28 16:55:24 +08:00
2026-10-12 19:14:54 +08:00
2026-10-14 16:40:23 +08:00
2026-10-11 22:41:11 +08:00
2026-10-15 05:20:17 +08:00
2026-10-27 02:26:27 +08:00
2026-10-30 04:48:17 +08:00
2026-10-12 23:45:06 +08:00
2026-10-11 13:06:28 +08:00
2026-10-12 23:45:06 +08:00
2026-10-17 13:11:43 +08:00
2026-10-25 04:12:06 +08:00
2026-10-16 22:58:40 +08:00
2026-10-23 03:35:27 +08:00
2026-10-10 21:14:38 +08:00
2026-10-15 23:08:02 +08:00
2026-10-14 23:06:35 +08:00
2026-10-10 19:21:56 +08:00
2026-10-31 02:00:10 +08:00
2026-10-23 02:39:33 +08:00
2026-10-15 23:08:05 +08:00
2026-10-15 23:08:05 +08:00
2026-10-11 11:04:21 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-10-31 01:01:49 +08:00
2026-10-15 23:08:00 +08:00
2026-10-14 05:22:40 +08:00
2026-10-11 03:12:46 +08:00
2026-10-30 00:46:45 +08:00
2026-10-11 12:41:00 +08:00
2026-10-29 17:02:24 +08:00
2026-10-16 07:23:55 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-17 05:33:18 +08:00
2026-10-15 23:08:00 +08:00
2026-10-28 22:48:07 +08:00
2026-10-14 22:45:40 +08:00
2026-10-15 05:10:28 +08:00
2026-10-29 06:30:58 +08:00
2026-10-14 22:45:40 +08:00
2026-10-16 05:10:43 +08:00
2026-10-11 01:13:52 +08:00
2026-10-19 03:57:52 +08:00
2026-10-29 23:56:05 +08:00
2026-10-15 09:40:51 +08:00
2026-10-29 23:56:05 +08:00
2026-10-29 23:56:05 +08:00
2026-10-13 13:02:09 +08:00
2026-10-27 06:18:24 +08:00
2026-10-12 22:29:46 +08:00
2026-10-12 23:33:56 +08:00
2026-10-30 08:32:57 +08:00
2026-10-15 08:23:54 +08:00
2026-10-22 00:04:28 +08:00
2026-10-31 01:22:28 +08:00
2026-10-31 00:41:29 +08:00
2026-10-30 15:53:22 +08:00
2026-10-31 01:02:24 +08:00
2026-10-14 08:36:07 +08:00
2026-10-16 15:40:38 +08:00
2026-10-29 17:09:13 +08:00
2026-10-29 17:09:13 +08:00
2026-10-30 19:05:17 +08:00
2026-10-15 23:08:04 +08:00
2026-10-14 08:32:40 +08:00
2026-10-31 00:08:29 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-13 09:55:23 +08:00
2026-10-19 23:19:24 +08:00
2026-10-30 13:23:19 +08:00
2026-10-30 15:53:22 +08:00
2026-10-30 15:53:22 +08:00
2026-10-12 05:21:23 +08:00
2026-10-12 05:21:23 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-24 15:20:37 +08:00
2026-10-24 15:20:37 +08:00
2026-10-24 15:20:37 +08:00
2026-10-15 23:08:01 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-10-12 01:45:14 +08:00
2026-10-30 23:14:08 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 17:29:43 +08:00
2026-10-30 23:14:08 +08:00
2026-10-30 23:14:08 +08:00
2026-10-30 23:14:08 +08:00
2026-10-29 16:31:37 +08:00
2026-10-15 23:08:00 +08:00
2026-10-30 13:23:19 +08:00
2026-10-11 21:59:10 +08:00
2026-10-11 21:59:10 +08:00
2026-10-29 17:47:30 +08:00
2026-10-29 17:47:30 +08:00
2026-10-31 00:44:59 +08:00
2026-10-14 15:19:14 +08:00
2026-10-29 18:55:42 +08:00
2026-10-15 23:08:03 +08:00
2026-10-28 23:22:14 +08:00
2026-10-27 01:37:04 +08:00
2026-10-28 23:22:14 +08:00
2026-10-13 09:47:08 +08:00
2026-10-25 18:22:13 +08:00
2026-10-28 23:22:14 +08:00
2026-10-28 23:22:14 +08:00
2026-10-28 23:22:14 +08:00
2026-10-30 09:23:35 +08:00
2026-10-29 18:52:05 +08:00
2026-10-28 21:13:09 +08:00
2026-10-15 04:21:31 +08:00
2026-10-28 11:15:57 +08:00
2026-10-14 15:26:28 +08:00
2026-10-23 10:54:27 +08:00
2026-10-30 23:14:08 +08:00
2026-10-23 03:08:08 +08:00
2026-10-30 06:34:53 +08:00
2026-10-28 13:51:37 +08:00
2026-10-29 15:39:31 +08:00
2026-10-27 14:27:12 +08:00
2026-10-15 01:32:12 +08:00
2026-10-28 19:54:53 +08:00
2026-10-27 15:15:29 +08:00
2026-10-14 05:29:30 +08:00
2026-10-29 14:28:24 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 15:25:53 +08:00
2026-10-19 07:23:04 +08:00
2026-10-12 22:03:29 +08:00
2026-10-13 09:50:04 +08:00
2026-10-12 22:03:29 +08:00
2026-10-12 22:03:29 +08:00
2026-10-19 07:23:04 +08:00
2026-10-25 01:46:55 +08:00
2026-10-24 22:54:36 +08:00
2026-10-26 21:09:44 +08:00
2026-10-16 20:05:11 +08:00
2026-10-30 21:56:29 +08:00
2026-10-30 21:56:29 +08:00
2026-10-27 13:11:16 +08:00
2026-10-12 23:16:54 +08:00
2026-10-15 00:34:14 +08:00
2026-10-15 00:34:14 +08:00