@plurnk/plurnk-mcp 1.7.0 → 1.9.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/.env.defaults +25 -0
- package/README.md +85 -27
- package/SPEC.md +317 -69
- package/dist/McpExecutor.d.ts +28 -3
- package/dist/McpExecutor.d.ts.map +1 -1
- package/dist/McpExecutor.js +50 -6
- package/dist/McpExecutor.js.map +1 -1
- package/dist/Module.d.ts +68 -11
- package/dist/Module.d.ts.map +1 -1
- package/dist/Module.js +393 -482
- package/dist/Module.js.map +1 -1
- package/dist/ToolPresentation.d.ts +3 -1
- package/dist/ToolPresentation.d.ts.map +1 -1
- package/dist/ToolPresentation.js +145 -55
- package/dist/ToolPresentation.js.map +1 -1
- package/dist/capabilityMatrix.d.ts +23 -0
- package/dist/capabilityMatrix.d.ts.map +1 -0
- package/dist/capabilityMatrix.js +403 -0
- package/dist/capabilityMatrix.js.map +1 -0
- package/dist/client.d.ts +3 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +105 -43
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +8 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +169 -32
- package/dist/config.js.map +1 -1
- package/dist/extensionChannel.d.ts.map +1 -1
- package/dist/extensionChannel.js +18 -4
- package/dist/extensionChannel.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-watchdog.mjs +106 -0
- package/dist/protocol.d.ts +1 -0
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +1 -0
- package/dist/protocol.js.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { MCP_OAUTH_CLIENT_CREDENTIALS_EXTENSION_ID, MCP_TASKS_EXTENSION_ID } from "./protocol.js";
|
|
2
|
+
// {§mcp-capability-matrix} — the one accountable support matrix. A row is
|
|
3
|
+
// "supported" only when every layer its owning contract includes has real
|
|
4
|
+
// coverage; advertisement derives from this file, never from ad-hoc claims.
|
|
5
|
+
export const CAPABILITY_MATRIX = [
|
|
6
|
+
{
|
|
7
|
+
id: "base-envelope",
|
|
8
|
+
surface: "JSON-RPC 2.0 base with per-request protocol, identity, and capability metadata; resultType on every result",
|
|
9
|
+
authority: "core",
|
|
10
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
11
|
+
advertised: "never",
|
|
12
|
+
interactive: false,
|
|
13
|
+
disposition: "supported",
|
|
14
|
+
composed: true,
|
|
15
|
+
evidence: ["{§mcp-authority}", "{§mcp-core-matrix}", "plurnk-mcp HttpTransport 'Streamable HTTP carries the current envelope and ordinary tool calls'"],
|
|
16
|
+
note: "Envelope is wire mechanics, not a client capability; preserved without reconstruction.",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: "discovery",
|
|
20
|
+
surface: "server/discover probing before registration",
|
|
21
|
+
authority: "core",
|
|
22
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
23
|
+
advertised: "never",
|
|
24
|
+
interactive: false,
|
|
25
|
+
disposition: "supported",
|
|
26
|
+
composed: true,
|
|
27
|
+
evidence: ["{§mcp-authority}", "{§mcp-core-matrix}", "plurnk-core intg 'AG-UI configuration cascade composes MCP discovery, execution, review, failure, and recovery'"],
|
|
28
|
+
note: "Retains identity, instructions, capabilities, versions, and cache hints; modern peers only.",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "tools",
|
|
32
|
+
surface: "tools/list and tools/call",
|
|
33
|
+
authority: "core",
|
|
34
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
35
|
+
advertised: "never",
|
|
36
|
+
interactive: false,
|
|
37
|
+
disposition: "supported",
|
|
38
|
+
composed: true,
|
|
39
|
+
evidence: ["{§mcp-core-matrix}", "{§mcp-tool-presentation}", "plurnk-core intg 'AG-UI configuration cascade composes MCP discovery, execution, review, failure, and recovery'"],
|
|
40
|
+
note: "One operator-filtered exact Registry snapshot; only enabled names are routed.",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "resources",
|
|
44
|
+
surface: "resources/list, resources/templates/list, resources/read",
|
|
45
|
+
authority: "core",
|
|
46
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
47
|
+
advertised: "never",
|
|
48
|
+
interactive: false,
|
|
49
|
+
disposition: "supported",
|
|
50
|
+
composed: true,
|
|
51
|
+
evidence: ["{§mcp-core-matrix}", "{§mcp-model-projection}", "plurnk-mcp McpResources 'resource facet materializes current MCP resources as ordinary entries'"],
|
|
52
|
+
note: "Published through the server's resource authority into Plurnk entries; not a raw client surface.",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "prompts",
|
|
56
|
+
surface: "prompts/list and prompts/get",
|
|
57
|
+
authority: "core",
|
|
58
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
59
|
+
advertised: "never",
|
|
60
|
+
interactive: false,
|
|
61
|
+
disposition: "supported",
|
|
62
|
+
composed: true,
|
|
63
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp McpResources 'prompt definitions and retrieval use the server resource authority'"],
|
|
64
|
+
note: "Prompt definitions and retrieval share the server resource authority.",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "completion",
|
|
68
|
+
surface: "completion/complete for prompts and resource templates",
|
|
69
|
+
authority: "core",
|
|
70
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
71
|
+
advertised: "never",
|
|
72
|
+
interactive: true,
|
|
73
|
+
disposition: "supported",
|
|
74
|
+
composed: true,
|
|
75
|
+
evidence: ["{§mcp-core-matrix}", "{§mcp-management-actions}", "plurnk-mcp client 'client pins the current MCP revision and exercises tools and resources'"],
|
|
76
|
+
note: "Owned by the host interaction that owns the argument; worker.mcp.complete.",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "pagination",
|
|
80
|
+
surface: "Opaque cursors on list methods",
|
|
81
|
+
authority: "core",
|
|
82
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
83
|
+
advertised: "never",
|
|
84
|
+
interactive: false,
|
|
85
|
+
disposition: "supported",
|
|
86
|
+
composed: false,
|
|
87
|
+
evidence: ["{§mcp-core-matrix}"],
|
|
88
|
+
note: "Finite non-convergence guard; a partial catalog is never published complete.",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "caching",
|
|
92
|
+
surface: "ttlMs and cacheScope on discover, list methods, and resources/read",
|
|
93
|
+
authority: "core",
|
|
94
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
95
|
+
advertised: "never",
|
|
96
|
+
interactive: false,
|
|
97
|
+
disposition: "supported",
|
|
98
|
+
composed: false,
|
|
99
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp subscriptions 'resource reads maintain one overlap-replaced subscription for selected cache entries'"],
|
|
100
|
+
note: "Freshness honored with notification invalidation; private entries partitioned by authorization context.",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
id: "subscriptions",
|
|
104
|
+
surface: "subscriptions/listen with acknowledged filters and correlated notifications",
|
|
105
|
+
authority: "core",
|
|
106
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
107
|
+
advertised: "never",
|
|
108
|
+
interactive: false,
|
|
109
|
+
disposition: "supported",
|
|
110
|
+
composed: true,
|
|
111
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp subscriptions 'a remotely ended unified subscription is re-established with a fresh request'"],
|
|
112
|
+
note: "One current filter for list changes, cached resource URIs, and active Task IDs; overlap replacement and re-listen after loss.",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: "progress",
|
|
116
|
+
surface: "Request-scoped notifications/progress",
|
|
117
|
+
authority: "core",
|
|
118
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
119
|
+
advertised: "never",
|
|
120
|
+
interactive: false,
|
|
121
|
+
disposition: "supported",
|
|
122
|
+
composed: true,
|
|
123
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp McpExecutor 'MCP progress and cancellation remain on the owning EXEC lifecycle over stdio'"],
|
|
124
|
+
note: "Projected onto the owning Plurnk operation; no independent protocol lifecycle.",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cancellation",
|
|
128
|
+
surface: "Stream closure on HTTP; notifications/cancelled on stdio",
|
|
129
|
+
authority: "core",
|
|
130
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
131
|
+
advertised: "never",
|
|
132
|
+
interactive: false,
|
|
133
|
+
disposition: "supported",
|
|
134
|
+
composed: true,
|
|
135
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp HttpTransport 'HTTP progress and stream cancellation settle the same request'"],
|
|
136
|
+
note: "Driven from the owning Plurnk abort signal; settles the same operation.",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "result-content",
|
|
140
|
+
surface: "Passive rich content in tool and resource results: text, image, audio, resource link, embedded text/blob resource",
|
|
141
|
+
authority: "core",
|
|
142
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
143
|
+
advertised: "never",
|
|
144
|
+
interactive: false,
|
|
145
|
+
disposition: "partial",
|
|
146
|
+
composed: false,
|
|
147
|
+
evidence: ["{§mcp-result-content}", "{§json-result-rendering}", "plurnk-mcp McpExecutor '{§mcp-result-content} every passive content variant is preserved losslessly as channel evidence'"],
|
|
148
|
+
note: "Lossless JSON preservation into the evidence channel; first-class non-text client rendering is not claimed.",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "mrtr",
|
|
152
|
+
surface: "input_required on tools/call, resources/read, or prompts/get",
|
|
153
|
+
authority: "core",
|
|
154
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
155
|
+
advertised: "never",
|
|
156
|
+
interactive: true,
|
|
157
|
+
disposition: "supported",
|
|
158
|
+
composed: true,
|
|
159
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp Module 'one input_required round becomes one atomic client interaction'", "plurnk-core intg ClientInteractions"],
|
|
160
|
+
note: "Opaque requestState echoed byte-for-byte; only the originating request retried with a fresh ID.",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "elicitation",
|
|
164
|
+
surface: "Elicitation through MRTR with form and URL modes",
|
|
165
|
+
authority: "core",
|
|
166
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
167
|
+
advertised: "always",
|
|
168
|
+
interactive: true,
|
|
169
|
+
disposition: "supported",
|
|
170
|
+
composed: true,
|
|
171
|
+
evidence: ["{§mcp-core-matrix}", "plurnk-mcp Module 'form and URL responses are validated before retrying the origin'", "plurnk-agui AguiPlus 'client interaction projects its exact tool call, interrupt guidance, and response schema'", "plurnk TUI question tool (plurnk repo)", "plurnk.nvim lua/plurnk/question.lua (plurnk.nvim repo)"],
|
|
172
|
+
note: "Modes form and url advertised; routed through Plurnk's client-owned interaction lifecycle.",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "authorization-bearer",
|
|
176
|
+
surface: "Static bearer token over HTTP",
|
|
177
|
+
authority: "core",
|
|
178
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
179
|
+
advertised: "never",
|
|
180
|
+
interactive: false,
|
|
181
|
+
disposition: "supported",
|
|
182
|
+
composed: false,
|
|
183
|
+
evidence: ["{§mcp-configuration}", "plurnk-mcp HttpTransport 'HTTP bearer credentials expand only while preparing a connection'"],
|
|
184
|
+
note: "Private-service/legacy transport credential; one complete environment reference.",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: "authorization-oauth",
|
|
188
|
+
surface: "Interactive OAuth over HTTP",
|
|
189
|
+
authority: "core",
|
|
190
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
191
|
+
advertised: "never",
|
|
192
|
+
interactive: true,
|
|
193
|
+
disposition: "supported",
|
|
194
|
+
composed: true,
|
|
195
|
+
evidence: ["{§mcp-management-actions}", "{§oauth-lifetime}", "plurnk-mcp HttpTransport 'interactive HTTP OAuth preserves discovery, PKCE, state, issuer, and resource binding'"],
|
|
196
|
+
note: "Human principals via Worker-bound client attachments; validated metadata, PKCE, issuer, resource indicators, refresh, bounded scope.",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: MCP_TASKS_EXTENSION_ID,
|
|
200
|
+
surface: "Tasks extension: task creation, polling, input, cancellation, notifications, terminal settlement",
|
|
201
|
+
authority: "extension",
|
|
202
|
+
authorityRef: "experimental-ext-tasks @ 2c1425d9a288b9b1f489430fe1e00bb392b47e48",
|
|
203
|
+
advertised: "always",
|
|
204
|
+
interactive: true,
|
|
205
|
+
disposition: "supported",
|
|
206
|
+
composed: true,
|
|
207
|
+
evidence: ["{§mcp-tasks}", "{§tasks-lifetime}", "plurnk-mcp Tasks 'current HTTP Tasks preserve MRTR, task input, polling, notifications, and routing'", "plurnk-mcp Tasks '{§tasks-lifetime} closing the owning connection abandons an in-process task instead of resuming it'", "plurnk-core intg ClientInteractions", "plurnk-agui AguiPlus 'client interaction projects its exact tool call, interrupt guidance, and response schema'"],
|
|
208
|
+
note: "Advertised only when the complete in-process lifecycle is active; never core conformance. Task input routes through the general interaction owner; handles are in-process per {§tasks-lifetime}.",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: MCP_OAUTH_CLIENT_CREDENTIALS_EXTENSION_ID,
|
|
212
|
+
surface: "oauth-client-credentials extension, client-secret arm",
|
|
213
|
+
authority: "extension",
|
|
214
|
+
authorityRef: "official extension; secret-only client permitted by the contract",
|
|
215
|
+
advertised: "conditional",
|
|
216
|
+
interactive: false,
|
|
217
|
+
disposition: "supported",
|
|
218
|
+
composed: false,
|
|
219
|
+
evidence: ["{§oauth-client-credentials}", "plurnk-mcp HttpTransport '{§oauth-client-credentials} the extension capability is advertised only on client-credentials connections'"],
|
|
220
|
+
note: "Application principals; advertised only on connections holding a client-credentials definition; issuer binding; JWT arms declined.",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "extension-roots",
|
|
224
|
+
surface: "Roots",
|
|
225
|
+
authority: "deprecated",
|
|
226
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
227
|
+
advertised: "never",
|
|
228
|
+
interactive: false,
|
|
229
|
+
disposition: "excluded",
|
|
230
|
+
composed: false,
|
|
231
|
+
evidence: ["{§mcp-exclusions}"],
|
|
232
|
+
note: "Explicit resources/tool arguments instead.",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "extension-sampling",
|
|
236
|
+
surface: "Sampling",
|
|
237
|
+
authority: "deprecated",
|
|
238
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
239
|
+
advertised: "never",
|
|
240
|
+
interactive: false,
|
|
241
|
+
disposition: "excluded",
|
|
242
|
+
composed: false,
|
|
243
|
+
evidence: ["{§mcp-exclusions}"],
|
|
244
|
+
note: "Plurnk's provider layer owns model access.",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "extension-logging",
|
|
248
|
+
surface: "Logging",
|
|
249
|
+
authority: "deprecated",
|
|
250
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
251
|
+
advertised: "never",
|
|
252
|
+
interactive: false,
|
|
253
|
+
disposition: "excluded",
|
|
254
|
+
composed: false,
|
|
255
|
+
evidence: ["{§mcp-exclusions}"],
|
|
256
|
+
note: "stderr/OpenTelemetry instead.",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
id: "transport-http-sse",
|
|
260
|
+
surface: "HTTP+SSE transport",
|
|
261
|
+
authority: "deprecated",
|
|
262
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
263
|
+
advertised: "never",
|
|
264
|
+
interactive: false,
|
|
265
|
+
disposition: "excluded",
|
|
266
|
+
composed: false,
|
|
267
|
+
evidence: ["{§mcp-exclusions}"],
|
|
268
|
+
note: "Streamable HTTP only.",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "oauth-dcr",
|
|
272
|
+
surface: "OAuth Dynamic Client Registration",
|
|
273
|
+
authority: "deprecated",
|
|
274
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
275
|
+
advertised: "never",
|
|
276
|
+
interactive: false,
|
|
277
|
+
disposition: "excluded",
|
|
278
|
+
composed: false,
|
|
279
|
+
evidence: ["{§mcp-exclusions}", "plurnk-mcp HttpTransport '{§mcp-exclusions} unavailable deprecated DCR is attributed without probing it'"],
|
|
280
|
+
note: "Pre-registration, then CIMD; DCR only via advertised registration_endpoint.",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
id: "legacy-lifecycle",
|
|
284
|
+
surface: "initialize, notifications/initialized, Mcp-Session-Id, HTTP GET event stream, ping, logging/setLevel, roots list_changed",
|
|
285
|
+
authority: "excluded",
|
|
286
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
287
|
+
advertised: "never",
|
|
288
|
+
interactive: false,
|
|
289
|
+
disposition: "excluded",
|
|
290
|
+
composed: false,
|
|
291
|
+
evidence: ["{§mcp-exclusions}"],
|
|
292
|
+
note: "Removed; every request is stateless and self-contained.",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
id: "legacy-subscriptions",
|
|
296
|
+
surface: "resources/subscribe, resources/unsubscribe, SSE resumption, Last-Event-ID",
|
|
297
|
+
authority: "excluded",
|
|
298
|
+
authorityRef: "2026-07-28 @ 5f5440bb26a62e2cf3440b92da5a667efa03b267",
|
|
299
|
+
advertised: "never",
|
|
300
|
+
interactive: false,
|
|
301
|
+
disposition: "excluded",
|
|
302
|
+
composed: false,
|
|
303
|
+
evidence: ["{§mcp-exclusions}"],
|
|
304
|
+
note: "Removed; subscriptions/listen and fresh request IDs instead.",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
id: "legacy-tasks",
|
|
308
|
+
surface: "Legacy Tasks tasks/list, tasks/result, task-augmentation request fields",
|
|
309
|
+
authority: "excluded",
|
|
310
|
+
authorityRef: "experimental-ext-tasks @ 2c1425d9a288b9b1f489430fe1e00bb392b47e48",
|
|
311
|
+
advertised: "never",
|
|
312
|
+
interactive: false,
|
|
313
|
+
disposition: "excluded",
|
|
314
|
+
composed: false,
|
|
315
|
+
evidence: ["{§mcp-exclusions}"],
|
|
316
|
+
note: "Removed; only the negotiated final Tasks extension.",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "extension-cc-jwt",
|
|
320
|
+
surface: "oauth-client-credentials JWT and private-key assertion arms",
|
|
321
|
+
authority: "extension",
|
|
322
|
+
authorityRef: "official extension; the contract permits a secret-only client",
|
|
323
|
+
advertised: "never",
|
|
324
|
+
interactive: false,
|
|
325
|
+
disposition: "excluded",
|
|
326
|
+
composed: false,
|
|
327
|
+
evidence: ["{§oauth-client-credentials}"],
|
|
328
|
+
note: "Declared non-goal; secret-only client.",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
id: "extension-ema",
|
|
332
|
+
surface: "Enterprise-managed authorization",
|
|
333
|
+
authority: "extension",
|
|
334
|
+
authorityRef: "official extension; SEP-990 / ext-auth stable",
|
|
335
|
+
advertised: "never",
|
|
336
|
+
interactive: false,
|
|
337
|
+
disposition: "deferred",
|
|
338
|
+
composed: false,
|
|
339
|
+
evidence: ["{§mcp-ema-deferral}", "https://repo.possumtech.com/plurnk/plurnk-service/issues/270"],
|
|
340
|
+
note: "Deferred ({§mcp-ema-deferral}): SSO identity acquisition, durable identity material, and org-level IdP configuration are enterprise deployment policy, not open-source host mechanics.",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
id: "extension-apps",
|
|
344
|
+
surface: "MCP Apps: UI resources, sandboxed rendering, postMessage dialect, host delegation",
|
|
345
|
+
authority: "extension",
|
|
346
|
+
authorityRef: "official extension; https://modelcontextprotocol.io/extensions/apps/overview",
|
|
347
|
+
advertised: "never",
|
|
348
|
+
interactive: true,
|
|
349
|
+
disposition: "deferred",
|
|
350
|
+
composed: false,
|
|
351
|
+
evidence: ["{§mcp-apps-exclusion}", "https://repo.possumtech.com/plurnk/plurnk-service/issues/271"],
|
|
352
|
+
note: "Excluded for the current client set ({§mcp-apps-exclusion}); re-evaluate only with a sandbox-capable client and a standard AG-UI projection, per-client-advertised.",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
id: "extension-skills",
|
|
356
|
+
surface: "Skills over MCP: discovery, metadata, activation, content, and trust model",
|
|
357
|
+
authority: "extension",
|
|
358
|
+
authorityRef: "Extensions-track SEP in review; experimental reference material only (https://modelcontextprotocol.io/community/working-groups/skills-over-mcp)",
|
|
359
|
+
advertised: "never",
|
|
360
|
+
interactive: false,
|
|
361
|
+
disposition: "deferred",
|
|
362
|
+
composed: false,
|
|
363
|
+
evidence: ["https://repo.possumtech.com/plurnk/plurnk-service/issues/272"],
|
|
364
|
+
note: "Deferred against maturity: adopt only when the SEP settles into an official extension and its resources-based projection composes with Plurnk resource/tool-document discovery without a second instruction authority.",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
id: "extension-dpop",
|
|
368
|
+
surface: "DPoP proofs",
|
|
369
|
+
authority: "extension",
|
|
370
|
+
authorityRef: "official extension",
|
|
371
|
+
advertised: "never",
|
|
372
|
+
interactive: false,
|
|
373
|
+
disposition: "deferred",
|
|
374
|
+
composed: false,
|
|
375
|
+
evidence: [],
|
|
376
|
+
note: "Not required by any adopted arm; revisit with enterprise-managed authorization.",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
id: "extension-wif-jwt-bearer",
|
|
380
|
+
surface: "WIF JWT bearer grant",
|
|
381
|
+
authority: "extension",
|
|
382
|
+
authorityRef: "official extension",
|
|
383
|
+
advertised: "never",
|
|
384
|
+
interactive: false,
|
|
385
|
+
disposition: "deferred",
|
|
386
|
+
composed: false,
|
|
387
|
+
evidence: ["https://repo.possumtech.com/plurnk/plurnk-service/issues/270"],
|
|
388
|
+
note: "Org-owned identity territory; deferred with enterprise-managed authorization.",
|
|
389
|
+
},
|
|
390
|
+
];
|
|
391
|
+
export const ADVERTISED_ELICITATION_MODES = ["form", "url"];
|
|
392
|
+
export const CONDITIONAL_EXTENSION_IDS = CAPABILITY_MATRIX
|
|
393
|
+
.filter((row) => row.advertised === "conditional")
|
|
394
|
+
.map((row) => row.id);
|
|
395
|
+
// {§mcp-capability-matrix} — advertisement derives from the matrix by
|
|
396
|
+
// construction; an extension is on the wire only because a row says "always".
|
|
397
|
+
export const staticClientCapabilities = () => ({
|
|
398
|
+
elicitation: Object.fromEntries(ADVERTISED_ELICITATION_MODES.map((mode) => [mode, {}])),
|
|
399
|
+
extensions: Object.fromEntries(CAPABILITY_MATRIX
|
|
400
|
+
.filter((row) => row.authority === "extension" && row.advertised === "always")
|
|
401
|
+
.map((row) => [row.id, {}])),
|
|
402
|
+
});
|
|
403
|
+
//# sourceMappingURL=capabilityMatrix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilityMatrix.js","sourceRoot":"","sources":["../src/capabilityMatrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,sBAAsB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B,4BAA4B,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAChD;IACV,UAAU,EAAE,MAAM,CAAC,WAAW,CAC1B,iBAAiB;SACZ,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,KAAK,WAAW,IAAI,GAAG,CAAC,UAAU,KAAK,QAAQ,CAAC;SAC7E,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAClC;CACJ,CAAC,CAAC"}
|
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Client, type CallToolResult, type CompleteRequest, type CompleteResult, type DiscoverResult, type GetPromptResult, type Progress, type ReadResourceResult, type Tool } from "@modelcontextprotocol/client";
|
|
2
2
|
import { type McpServerDefinition } from "@plurnk/plurnk-contracts";
|
|
3
3
|
import { type ClientInteractionHandler } from "./inputRequired.ts";
|
|
4
|
-
import { MCP_PROTOCOL_VERSION } from "./protocol.ts";
|
|
5
4
|
export interface ServerCatalog {
|
|
6
|
-
readonly protocolVersion:
|
|
5
|
+
readonly protocolVersion: string;
|
|
7
6
|
readonly server: ReturnType<Client["getServerVersion"]>;
|
|
7
|
+
readonly instructions?: string;
|
|
8
8
|
readonly capabilities: DiscoverResult["capabilities"];
|
|
9
9
|
readonly tools: Awaited<ReturnType<Client["listTools"]>>["tools"];
|
|
10
10
|
readonly resources: Awaited<ReturnType<Client["listResources"]>>["resources"];
|
|
@@ -16,6 +16,7 @@ export interface ServerConnectionOptions {
|
|
|
16
16
|
readonly onInfrastructureError?: (error: Error) => void;
|
|
17
17
|
}
|
|
18
18
|
export type { ClientInteractionHandler } from "./inputRequired.ts";
|
|
19
|
+
export declare const isClientCredentialsRejection: (error: unknown) => boolean;
|
|
19
20
|
export declare class AuthorizationRequiredError extends Error {
|
|
20
21
|
readonly authorizationUrl: string;
|
|
21
22
|
constructor(authorizationUrl: string, cause?: unknown);
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,MAAM,EAKN,KAAK,cAAc,EAEnB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEnB,KAAK,eAAe,EAGpB,KAAK,QAAQ,EAEb,KAAK,kBAAkB,EACvB,KAAK,IAAI,EACZ,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAEH,KAAK,mBAAmB,EAC3B,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAGH,KAAK,wBAAwB,EAChC,MAAM,oBAAoB,CAAC;AAqB5B,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAGxD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAClE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IAC9E,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;IACtG,QAAQ,CAAC,OAAO,EAAE,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