@nitrostack/cli 1.0.15 → 1.0.16
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/package.json +1 -1
- package/templates/typescript-oauth/.env.example +13 -0
- package/templates/typescript-oauth/README.md +20 -0
- package/templates/typescript-pizzaz/.env.example +12 -0
- package/templates/typescript-pizzaz/README.md +19 -0
- package/templates/typescript-starter/.env.example +12 -0
- package/templates/typescript-starter/README.md +19 -0
package/package.json
CHANGED
|
@@ -12,6 +12,19 @@ NITROSTACK_APP_MODE=universal
|
|
|
12
12
|
# HOST=localhost
|
|
13
13
|
# ENABLE_CORS=true
|
|
14
14
|
|
|
15
|
+
# MCP Protocol Version (Optional)
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# NITRO_MCP_PROTOCOL_VERSION selects which MCP wire revision NitroStack speaks.
|
|
18
|
+
# Unset (default) defaults to 'auto' (serves 2026-07-28 stateless with legacy fallback).
|
|
19
|
+
# - auto : serve both eras from one process (default).
|
|
20
|
+
# - 2026-07-28 : the new stateless spec (server/discover, per-request _meta,
|
|
21
|
+
# Mcp-Method/Mcp-Name headers, cache hints, MRTR, extensions).
|
|
22
|
+
# - 2025-06-18 : the legacy 2025 sessionful spec.
|
|
23
|
+
# On 2026, Dynamic Client Registration (below) is deprecated in favor of CIMD.
|
|
24
|
+
# Your @Tool/@Resource/@Prompt/@Widget code is identical either way.
|
|
25
|
+
# =============================================================================
|
|
26
|
+
# NITRO_MCP_PROTOCOL_VERSION=auto
|
|
27
|
+
|
|
15
28
|
# Streamable HTTP Session Limits (Optional)
|
|
16
29
|
# =============================================================================
|
|
17
30
|
# Bounds memory against unauthenticated initialize floods. Defaults: 1000 sessions,
|
|
@@ -41,6 +41,26 @@ Use NitroStudio to test auth flows, inspect tool requests, and validate behavior
|
|
|
41
41
|
- Download: <https://nitrostack.ai/studio>
|
|
42
42
|
- Studio: <https://nitrostack.ai/studio>
|
|
43
43
|
|
|
44
|
+
## MCP protocol version (optional)
|
|
45
|
+
|
|
46
|
+
This server runs in **`auto` mode by default**, dynamically serving both the new
|
|
47
|
+
**2026-07-28** stateless spec and legacy 2025 JSON-RPC clients from a single endpoint.
|
|
48
|
+
You can customize the wire revision via environment variable — no code changes are needed:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# default (when unset): serve both modern and legacy statelessly
|
|
52
|
+
NITRO_MCP_PROTOCOL_VERSION=auto
|
|
53
|
+
|
|
54
|
+
# new stateless spec only (strict mode)
|
|
55
|
+
NITRO_MCP_PROTOCOL_VERSION=2026-07-28
|
|
56
|
+
|
|
57
|
+
# legacy 2025 sessionful wire
|
|
58
|
+
NITRO_MCP_PROTOCOL_VERSION=2025-06-18
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
On 2026, Dynamic Client Registration is deprecated in favor of Client ID Metadata
|
|
62
|
+
Documents (CIMD). See `.env.example` for details.
|
|
63
|
+
|
|
44
64
|
## Links
|
|
45
65
|
|
|
46
66
|
- Docs: <https://docs.nitrostack.ai>
|
|
@@ -12,6 +12,18 @@ NITROSTACK_APP_MODE=universal
|
|
|
12
12
|
# HOST=localhost
|
|
13
13
|
# ENABLE_CORS=true
|
|
14
14
|
|
|
15
|
+
# MCP Protocol Version (Optional)
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# NITRO_MCP_PROTOCOL_VERSION selects which MCP wire revision NitroStack speaks.
|
|
18
|
+
# Unset (default) defaults to 'auto' (serves 2026-07-28 stateless with legacy fallback).
|
|
19
|
+
# - auto : serve both eras from one process (default).
|
|
20
|
+
# - 2026-07-28 : the new stateless spec (server/discover, per-request _meta,
|
|
21
|
+
# Mcp-Method/Mcp-Name headers, cache hints, MRTR, extensions).
|
|
22
|
+
# - 2025-06-18 : the legacy 2025 sessionful spec.
|
|
23
|
+
# Your @Tool/@Resource/@Prompt/@Widget code is identical either way.
|
|
24
|
+
# =============================================================================
|
|
25
|
+
# NITRO_MCP_PROTOCOL_VERSION=auto
|
|
26
|
+
|
|
15
27
|
# Mapbox Configuration (Optional)
|
|
16
28
|
# =============================================================================
|
|
17
29
|
# The map widget uses Mapbox GL for interactive maps.
|
|
@@ -39,6 +39,25 @@ NitroStudio is the fastest way to test and debug interactive widget output.
|
|
|
39
39
|
- Download: <https://nitrostack.ai/studio>
|
|
40
40
|
- Studio: <https://nitrostack.ai/studio>
|
|
41
41
|
|
|
42
|
+
## MCP protocol version (optional)
|
|
43
|
+
|
|
44
|
+
This server runs in **`auto` mode by default**, dynamically serving both the new
|
|
45
|
+
**2026-07-28** stateless spec and legacy 2025 JSON-RPC clients from a single endpoint.
|
|
46
|
+
You can customize the wire revision via environment variable — no code changes are needed:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# default (when unset): serve both modern and legacy statelessly
|
|
50
|
+
NITRO_MCP_PROTOCOL_VERSION=auto
|
|
51
|
+
|
|
52
|
+
# new stateless spec only (strict mode)
|
|
53
|
+
NITRO_MCP_PROTOCOL_VERSION=2026-07-28
|
|
54
|
+
|
|
55
|
+
# legacy 2025 sessionful wire
|
|
56
|
+
NITRO_MCP_PROTOCOL_VERSION=2025-06-18
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
See `.env.example` for details.
|
|
60
|
+
|
|
42
61
|
## Links
|
|
43
62
|
|
|
44
63
|
- Docs: <https://docs.nitrostack.ai>
|
|
@@ -11,3 +11,15 @@ NITROSTACK_APP_MODE=universal
|
|
|
11
11
|
# PORT=3000
|
|
12
12
|
# HOST=localhost
|
|
13
13
|
# ENABLE_CORS=true
|
|
14
|
+
|
|
15
|
+
# MCP Protocol Version (Optional)
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# NITRO_MCP_PROTOCOL_VERSION selects which MCP wire revision NitroStack speaks.
|
|
18
|
+
# Unset (default) defaults to 'auto' (serves 2026-07-28 stateless with legacy fallback).
|
|
19
|
+
# - auto : serve both eras from one process (default).
|
|
20
|
+
# - 2026-07-28 : the new stateless spec (server/discover, per-request _meta,
|
|
21
|
+
# Mcp-Method/Mcp-Name headers, cache hints, MRTR, extensions).
|
|
22
|
+
# - 2025-06-18 : the legacy 2025 sessionful spec.
|
|
23
|
+
# Your @Tool/@Resource/@Prompt/@Widget code is identical either way.
|
|
24
|
+
# =============================================================================
|
|
25
|
+
# NITRO_MCP_PROTOCOL_VERSION=auto
|
|
@@ -34,6 +34,25 @@ development.
|
|
|
34
34
|
- Download: <https://nitrostack.ai/studio>
|
|
35
35
|
- Studio: <https://nitrostack.ai/studio>
|
|
36
36
|
|
|
37
|
+
## MCP protocol version (optional)
|
|
38
|
+
|
|
39
|
+
This server runs in **`auto` mode by default**, dynamically serving both the new
|
|
40
|
+
**2026-07-28** stateless spec and legacy 2025 JSON-RPC clients from a single endpoint.
|
|
41
|
+
You can customize the wire revision via environment variable — no code changes are needed:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# default (when unset): serve both modern and legacy statelessly
|
|
45
|
+
NITRO_MCP_PROTOCOL_VERSION=auto
|
|
46
|
+
|
|
47
|
+
# new stateless spec only (strict mode)
|
|
48
|
+
NITRO_MCP_PROTOCOL_VERSION=2026-07-28
|
|
49
|
+
|
|
50
|
+
# legacy 2025 sessionful wire
|
|
51
|
+
NITRO_MCP_PROTOCOL_VERSION=2025-06-18
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
See `.env.example` for details.
|
|
55
|
+
|
|
37
56
|
## Links
|
|
38
57
|
|
|
39
58
|
- Docs: <https://docs.nitrostack.ai>
|