@mcp-b/webmcp-ts-sdk 6.0.2 → 6.1.0

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -90,7 +90,7 @@ MCP requires an object-root tool input schema. An array-root WebMCP tool remains
90
90
  - `PromptDescriptor`, `ResourceDescriptor`, `RegistrationHandle`
91
91
  - `ModelContext`, `ModelContextWithExtensions`, `RegisteredTool`, `ToolDescriptor`, `ToolDescriptorFromSchema`, `ToolListItem`, `InputSchema`, and the other MCP-B descriptor and inference types
92
92
  - `CallToolResult`, `ContentBlock`, `TextContent`, `JsonObject`, `JsonValue`, re-exported from `@modelcontextprotocol/server`
93
- - `WebMCP`, the upstream namespace re-exported through `@mcp-b/webmcp-polyfill`, which also brings the polyfill's `SubmitEvent` and `ModelContext` declarations into scope
93
+ - `WebMCP`, the `webmcp-types` namespace re-exported through `@mcp-b/webmcp-polyfill`, which also brings the polyfill's `SubmitEvent` and `ModelContext` declarations into scope
94
94
  - `@mcp-b/webmcp-ts-sdk/schema`: `normalizeInputSchema()`, `normalizeToolResponse()`, `isMcpStandardSchema()`, `ToolInputSchema`, `NormalizedInputSchema`
95
95
 
96
96
  Import MCP clients, servers, schemas, transports, and validators from the official `@modelcontextprotocol/*` packages.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/webmcp-ts-sdk",
3
- "version": "6.0.2",
3
+ "version": "6.1.0",
4
4
  "description": "WebMCP browser adapter extending the upstream API with MCP capabilities",
5
5
  "keywords": [
6
6
  "adapter",
@@ -62,13 +62,13 @@
62
62
  "registry": "https://registry.npmjs.org/"
63
63
  },
64
64
  "dependencies": {
65
- "@modelcontextprotocol/server": "2.0.0",
65
+ "@modelcontextprotocol/server": "2.4.0",
66
66
  "@standard-schema/spec": "^1.1.0",
67
- "webmcp-types": "0.1.9",
68
- "@mcp-b/webmcp-polyfill": "6.0.2"
67
+ "webmcp-types": "0.1.10",
68
+ "@mcp-b/webmcp-polyfill": "6.1.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@modelcontextprotocol/client": "2.2.0",
71
+ "@modelcontextprotocol/client": "2.4.0",
72
72
  "@vitest/coverage-v8": "4.1.8",
73
73
  "playwright": "^1.62.1",
74
74
  "typescript": "^5.8.3",