@ni-c/mcp-hub 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +9 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.6.4] - 2026-08-18
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The architecture diagram no longer depends on the reader's operating system.
|
|
13
|
+
It carried a `prefers-color-scheme` block, which resolves against the OS rather
|
|
14
|
+
than the theme toggle of GitHub or npm — so dark-mode readers on a light OS got
|
|
15
|
+
the light artwork on a dark page. The README now uses `<picture>`, which is
|
|
16
|
+
resolved against the page, and the `<img>` that npm falls back to brings its own
|
|
17
|
+
card instead of a media query.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- The diagram is generated from a single source, `docs/assets/architecture.source.svg`,
|
|
22
|
+
by `npm run assets`. The four rendered copies had already drifted apart; CI now
|
|
23
|
+
fails if one of them is edited by hand.
|
|
24
|
+
- `docs/public/og.png` is generated at exactly 1280x640, GitHub's recommended size
|
|
25
|
+
for a social preview, instead of being drawn by hand.
|
|
26
|
+
|
|
8
27
|
## [0.6.3] - 2026-08-17
|
|
9
28
|
|
|
10
29
|
### Fixed
|
|
@@ -149,6 +168,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
149
168
|
`RESOURCE_BOUND_TOKENS=false` — it restores the old behaviour and logs a
|
|
150
169
|
warning on every start. The default also applies to `createHub()` for
|
|
151
170
|
programmatic use.
|
|
171
|
+
|
|
152
172
|
- **Breaking: `/health` requires a token for `/hub`.** It reports the same
|
|
153
173
|
fleet-wide view as the aggregate — every server's name, state and tool count —
|
|
154
174
|
so a token bound to a single server no longer reads it. Unauthenticated
|
package/README.md
CHANGED
|
@@ -16,7 +16,15 @@ protected by a single password, plus long-lived API tokens for clients that
|
|
|
16
16
|
cannot do OAuth (OpenAI Responses API, xAI API, Gemini API). Per-client
|
|
17
17
|
recipes: [client compatibility](https://mcp-hub.ni-c.de/guide/client-compatibility).
|
|
18
18
|
|
|
19
|
-
<
|
|
19
|
+
<!-- <picture> is resolved against the colour scheme of the page showing it, so GitHub
|
|
20
|
+
picks the variant that matches its own theme toggle. npm strips <picture> and
|
|
21
|
+
<source> when it sanitises the README and keeps the <img>, which is why that
|
|
22
|
+
fallback brings its own dark card instead of relying on a media query. -->
|
|
23
|
+
<picture>
|
|
24
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://mcp-hub.ni-c.de/architecture-dark.svg">
|
|
25
|
+
<source media="(prefers-color-scheme: light)" srcset="https://mcp-hub.ni-c.de/architecture-light.svg">
|
|
26
|
+
<img src="https://mcp-hub.ni-c.de/architecture.svg" alt="MCP clients connect through a reverse proxy to mcp-hub: one Node process with an OAuth 2.1 authorization server, one path per server plus the /hub aggregate, and a supervisor keeping the stdio children and remote upstreams alive" width="800">
|
|
27
|
+
</picture>
|
|
20
28
|
|
|
21
29
|

|
|
22
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni-c/mcp-hub",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Serve multiple stdio MCP servers from one container: Claude-Code-style mcpServers config, path-based routing, hub meta-tools, and OAuth 2.1 + API tokens for ChatGPT, Claude and any Streamable-HTTP MCP client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -43,7 +43,9 @@
|
|
|
43
43
|
"test": "vitest run",
|
|
44
44
|
"test:coverage": "vitest run --coverage",
|
|
45
45
|
"test:watch": "vitest",
|
|
46
|
-
"prepublishOnly": "npm test && npm run build"
|
|
46
|
+
"prepublishOnly": "npm test && npm run build",
|
|
47
|
+
"assets": "node scripts/gen-assets.mjs",
|
|
48
|
+
"assets:check": "node scripts/gen-assets.mjs --check"
|
|
47
49
|
},
|
|
48
50
|
"dependencies": {
|
|
49
51
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
@@ -54,6 +56,7 @@
|
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
58
|
"@modelcontextprotocol/server-everything": "^2026.7.4",
|
|
59
|
+
"@resvg/resvg-js": "^2.6.2",
|
|
57
60
|
"@types/express": "^5.0.0",
|
|
58
61
|
"@types/node": "^26.2.0",
|
|
59
62
|
"@types/supertest": "^7.2.1",
|