@novorb/mcp-core 3.0.0 → 3.0.2
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/docs/sdk.md +2 -2
- package/package.json +4 -4
package/docs/sdk.md
CHANGED
|
@@ -8,7 +8,7 @@ Consumers depend on `@novorb/mcp-core` only, never on `@modelcontextprotocol/*`:
|
|
|
8
8
|
- **Everything else the SDK offers:** `@novorb/mcp-core/sdk/server` (= `@modelcontextprotocol/server`),
|
|
9
9
|
`/sdk/server/stdio`, `/sdk/node`, `/sdk/client` (with its HTTP, SSE and in-memory transports),
|
|
10
10
|
`/sdk/client/stdio`, `/sdk/express`. Each is a full `export *` (values and types), pinned to the SDK
|
|
11
|
-
versions mcp-core ships (`server ~2.
|
|
11
|
+
versions mcp-core ships (`server ~2.4.0`, `node ~2.1.2`, `client ~2.4.0`, `express ~2.0.2`). There is no
|
|
12
12
|
`/sdk/core`: `@modelcontextprotocol/server` and `/client` already re-export every spec type, and
|
|
13
13
|
`@modelcontextprotocol/core` is the SDK's internal schema package.
|
|
14
14
|
- **Migration:** in consumer tests replace `import ... from '@modelcontextprotocol/client'` with
|
|
@@ -20,7 +20,7 @@ Consumers depend on `@novorb/mcp-core` only, never on `@modelcontextprotocol/*`:
|
|
|
20
20
|
|
|
21
21
|
Version 3.0.0 moves from `@modelcontextprotocol/sdk` (v1) to the SDK v2 packages.
|
|
22
22
|
|
|
23
|
-
- **Packages:** `@modelcontextprotocol/server` `~2.
|
|
23
|
+
- **Packages:** `@modelcontextprotocol/server` `~2.4.0`, `@modelcontextprotocol/node` `~2.1.2` and `@modelcontextprotocol/client` `~2.4.0` are runtime dependencies (patch-level ranges: a minor SDK release is adopted deliberately). `express` (`^4.18 || ^5`) and `@modelcontextprotocol/express` (`~2.0.2`) are optional peers, needed only for `@novorb/mcp-core/express` and `/sdk/express`; a stdio-only or `node:http` consumer installs neither. Those two subpaths load them lazily and fail at import with `ExpressAdapterUnavailableError` when either is missing. `@modelcontextprotocol/sdk` (v1) is gone.
|
|
24
24
|
- **Runtime:** Node 20.12 or newer (the env loader uses `util.parseEnv`).
|
|
25
25
|
- **zod:** consumers bring `zod` `^4.2`. mcp-core has no runtime zod dependency and never loads it; `pagedResultSchema(z, item)` takes the consumer's `z` and never imports zod: its parameter is a structural contract, so any zod 4.x namespace typechecks (no shared zod identity or tsconfig `paths` entry needed).
|
|
26
26
|
- **Import only through mcp-core:** see "The SDK through mcp-core" above.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novorb/mcp-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Shared utilities for MCP servers: the SDK v2 surface, logger, HTTP client, retry, pagination, transport",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
|
-
"@modelcontextprotocol/client": "~2.
|
|
165
|
-
"@modelcontextprotocol/node": "~2.1.
|
|
166
|
-
"@modelcontextprotocol/server": "~2.
|
|
164
|
+
"@modelcontextprotocol/client": "~2.4.0",
|
|
165
|
+
"@modelcontextprotocol/node": "~2.1.2",
|
|
166
|
+
"@modelcontextprotocol/server": "~2.4.0",
|
|
167
167
|
"axios": "^1.20.0"
|
|
168
168
|
},
|
|
169
169
|
"devDependencies": {
|