@casys/mcp-server 0.17.6 → 0.18.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.
package/mod.ts CHANGED
@@ -122,22 +122,13 @@ export {
122
122
  resolveViewerDistPath,
123
123
  } from "./src/ui/viewer-utils.js";
124
124
 
125
- // MCP Compose — UI composition helpers (re-exported from @casys/mcp-compose)
126
- export {
127
- COMPOSE_EVENT_METHOD,
128
- composeEvents,
129
- uiMeta,
130
- } from "@casys/mcp-compose/sdk";
131
- export type {
132
- ComposeEventHandler,
133
- ComposeEventPayload,
134
- ComposeEvents,
135
- ComposeSource,
136
- ComposeTarget,
137
- UiMetaOptions,
138
- UiMetaResult,
139
- UiMetaUi,
140
- } from "@casys/mcp-compose/sdk";
125
+ // NOTE: UI composition helpers (`composeEvents`, `uiMeta`, `COMPOSE_EVENT_METHOD`
126
+ // and their types) are NOT re-exported here. They live in `@casys/mcp-compose`
127
+ // and must be imported from there directly:
128
+ // import { composeEvents, uiMeta } from "@casys/mcp-compose/sdk";
129
+ // Dropping the convenience re-export removes @casys/mcp-server's dependency on
130
+ // @casys/mcp-compose entirely — server stays a lean MCP framework that only
131
+ // touches the official protocol packages.
141
132
 
142
133
  // Middleware pipeline
143
134
  export type {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casys/mcp-server",
3
- "version": "0.17.6",
3
+ "version": "0.18.0",
4
4
  "description": "Production-ready MCP server framework with concurrency control, auth, and observability",
5
5
  "type": "module",
6
6
  "main": "mod.ts",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@modelcontextprotocol/sdk": "^1.29.0",
14
- "@casys/mcp-compose": "^0.5.2",
14
+ "@modelcontextprotocol/ext-apps": "^1.7.1",
15
15
  "hono": "^4.0.0",
16
16
  "ajv": "^8.17.1",
17
17
  "jose": "^6.0.0",
package/src/types.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * @module lib/server/types
8
8
  */
9
9
 
10
- import type { McpUiToolMeta as McpUiToolMetaBase } from "@casys/mcp-compose/core";
10
+ import type { McpUiToolMeta as McpUiToolMetaBase } from "@modelcontextprotocol/ext-apps";
11
11
 
12
12
  /**
13
13
  * Rate limit configuration
@@ -141,9 +141,10 @@ export interface McpAppOptions {
141
141
  /**
142
142
  * MCP Apps UI metadata for tools (SEP-1865 + PML extensions)
143
143
  *
144
- * Extends the base `McpUiToolMeta` from mcp-compose/core with
145
- * PML-specific `emits`/`accepts` fields for cross-UI sync rules.
146
- * The server DECLARES capabilities; mcp-compose OWNS the contract.
144
+ * Extends the base `McpUiToolMeta` from `@modelcontextprotocol/ext-apps`
145
+ * (the official MCP Apps contract) with PML-specific `emits`/`accepts`
146
+ * fields for cross-UI sync rules. The server narrows/extends the spec type;
147
+ * the contract itself is owned upstream by the protocol, not by this repo.
147
148
  *
148
149
  * @example
149
150
  * ```typescript
Binary file