@frontmcp/sdk 1.5.7 → 1.6.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/README.md +12 -5
- package/auth/flows/oauth.authorize.flow.d.ts +8 -0
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
- package/auth/flows/oauth.callback.flow.d.ts +8 -0
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.provider-callback.flow.d.ts +1 -0
- package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.register.flow.d.ts +4 -0
- package/auth/flows/oauth.register.flow.d.ts.map +1 -1
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +38 -0
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/common/interfaces/tool.interface.d.ts +33 -1
- package/common/interfaces/tool.interface.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +34 -0
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/types/options/transport/interfaces.d.ts +14 -0
- package/common/types/options/transport/interfaces.d.ts.map +1 -1
- package/common/types/options/transport/schema.d.ts +4 -0
- package/common/types/options/transport/schema.d.ts.map +1 -1
- package/common/utils/decide-request-intent.utils.d.ts +3 -3
- package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
- package/context/frontmcp-context.d.ts +46 -1
- package/context/frontmcp-context.d.ts.map +1 -1
- package/elicitation/helpers/elicit.helper.d.ts.map +1 -1
- package/elicitation/helpers/index.d.ts +1 -0
- package/elicitation/helpers/index.d.ts.map +1 -1
- package/elicitation/helpers/mrtr-request.helper.d.ts +83 -0
- package/elicitation/helpers/mrtr-request.helper.d.ts.map +1 -0
- package/errors/index.d.ts +1 -0
- package/errors/index.d.ts.map +1 -1
- package/errors/mrtr.error.d.ts +55 -0
- package/errors/mrtr.error.d.ts.map +1 -0
- package/esm/index.mjs +2862 -470
- package/front-mcp/front-mcp.providers.d.ts +4 -0
- package/front-mcp/front-mcp.providers.d.ts.map +1 -1
- package/index.d.ts +10 -4
- package/index.d.ts.map +1 -1
- package/index.js +3134 -731
- package/package.json +10 -10
- package/remote-mcp/mcp-client.service.d.ts +7 -0
- package/remote-mcp/mcp-client.service.d.ts.map +1 -1
- package/remote-mcp/mcp-client.types.d.ts +19 -6
- package/remote-mcp/mcp-client.types.d.ts.map +1 -1
- package/remote-mcp/mcp-stateless-client.adapter.d.ts +85 -0
- package/remote-mcp/mcp-stateless-client.adapter.d.ts.map +1 -0
- package/scope/flows/http.request.flow.d.ts +9 -3
- package/scope/flows/http.request.flow.d.ts.map +1 -1
- package/task/helpers/task-runner.d.ts.map +1 -1
- package/task/task.types.d.ts +16 -0
- package/task/task.types.d.ts.map +1 -1
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/transport/flows/handle.mcp-20260728.flow.d.ts +77 -0
- package/transport/flows/handle.mcp-20260728.flow.d.ts.map +1 -0
- package/transport/mcp-20260728/client/header-params.d.ts +22 -0
- package/transport/mcp-20260728/client/header-params.d.ts.map +1 -0
- package/transport/mcp-20260728/client/index.d.ts +8 -0
- package/transport/mcp-20260728/client/index.d.ts.map +1 -0
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts +157 -0
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts.map +1 -0
- package/transport/mcp-20260728/discover.d.ts +28 -0
- package/transport/mcp-20260728/discover.d.ts.map +1 -0
- package/transport/mcp-20260728/dispatcher.d.ts +77 -0
- package/transport/mcp-20260728/dispatcher.d.ts.map +1 -0
- package/transport/mcp-20260728/header-codec.d.ts +32 -0
- package/transport/mcp-20260728/header-codec.d.ts.map +1 -0
- package/transport/mcp-20260728/index.d.ts +22 -0
- package/transport/mcp-20260728/index.d.ts.map +1 -0
- package/transport/mcp-20260728/mrtr.d.ts +143 -0
- package/transport/mcp-20260728/mrtr.d.ts.map +1 -0
- package/transport/mcp-20260728/protocol-20260728.constants.d.ts +46 -0
- package/transport/mcp-20260728/protocol-20260728.constants.d.ts.map +1 -0
- package/transport/mcp-20260728/request-notifications.d.ts +70 -0
- package/transport/mcp-20260728/request-notifications.d.ts.map +1 -0
- package/transport/mcp-20260728/request-state.d.ts +76 -0
- package/transport/mcp-20260728/request-state.d.ts.map +1 -0
- package/transport/mcp-20260728/request-validation.d.ts +83 -0
- package/transport/mcp-20260728/request-validation.d.ts.map +1 -0
- package/transport/mcp-20260728/result-decorator.d.ts +62 -0
- package/transport/mcp-20260728/result-decorator.d.ts.map +1 -0
- package/transport/mcp-20260728/subscriptions.d.ts +47 -0
- package/transport/mcp-20260728/subscriptions.d.ts.map +1 -0
- package/transport/mcp-20260728/tasks-extension.d.ts +90 -0
- package/transport/mcp-20260728/tasks-extension.d.ts.map +1 -0
- package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/index.d.ts +556 -556
- package/transport/mcp-handlers/index.d.ts.map +1 -1
- package/transport/transport.registry.d.ts.map +1 -1
|
@@ -1,8 +1,60 @@
|
|
|
1
1
|
import { type McpHandlerOptions } from './mcp-handlers.types';
|
|
2
2
|
export declare function createMcpHandlers(options: McpHandlerOptions): (import("./mcp-handlers.types").McpHandler<{
|
|
3
|
-
method: "
|
|
3
|
+
method: "initialize";
|
|
4
4
|
params: {
|
|
5
|
-
|
|
5
|
+
protocolVersion: string;
|
|
6
|
+
capabilities: {
|
|
7
|
+
experimental?: {
|
|
8
|
+
[x: string]: object;
|
|
9
|
+
} | undefined;
|
|
10
|
+
sampling?: {
|
|
11
|
+
context?: object | undefined;
|
|
12
|
+
tools?: object | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
elicitation?: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
form?: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
applyDefaults?: boolean | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
url?: object | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
roots?: {
|
|
23
|
+
listChanged?: boolean | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
tasks?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
list?: object | undefined;
|
|
28
|
+
cancel?: object | undefined;
|
|
29
|
+
requests?: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
sampling?: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
createMessage?: object | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
elicitation?: {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
create?: object | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
extensions?: {
|
|
42
|
+
[x: string]: object;
|
|
43
|
+
} | undefined;
|
|
44
|
+
};
|
|
45
|
+
clientInfo: {
|
|
46
|
+
version: string;
|
|
47
|
+
name: string;
|
|
48
|
+
websiteUrl?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
icons?: {
|
|
51
|
+
src: string;
|
|
52
|
+
mimeType?: string | undefined;
|
|
53
|
+
sizes?: string[] | undefined;
|
|
54
|
+
theme?: "light" | "dark" | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
title?: string | undefined;
|
|
57
|
+
};
|
|
6
58
|
_meta?: {
|
|
7
59
|
[x: string]: unknown;
|
|
8
60
|
progressToken?: string | number | undefined;
|
|
@@ -10,65 +62,47 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
10
62
|
taskId: string;
|
|
11
63
|
} | undefined;
|
|
12
64
|
} | undefined;
|
|
13
|
-
task?: {
|
|
14
|
-
ttl?: number | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
arguments?: {
|
|
17
|
-
[x: string]: unknown;
|
|
18
|
-
} | undefined;
|
|
19
65
|
};
|
|
20
66
|
}, {
|
|
21
67
|
[x: string]: unknown;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
27
|
-
priority?: number | undefined;
|
|
28
|
-
lastModified?: string | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
_meta?: {
|
|
31
|
-
[x: string]: unknown;
|
|
68
|
+
protocolVersion: string;
|
|
69
|
+
capabilities: {
|
|
70
|
+
experimental?: {
|
|
71
|
+
[x: string]: object;
|
|
32
72
|
} | undefined;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
annotations?: {
|
|
38
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
39
|
-
priority?: number | undefined;
|
|
40
|
-
lastModified?: string | undefined;
|
|
73
|
+
logging?: object | undefined;
|
|
74
|
+
completions?: object | undefined;
|
|
75
|
+
prompts?: {
|
|
76
|
+
listChanged?: boolean | undefined;
|
|
41
77
|
} | undefined;
|
|
42
|
-
|
|
43
|
-
|
|
78
|
+
resources?: {
|
|
79
|
+
subscribe?: boolean | undefined;
|
|
80
|
+
listChanged?: boolean | undefined;
|
|
44
81
|
} | undefined;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
data: string;
|
|
48
|
-
mimeType: string;
|
|
49
|
-
annotations?: {
|
|
50
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
51
|
-
priority?: number | undefined;
|
|
52
|
-
lastModified?: string | undefined;
|
|
82
|
+
tools?: {
|
|
83
|
+
listChanged?: boolean | undefined;
|
|
53
84
|
} | undefined;
|
|
54
|
-
|
|
85
|
+
tasks?: {
|
|
55
86
|
[x: string]: unknown;
|
|
87
|
+
list?: object | undefined;
|
|
88
|
+
cancel?: object | undefined;
|
|
89
|
+
requests?: {
|
|
90
|
+
[x: string]: unknown;
|
|
91
|
+
tools?: {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
call?: object | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
} | undefined;
|
|
56
96
|
} | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
97
|
+
extensions?: {
|
|
98
|
+
[x: string]: object;
|
|
99
|
+
} | undefined;
|
|
100
|
+
};
|
|
101
|
+
serverInfo: {
|
|
102
|
+
version: string;
|
|
59
103
|
name: string;
|
|
60
|
-
|
|
104
|
+
websiteUrl?: string | undefined;
|
|
61
105
|
description?: string | undefined;
|
|
62
|
-
mimeType?: string | undefined;
|
|
63
|
-
size?: number | undefined;
|
|
64
|
-
annotations?: {
|
|
65
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
66
|
-
priority?: number | undefined;
|
|
67
|
-
lastModified?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
_meta?: {
|
|
70
|
-
[x: string]: unknown;
|
|
71
|
-
} | undefined;
|
|
72
106
|
icons?: {
|
|
73
107
|
src: string;
|
|
74
108
|
mimeType?: string | undefined;
|
|
@@ -76,32 +110,40 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
76
110
|
theme?: "light" | "dark" | undefined;
|
|
77
111
|
}[] | undefined;
|
|
78
112
|
title?: string | undefined;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
113
|
+
};
|
|
114
|
+
_meta?: {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
progressToken?: string | number | undefined;
|
|
117
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
118
|
+
taskId: string;
|
|
119
|
+
} | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
instructions?: string | undefined;
|
|
122
|
+
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
123
|
+
method: string;
|
|
124
|
+
params?: {
|
|
125
|
+
[x: string]: unknown;
|
|
126
|
+
_meta?: {
|
|
127
|
+
[x: string]: unknown;
|
|
128
|
+
progressToken?: string | number | undefined;
|
|
129
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
130
|
+
taskId: string;
|
|
94
131
|
} | undefined;
|
|
95
|
-
};
|
|
96
|
-
annotations?: {
|
|
97
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
98
|
-
priority?: number | undefined;
|
|
99
|
-
lastModified?: string | undefined;
|
|
100
132
|
} | undefined;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
135
|
+
method: "notifications/initialized";
|
|
136
|
+
params?: {
|
|
101
137
|
_meta?: {
|
|
102
138
|
[x: string]: unknown;
|
|
139
|
+
progressToken?: string | number | undefined;
|
|
140
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
141
|
+
taskId: string;
|
|
142
|
+
} | undefined;
|
|
103
143
|
} | undefined;
|
|
104
|
-
}
|
|
144
|
+
} | undefined;
|
|
145
|
+
}, {
|
|
146
|
+
[x: string]: unknown;
|
|
105
147
|
_meta?: {
|
|
106
148
|
[x: string]: unknown;
|
|
107
149
|
progressToken?: string | number | undefined;
|
|
@@ -109,10 +151,6 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
109
151
|
taskId: string;
|
|
110
152
|
} | undefined;
|
|
111
153
|
} | undefined;
|
|
112
|
-
structuredContent?: {
|
|
113
|
-
[x: string]: unknown;
|
|
114
|
-
} | undefined;
|
|
115
|
-
isError?: boolean | undefined;
|
|
116
154
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
117
155
|
method: string;
|
|
118
156
|
params?: {
|
|
@@ -126,19 +164,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
126
164
|
} | undefined;
|
|
127
165
|
} | undefined;
|
|
128
166
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
129
|
-
method: "
|
|
130
|
-
params
|
|
131
|
-
ref: {
|
|
132
|
-
type: "ref/prompt";
|
|
133
|
-
name: string;
|
|
134
|
-
} | {
|
|
135
|
-
type: "ref/resource";
|
|
136
|
-
uri: string;
|
|
137
|
-
};
|
|
138
|
-
argument: {
|
|
139
|
-
name: string;
|
|
140
|
-
value: string;
|
|
141
|
-
};
|
|
167
|
+
method: "notifications/roots/list_changed";
|
|
168
|
+
params?: {
|
|
142
169
|
_meta?: {
|
|
143
170
|
[x: string]: unknown;
|
|
144
171
|
progressToken?: string | number | undefined;
|
|
@@ -146,20 +173,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
146
173
|
taskId: string;
|
|
147
174
|
} | undefined;
|
|
148
175
|
} | undefined;
|
|
149
|
-
|
|
150
|
-
arguments?: {
|
|
151
|
-
[x: string]: string;
|
|
152
|
-
} | undefined;
|
|
153
|
-
} | undefined;
|
|
154
|
-
};
|
|
176
|
+
} | undefined;
|
|
155
177
|
}, {
|
|
156
178
|
[x: string]: unknown;
|
|
157
|
-
completion: {
|
|
158
|
-
[x: string]: unknown;
|
|
159
|
-
values: string[];
|
|
160
|
-
total?: number | undefined;
|
|
161
|
-
hasMore?: boolean | undefined;
|
|
162
|
-
};
|
|
163
179
|
_meta?: {
|
|
164
180
|
[x: string]: unknown;
|
|
165
181
|
progressToken?: string | number | undefined;
|
|
@@ -180,9 +196,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
180
196
|
} | undefined;
|
|
181
197
|
} | undefined;
|
|
182
198
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
183
|
-
method: "
|
|
184
|
-
params
|
|
185
|
-
name: string;
|
|
199
|
+
method: "tools/list";
|
|
200
|
+
params?: {
|
|
186
201
|
_meta?: {
|
|
187
202
|
[x: string]: unknown;
|
|
188
203
|
progressToken?: string | number | undefined;
|
|
@@ -190,97 +205,49 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
190
205
|
taskId: string;
|
|
191
206
|
} | undefined;
|
|
192
207
|
} | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
} | undefined;
|
|
196
|
-
};
|
|
208
|
+
cursor?: string | undefined;
|
|
209
|
+
} | undefined;
|
|
197
210
|
}, {
|
|
198
211
|
[x: string]: unknown;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
type: "
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
206
|
-
priority?: number | undefined;
|
|
207
|
-
lastModified?: string | undefined;
|
|
212
|
+
tools: {
|
|
213
|
+
inputSchema: {
|
|
214
|
+
[x: string]: unknown;
|
|
215
|
+
type: "object";
|
|
216
|
+
properties?: {
|
|
217
|
+
[x: string]: object;
|
|
208
218
|
} | undefined;
|
|
209
|
-
|
|
210
|
-
|
|
219
|
+
required?: string[] | undefined;
|
|
220
|
+
};
|
|
221
|
+
name: string;
|
|
222
|
+
description?: string | undefined;
|
|
223
|
+
outputSchema?: {
|
|
224
|
+
[x: string]: unknown;
|
|
225
|
+
type: "object";
|
|
226
|
+
properties?: {
|
|
227
|
+
[x: string]: object;
|
|
211
228
|
} | undefined;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
mimeType: string;
|
|
216
|
-
annotations?: {
|
|
217
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
218
|
-
priority?: number | undefined;
|
|
219
|
-
lastModified?: string | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
_meta?: {
|
|
222
|
-
[x: string]: unknown;
|
|
223
|
-
} | undefined;
|
|
224
|
-
} | {
|
|
225
|
-
type: "audio";
|
|
226
|
-
data: string;
|
|
227
|
-
mimeType: string;
|
|
228
|
-
annotations?: {
|
|
229
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
230
|
-
priority?: number | undefined;
|
|
231
|
-
lastModified?: string | undefined;
|
|
232
|
-
} | undefined;
|
|
233
|
-
_meta?: {
|
|
234
|
-
[x: string]: unknown;
|
|
235
|
-
} | undefined;
|
|
236
|
-
} | {
|
|
237
|
-
uri: string;
|
|
238
|
-
name: string;
|
|
239
|
-
type: "resource_link";
|
|
240
|
-
description?: string | undefined;
|
|
241
|
-
mimeType?: string | undefined;
|
|
242
|
-
size?: number | undefined;
|
|
243
|
-
annotations?: {
|
|
244
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
245
|
-
priority?: number | undefined;
|
|
246
|
-
lastModified?: string | undefined;
|
|
247
|
-
} | undefined;
|
|
248
|
-
_meta?: {
|
|
249
|
-
[x: string]: unknown;
|
|
250
|
-
} | undefined;
|
|
251
|
-
icons?: {
|
|
252
|
-
src: string;
|
|
253
|
-
mimeType?: string | undefined;
|
|
254
|
-
sizes?: string[] | undefined;
|
|
255
|
-
theme?: "light" | "dark" | undefined;
|
|
256
|
-
}[] | undefined;
|
|
229
|
+
required?: string[] | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
annotations?: {
|
|
257
232
|
title?: string | undefined;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
277
|
-
priority?: number | undefined;
|
|
278
|
-
lastModified?: string | undefined;
|
|
279
|
-
} | undefined;
|
|
280
|
-
_meta?: {
|
|
281
|
-
[x: string]: unknown;
|
|
282
|
-
} | undefined;
|
|
283
|
-
};
|
|
233
|
+
readOnlyHint?: boolean | undefined;
|
|
234
|
+
destructiveHint?: boolean | undefined;
|
|
235
|
+
idempotentHint?: boolean | undefined;
|
|
236
|
+
openWorldHint?: boolean | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
execution?: {
|
|
239
|
+
taskSupport?: "optional" | "forbidden" | "required" | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
_meta?: {
|
|
242
|
+
[x: string]: unknown;
|
|
243
|
+
} | undefined;
|
|
244
|
+
icons?: {
|
|
245
|
+
src: string;
|
|
246
|
+
mimeType?: string | undefined;
|
|
247
|
+
sizes?: string[] | undefined;
|
|
248
|
+
theme?: "light" | "dark" | undefined;
|
|
249
|
+
}[] | undefined;
|
|
250
|
+
title?: string | undefined;
|
|
284
251
|
}[];
|
|
285
252
|
_meta?: {
|
|
286
253
|
[x: string]: unknown;
|
|
@@ -289,7 +256,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
289
256
|
taskId: string;
|
|
290
257
|
} | undefined;
|
|
291
258
|
} | undefined;
|
|
292
|
-
|
|
259
|
+
nextCursor?: string | undefined;
|
|
293
260
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
294
261
|
method: string;
|
|
295
262
|
params?: {
|
|
@@ -303,61 +270,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
303
270
|
} | undefined;
|
|
304
271
|
} | undefined;
|
|
305
272
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
306
|
-
method: "
|
|
307
|
-
params
|
|
308
|
-
protocolVersion: string;
|
|
309
|
-
capabilities: {
|
|
310
|
-
experimental?: {
|
|
311
|
-
[x: string]: object;
|
|
312
|
-
} | undefined;
|
|
313
|
-
sampling?: {
|
|
314
|
-
context?: object | undefined;
|
|
315
|
-
tools?: object | undefined;
|
|
316
|
-
} | undefined;
|
|
317
|
-
elicitation?: {
|
|
318
|
-
[x: string]: unknown;
|
|
319
|
-
form?: {
|
|
320
|
-
[x: string]: unknown;
|
|
321
|
-
applyDefaults?: boolean | undefined;
|
|
322
|
-
} | undefined;
|
|
323
|
-
url?: object | undefined;
|
|
324
|
-
} | undefined;
|
|
325
|
-
roots?: {
|
|
326
|
-
listChanged?: boolean | undefined;
|
|
327
|
-
} | undefined;
|
|
328
|
-
tasks?: {
|
|
329
|
-
[x: string]: unknown;
|
|
330
|
-
list?: object | undefined;
|
|
331
|
-
cancel?: object | undefined;
|
|
332
|
-
requests?: {
|
|
333
|
-
[x: string]: unknown;
|
|
334
|
-
sampling?: {
|
|
335
|
-
[x: string]: unknown;
|
|
336
|
-
createMessage?: object | undefined;
|
|
337
|
-
} | undefined;
|
|
338
|
-
elicitation?: {
|
|
339
|
-
[x: string]: unknown;
|
|
340
|
-
create?: object | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
} | undefined;
|
|
344
|
-
extensions?: {
|
|
345
|
-
[x: string]: object;
|
|
346
|
-
} | undefined;
|
|
347
|
-
};
|
|
348
|
-
clientInfo: {
|
|
349
|
-
version: string;
|
|
350
|
-
name: string;
|
|
351
|
-
websiteUrl?: string | undefined;
|
|
352
|
-
description?: string | undefined;
|
|
353
|
-
icons?: {
|
|
354
|
-
src: string;
|
|
355
|
-
mimeType?: string | undefined;
|
|
356
|
-
sizes?: string[] | undefined;
|
|
357
|
-
theme?: "light" | "dark" | undefined;
|
|
358
|
-
}[] | undefined;
|
|
359
|
-
title?: string | undefined;
|
|
360
|
-
};
|
|
273
|
+
method: "resources/list";
|
|
274
|
+
params?: {
|
|
361
275
|
_meta?: {
|
|
362
276
|
[x: string]: unknown;
|
|
363
277
|
progressToken?: string | number | undefined;
|
|
@@ -365,47 +279,24 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
365
279
|
taskId: string;
|
|
366
280
|
} | undefined;
|
|
367
281
|
} | undefined;
|
|
368
|
-
|
|
282
|
+
cursor?: string | undefined;
|
|
283
|
+
} | undefined;
|
|
369
284
|
}, {
|
|
370
285
|
[x: string]: unknown;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
resources?: {
|
|
382
|
-
subscribe?: boolean | undefined;
|
|
383
|
-
listChanged?: boolean | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
tools?: {
|
|
386
|
-
listChanged?: boolean | undefined;
|
|
286
|
+
resources: {
|
|
287
|
+
uri: string;
|
|
288
|
+
name: string;
|
|
289
|
+
description?: string | undefined;
|
|
290
|
+
mimeType?: string | undefined;
|
|
291
|
+
size?: number | undefined;
|
|
292
|
+
annotations?: {
|
|
293
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
294
|
+
priority?: number | undefined;
|
|
295
|
+
lastModified?: string | undefined;
|
|
387
296
|
} | undefined;
|
|
388
|
-
|
|
297
|
+
_meta?: {
|
|
389
298
|
[x: string]: unknown;
|
|
390
|
-
list?: object | undefined;
|
|
391
|
-
cancel?: object | undefined;
|
|
392
|
-
requests?: {
|
|
393
|
-
[x: string]: unknown;
|
|
394
|
-
tools?: {
|
|
395
|
-
[x: string]: unknown;
|
|
396
|
-
call?: object | undefined;
|
|
397
|
-
} | undefined;
|
|
398
|
-
} | undefined;
|
|
399
299
|
} | undefined;
|
|
400
|
-
extensions?: {
|
|
401
|
-
[x: string]: object;
|
|
402
|
-
} | undefined;
|
|
403
|
-
};
|
|
404
|
-
serverInfo: {
|
|
405
|
-
version: string;
|
|
406
|
-
name: string;
|
|
407
|
-
websiteUrl?: string | undefined;
|
|
408
|
-
description?: string | undefined;
|
|
409
300
|
icons?: {
|
|
410
301
|
src: string;
|
|
411
302
|
mimeType?: string | undefined;
|
|
@@ -413,7 +304,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
413
304
|
theme?: "light" | "dark" | undefined;
|
|
414
305
|
}[] | undefined;
|
|
415
306
|
title?: string | undefined;
|
|
416
|
-
};
|
|
307
|
+
}[];
|
|
417
308
|
_meta?: {
|
|
418
309
|
[x: string]: unknown;
|
|
419
310
|
progressToken?: string | number | undefined;
|
|
@@ -421,7 +312,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
421
312
|
taskId: string;
|
|
422
313
|
} | undefined;
|
|
423
314
|
} | undefined;
|
|
424
|
-
|
|
315
|
+
nextCursor?: string | undefined;
|
|
425
316
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
426
317
|
method: string;
|
|
427
318
|
params?: {
|
|
@@ -435,7 +326,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
435
326
|
} | undefined;
|
|
436
327
|
} | undefined;
|
|
437
328
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
438
|
-
method: "
|
|
329
|
+
method: "resources/templates/list";
|
|
439
330
|
params?: {
|
|
440
331
|
_meta?: {
|
|
441
332
|
[x: string]: unknown;
|
|
@@ -444,9 +335,31 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
444
335
|
taskId: string;
|
|
445
336
|
} | undefined;
|
|
446
337
|
} | undefined;
|
|
338
|
+
cursor?: string | undefined;
|
|
447
339
|
} | undefined;
|
|
448
340
|
}, {
|
|
449
341
|
[x: string]: unknown;
|
|
342
|
+
resourceTemplates: {
|
|
343
|
+
uriTemplate: string;
|
|
344
|
+
name: string;
|
|
345
|
+
description?: string | undefined;
|
|
346
|
+
mimeType?: string | undefined;
|
|
347
|
+
annotations?: {
|
|
348
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
349
|
+
priority?: number | undefined;
|
|
350
|
+
lastModified?: string | undefined;
|
|
351
|
+
} | undefined;
|
|
352
|
+
_meta?: {
|
|
353
|
+
[x: string]: unknown;
|
|
354
|
+
} | undefined;
|
|
355
|
+
icons?: {
|
|
356
|
+
src: string;
|
|
357
|
+
mimeType?: string | undefined;
|
|
358
|
+
sizes?: string[] | undefined;
|
|
359
|
+
theme?: "light" | "dark" | undefined;
|
|
360
|
+
}[] | undefined;
|
|
361
|
+
title?: string | undefined;
|
|
362
|
+
}[];
|
|
450
363
|
_meta?: {
|
|
451
364
|
[x: string]: unknown;
|
|
452
365
|
progressToken?: string | number | undefined;
|
|
@@ -454,6 +367,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
454
367
|
taskId: string;
|
|
455
368
|
} | undefined;
|
|
456
369
|
} | undefined;
|
|
370
|
+
nextCursor?: string | undefined;
|
|
457
371
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
458
372
|
method: string;
|
|
459
373
|
params?: {
|
|
@@ -520,8 +434,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
520
434
|
} | undefined;
|
|
521
435
|
} | undefined;
|
|
522
436
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
523
|
-
method: "
|
|
524
|
-
params
|
|
437
|
+
method: "tools/call";
|
|
438
|
+
params: {
|
|
439
|
+
name: string;
|
|
525
440
|
_meta?: {
|
|
526
441
|
[x: string]: unknown;
|
|
527
442
|
progressToken?: string | number | undefined;
|
|
@@ -529,15 +444,18 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
529
444
|
taskId: string;
|
|
530
445
|
} | undefined;
|
|
531
446
|
} | undefined;
|
|
532
|
-
|
|
533
|
-
|
|
447
|
+
task?: {
|
|
448
|
+
ttl?: number | undefined;
|
|
449
|
+
} | undefined;
|
|
450
|
+
arguments?: {
|
|
451
|
+
[x: string]: unknown;
|
|
452
|
+
} | undefined;
|
|
453
|
+
};
|
|
534
454
|
}, {
|
|
535
455
|
[x: string]: unknown;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
description?: string | undefined;
|
|
540
|
-
mimeType?: string | undefined;
|
|
456
|
+
content: ({
|
|
457
|
+
type: "text";
|
|
458
|
+
text: string;
|
|
541
459
|
annotations?: {
|
|
542
460
|
audience?: ("user" | "assistant")[] | undefined;
|
|
543
461
|
priority?: number | undefined;
|
|
@@ -546,14 +464,78 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
546
464
|
_meta?: {
|
|
547
465
|
[x: string]: unknown;
|
|
548
466
|
} | undefined;
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
467
|
+
} | {
|
|
468
|
+
type: "image";
|
|
469
|
+
data: string;
|
|
470
|
+
mimeType: string;
|
|
471
|
+
annotations?: {
|
|
472
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
473
|
+
priority?: number | undefined;
|
|
474
|
+
lastModified?: string | undefined;
|
|
475
|
+
} | undefined;
|
|
476
|
+
_meta?: {
|
|
477
|
+
[x: string]: unknown;
|
|
478
|
+
} | undefined;
|
|
479
|
+
} | {
|
|
480
|
+
type: "audio";
|
|
481
|
+
data: string;
|
|
482
|
+
mimeType: string;
|
|
483
|
+
annotations?: {
|
|
484
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
485
|
+
priority?: number | undefined;
|
|
486
|
+
lastModified?: string | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
_meta?: {
|
|
489
|
+
[x: string]: unknown;
|
|
490
|
+
} | undefined;
|
|
491
|
+
} | {
|
|
492
|
+
uri: string;
|
|
493
|
+
name: string;
|
|
494
|
+
type: "resource_link";
|
|
495
|
+
description?: string | undefined;
|
|
496
|
+
mimeType?: string | undefined;
|
|
497
|
+
size?: number | undefined;
|
|
498
|
+
annotations?: {
|
|
499
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
500
|
+
priority?: number | undefined;
|
|
501
|
+
lastModified?: string | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
_meta?: {
|
|
504
|
+
[x: string]: unknown;
|
|
505
|
+
} | undefined;
|
|
506
|
+
icons?: {
|
|
507
|
+
src: string;
|
|
508
|
+
mimeType?: string | undefined;
|
|
509
|
+
sizes?: string[] | undefined;
|
|
510
|
+
theme?: "light" | "dark" | undefined;
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
title?: string | undefined;
|
|
513
|
+
} | {
|
|
514
|
+
type: "resource";
|
|
515
|
+
resource: {
|
|
516
|
+
uri: string;
|
|
517
|
+
text: string;
|
|
518
|
+
mimeType?: string | undefined;
|
|
519
|
+
_meta?: {
|
|
520
|
+
[x: string]: unknown;
|
|
521
|
+
} | undefined;
|
|
522
|
+
} | {
|
|
523
|
+
uri: string;
|
|
524
|
+
blob: string;
|
|
525
|
+
mimeType?: string | undefined;
|
|
526
|
+
_meta?: {
|
|
527
|
+
[x: string]: unknown;
|
|
528
|
+
} | undefined;
|
|
529
|
+
};
|
|
530
|
+
annotations?: {
|
|
531
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
532
|
+
priority?: number | undefined;
|
|
533
|
+
lastModified?: string | undefined;
|
|
534
|
+
} | undefined;
|
|
535
|
+
_meta?: {
|
|
536
|
+
[x: string]: unknown;
|
|
537
|
+
} | undefined;
|
|
538
|
+
})[];
|
|
557
539
|
_meta?: {
|
|
558
540
|
[x: string]: unknown;
|
|
559
541
|
progressToken?: string | number | undefined;
|
|
@@ -561,7 +543,10 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
561
543
|
taskId: string;
|
|
562
544
|
} | undefined;
|
|
563
545
|
} | undefined;
|
|
564
|
-
|
|
546
|
+
structuredContent?: {
|
|
547
|
+
[x: string]: unknown;
|
|
548
|
+
} | undefined;
|
|
549
|
+
isError?: boolean | undefined;
|
|
565
550
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
566
551
|
method: string;
|
|
567
552
|
params?: {
|
|
@@ -575,8 +560,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
575
560
|
} | undefined;
|
|
576
561
|
} | undefined;
|
|
577
562
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
578
|
-
method: "resources/
|
|
579
|
-
params
|
|
563
|
+
method: "resources/read";
|
|
564
|
+
params: {
|
|
565
|
+
uri: string;
|
|
580
566
|
_meta?: {
|
|
581
567
|
[x: string]: unknown;
|
|
582
568
|
progressToken?: string | number | undefined;
|
|
@@ -584,32 +570,24 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
584
570
|
taskId: string;
|
|
585
571
|
} | undefined;
|
|
586
572
|
} | undefined;
|
|
587
|
-
|
|
588
|
-
} | undefined;
|
|
573
|
+
};
|
|
589
574
|
}, {
|
|
590
575
|
[x: string]: unknown;
|
|
591
|
-
|
|
576
|
+
contents: ({
|
|
592
577
|
uri: string;
|
|
593
|
-
|
|
594
|
-
description?: string | undefined;
|
|
578
|
+
text: string;
|
|
595
579
|
mimeType?: string | undefined;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
599
|
-
priority?: number | undefined;
|
|
600
|
-
lastModified?: string | undefined;
|
|
580
|
+
_meta?: {
|
|
581
|
+
[x: string]: unknown;
|
|
601
582
|
} | undefined;
|
|
583
|
+
} | {
|
|
584
|
+
uri: string;
|
|
585
|
+
blob: string;
|
|
586
|
+
mimeType?: string | undefined;
|
|
602
587
|
_meta?: {
|
|
603
588
|
[x: string]: unknown;
|
|
604
589
|
} | undefined;
|
|
605
|
-
|
|
606
|
-
src: string;
|
|
607
|
-
mimeType?: string | undefined;
|
|
608
|
-
sizes?: string[] | undefined;
|
|
609
|
-
theme?: "light" | "dark" | undefined;
|
|
610
|
-
}[] | undefined;
|
|
611
|
-
title?: string | undefined;
|
|
612
|
-
}[];
|
|
590
|
+
})[];
|
|
613
591
|
_meta?: {
|
|
614
592
|
[x: string]: unknown;
|
|
615
593
|
progressToken?: string | number | undefined;
|
|
@@ -617,7 +595,6 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
617
595
|
taskId: string;
|
|
618
596
|
} | undefined;
|
|
619
597
|
} | undefined;
|
|
620
|
-
nextCursor?: string | undefined;
|
|
621
598
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
622
599
|
method: string;
|
|
623
600
|
params?: {
|
|
@@ -630,9 +607,86 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
630
607
|
} | undefined;
|
|
631
608
|
} | undefined;
|
|
632
609
|
} | undefined;
|
|
633
|
-
}> |
|
|
634
|
-
|
|
635
|
-
|
|
610
|
+
}> | {
|
|
611
|
+
requestSchema: import("zod").ZodObject<{
|
|
612
|
+
method: import("zod").ZodLiteral<"resources/subscribe">;
|
|
613
|
+
params: import("zod").ZodObject<{
|
|
614
|
+
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
615
|
+
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
616
|
+
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
617
|
+
taskId: import("zod").ZodString;
|
|
618
|
+
}, import("zod/v4/core").$strip>>;
|
|
619
|
+
}, import("zod/v4/core").$loose>>;
|
|
620
|
+
uri: import("zod").ZodString;
|
|
621
|
+
}, import("zod/v4/core").$strip>;
|
|
622
|
+
}, import("zod/v4/core").$strip>;
|
|
623
|
+
handler: (request: import("@frontmcp/protocol").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
624
|
+
method: "resources/subscribe";
|
|
625
|
+
params: {
|
|
626
|
+
uri: string;
|
|
627
|
+
_meta?: {
|
|
628
|
+
[x: string]: unknown;
|
|
629
|
+
progressToken?: string | number | undefined;
|
|
630
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
631
|
+
taskId: string;
|
|
632
|
+
} | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
};
|
|
635
|
+
}, {
|
|
636
|
+
method: string;
|
|
637
|
+
params?: {
|
|
638
|
+
[x: string]: unknown;
|
|
639
|
+
_meta?: {
|
|
640
|
+
[x: string]: unknown;
|
|
641
|
+
progressToken?: string | number | undefined;
|
|
642
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
643
|
+
taskId: string;
|
|
644
|
+
} | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
} | undefined;
|
|
647
|
+
}>) => Promise<import("@frontmcp/protocol").EmptyResult>;
|
|
648
|
+
} | {
|
|
649
|
+
requestSchema: import("zod").ZodObject<{
|
|
650
|
+
method: import("zod").ZodLiteral<"resources/unsubscribe">;
|
|
651
|
+
params: import("zod").ZodObject<{
|
|
652
|
+
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
653
|
+
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
654
|
+
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
655
|
+
taskId: import("zod").ZodString;
|
|
656
|
+
}, import("zod/v4/core").$strip>>;
|
|
657
|
+
}, import("zod/v4/core").$loose>>;
|
|
658
|
+
uri: import("zod").ZodString;
|
|
659
|
+
}, import("zod/v4/core").$strip>;
|
|
660
|
+
}, import("zod/v4/core").$strip>;
|
|
661
|
+
handler: (request: import("@frontmcp/protocol").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
662
|
+
method: "resources/unsubscribe";
|
|
663
|
+
params: {
|
|
664
|
+
uri: string;
|
|
665
|
+
_meta?: {
|
|
666
|
+
[x: string]: unknown;
|
|
667
|
+
progressToken?: string | number | undefined;
|
|
668
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
669
|
+
taskId: string;
|
|
670
|
+
} | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
};
|
|
673
|
+
}, {
|
|
674
|
+
method: string;
|
|
675
|
+
params?: {
|
|
676
|
+
[x: string]: unknown;
|
|
677
|
+
_meta?: {
|
|
678
|
+
[x: string]: unknown;
|
|
679
|
+
progressToken?: string | number | undefined;
|
|
680
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
681
|
+
taskId: string;
|
|
682
|
+
} | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
} | undefined;
|
|
685
|
+
}>) => Promise<import("@frontmcp/protocol").EmptyResult>;
|
|
686
|
+
} | import("./mcp-handlers.types").McpHandler<{
|
|
687
|
+
method: "prompts/get";
|
|
688
|
+
params: {
|
|
689
|
+
name: string;
|
|
636
690
|
_meta?: {
|
|
637
691
|
[x: string]: unknown;
|
|
638
692
|
progressToken?: string | number | undefined;
|
|
@@ -640,50 +694,153 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
640
694
|
taskId: string;
|
|
641
695
|
} | undefined;
|
|
642
696
|
} | undefined;
|
|
643
|
-
|
|
644
|
-
|
|
697
|
+
arguments?: {
|
|
698
|
+
[x: string]: string;
|
|
699
|
+
} | undefined;
|
|
700
|
+
};
|
|
645
701
|
}, {
|
|
646
702
|
[x: string]: unknown;
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
type: "
|
|
651
|
-
|
|
652
|
-
|
|
703
|
+
messages: {
|
|
704
|
+
role: "user" | "assistant";
|
|
705
|
+
content: {
|
|
706
|
+
type: "text";
|
|
707
|
+
text: string;
|
|
708
|
+
annotations?: {
|
|
709
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
710
|
+
priority?: number | undefined;
|
|
711
|
+
lastModified?: string | undefined;
|
|
712
|
+
} | undefined;
|
|
713
|
+
_meta?: {
|
|
714
|
+
[x: string]: unknown;
|
|
715
|
+
} | undefined;
|
|
716
|
+
} | {
|
|
717
|
+
type: "image";
|
|
718
|
+
data: string;
|
|
719
|
+
mimeType: string;
|
|
720
|
+
annotations?: {
|
|
721
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
722
|
+
priority?: number | undefined;
|
|
723
|
+
lastModified?: string | undefined;
|
|
724
|
+
} | undefined;
|
|
725
|
+
_meta?: {
|
|
726
|
+
[x: string]: unknown;
|
|
727
|
+
} | undefined;
|
|
728
|
+
} | {
|
|
729
|
+
type: "audio";
|
|
730
|
+
data: string;
|
|
731
|
+
mimeType: string;
|
|
732
|
+
annotations?: {
|
|
733
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
734
|
+
priority?: number | undefined;
|
|
735
|
+
lastModified?: string | undefined;
|
|
736
|
+
} | undefined;
|
|
737
|
+
_meta?: {
|
|
738
|
+
[x: string]: unknown;
|
|
739
|
+
} | undefined;
|
|
740
|
+
} | {
|
|
741
|
+
uri: string;
|
|
742
|
+
name: string;
|
|
743
|
+
type: "resource_link";
|
|
744
|
+
description?: string | undefined;
|
|
745
|
+
mimeType?: string | undefined;
|
|
746
|
+
size?: number | undefined;
|
|
747
|
+
annotations?: {
|
|
748
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
749
|
+
priority?: number | undefined;
|
|
750
|
+
lastModified?: string | undefined;
|
|
751
|
+
} | undefined;
|
|
752
|
+
_meta?: {
|
|
753
|
+
[x: string]: unknown;
|
|
754
|
+
} | undefined;
|
|
755
|
+
icons?: {
|
|
756
|
+
src: string;
|
|
757
|
+
mimeType?: string | undefined;
|
|
758
|
+
sizes?: string[] | undefined;
|
|
759
|
+
theme?: "light" | "dark" | undefined;
|
|
760
|
+
}[] | undefined;
|
|
761
|
+
title?: string | undefined;
|
|
762
|
+
} | {
|
|
763
|
+
type: "resource";
|
|
764
|
+
resource: {
|
|
765
|
+
uri: string;
|
|
766
|
+
text: string;
|
|
767
|
+
mimeType?: string | undefined;
|
|
768
|
+
_meta?: {
|
|
769
|
+
[x: string]: unknown;
|
|
770
|
+
} | undefined;
|
|
771
|
+
} | {
|
|
772
|
+
uri: string;
|
|
773
|
+
blob: string;
|
|
774
|
+
mimeType?: string | undefined;
|
|
775
|
+
_meta?: {
|
|
776
|
+
[x: string]: unknown;
|
|
777
|
+
} | undefined;
|
|
778
|
+
};
|
|
779
|
+
annotations?: {
|
|
780
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
781
|
+
priority?: number | undefined;
|
|
782
|
+
lastModified?: string | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
_meta?: {
|
|
785
|
+
[x: string]: unknown;
|
|
653
786
|
} | undefined;
|
|
654
|
-
required?: string[] | undefined;
|
|
655
787
|
};
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
788
|
+
}[];
|
|
789
|
+
_meta?: {
|
|
790
|
+
[x: string]: unknown;
|
|
791
|
+
progressToken?: string | number | undefined;
|
|
792
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
793
|
+
taskId: string;
|
|
794
|
+
} | undefined;
|
|
795
|
+
} | undefined;
|
|
796
|
+
description?: string | undefined;
|
|
797
|
+
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
798
|
+
method: string;
|
|
799
|
+
params?: {
|
|
800
|
+
[x: string]: unknown;
|
|
801
|
+
_meta?: {
|
|
659
802
|
[x: string]: unknown;
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
803
|
+
progressToken?: string | number | undefined;
|
|
804
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
805
|
+
taskId: string;
|
|
663
806
|
} | undefined;
|
|
664
|
-
required?: string[] | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
annotations?: {
|
|
667
|
-
title?: string | undefined;
|
|
668
|
-
readOnlyHint?: boolean | undefined;
|
|
669
|
-
destructiveHint?: boolean | undefined;
|
|
670
|
-
idempotentHint?: boolean | undefined;
|
|
671
|
-
openWorldHint?: boolean | undefined;
|
|
672
807
|
} | undefined;
|
|
673
|
-
|
|
674
|
-
|
|
808
|
+
} | undefined;
|
|
809
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
810
|
+
method: "completion/complete";
|
|
811
|
+
params: {
|
|
812
|
+
ref: {
|
|
813
|
+
type: "ref/prompt";
|
|
814
|
+
name: string;
|
|
815
|
+
} | {
|
|
816
|
+
type: "ref/resource";
|
|
817
|
+
uri: string;
|
|
818
|
+
};
|
|
819
|
+
argument: {
|
|
820
|
+
name: string;
|
|
821
|
+
value: string;
|
|
822
|
+
};
|
|
823
|
+
_meta?: {
|
|
824
|
+
[x: string]: unknown;
|
|
825
|
+
progressToken?: string | number | undefined;
|
|
826
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
827
|
+
taskId: string;
|
|
828
|
+
} | undefined;
|
|
675
829
|
} | undefined;
|
|
676
|
-
|
|
677
|
-
|
|
830
|
+
context?: {
|
|
831
|
+
arguments?: {
|
|
832
|
+
[x: string]: string;
|
|
833
|
+
} | undefined;
|
|
678
834
|
} | undefined;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
835
|
+
};
|
|
836
|
+
}, {
|
|
837
|
+
[x: string]: unknown;
|
|
838
|
+
completion: {
|
|
839
|
+
[x: string]: unknown;
|
|
840
|
+
values: string[];
|
|
841
|
+
total?: number | undefined;
|
|
842
|
+
hasMore?: boolean | undefined;
|
|
843
|
+
};
|
|
687
844
|
_meta?: {
|
|
688
845
|
[x: string]: unknown;
|
|
689
846
|
progressToken?: string | number | undefined;
|
|
@@ -691,7 +848,6 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
691
848
|
taskId: string;
|
|
692
849
|
} | undefined;
|
|
693
850
|
} | undefined;
|
|
694
|
-
nextCursor?: string | undefined;
|
|
695
851
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
696
852
|
method: string;
|
|
697
853
|
params?: {
|
|
@@ -752,42 +908,15 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
752
908
|
} | undefined;
|
|
753
909
|
}>) => Promise<import("@frontmcp/protocol").EmptyResult>;
|
|
754
910
|
} | import("./mcp-handlers.types").McpHandler<{
|
|
755
|
-
method: "
|
|
911
|
+
method: "skills/search";
|
|
756
912
|
params: {
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
taskId: string;
|
|
763
|
-
} | undefined;
|
|
764
|
-
} | undefined;
|
|
913
|
+
query: string;
|
|
914
|
+
tags?: string[] | undefined;
|
|
915
|
+
tools?: string[] | undefined;
|
|
916
|
+
limit?: number | undefined;
|
|
917
|
+
requireAllTools?: boolean | undefined;
|
|
765
918
|
};
|
|
766
|
-
}, {
|
|
767
|
-
[x: string]: unknown;
|
|
768
|
-
contents: ({
|
|
769
|
-
uri: string;
|
|
770
|
-
text: string;
|
|
771
|
-
mimeType?: string | undefined;
|
|
772
|
-
_meta?: {
|
|
773
|
-
[x: string]: unknown;
|
|
774
|
-
} | undefined;
|
|
775
|
-
} | {
|
|
776
|
-
uri: string;
|
|
777
|
-
blob: string;
|
|
778
|
-
mimeType?: string | undefined;
|
|
779
|
-
_meta?: {
|
|
780
|
-
[x: string]: unknown;
|
|
781
|
-
} | undefined;
|
|
782
|
-
})[];
|
|
783
|
-
_meta?: {
|
|
784
|
-
[x: string]: unknown;
|
|
785
|
-
progressToken?: string | number | undefined;
|
|
786
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
787
|
-
taskId: string;
|
|
788
|
-
} | undefined;
|
|
789
|
-
} | undefined;
|
|
790
|
-
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
919
|
+
}, import("./skills-mcp.types").SkillsSearchResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
791
920
|
method: string;
|
|
792
921
|
params?: {
|
|
793
922
|
[x: string]: unknown;
|
|
@@ -800,26 +929,14 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
800
929
|
} | undefined;
|
|
801
930
|
} | undefined;
|
|
802
931
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
803
|
-
method: "
|
|
804
|
-
params
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
} | undefined;
|
|
812
|
-
} | undefined;
|
|
813
|
-
}, {
|
|
814
|
-
[x: string]: unknown;
|
|
815
|
-
_meta?: {
|
|
816
|
-
[x: string]: unknown;
|
|
817
|
-
progressToken?: string | number | undefined;
|
|
818
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
819
|
-
taskId: string;
|
|
820
|
-
} | undefined;
|
|
821
|
-
} | undefined;
|
|
822
|
-
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
932
|
+
method: "skills/load";
|
|
933
|
+
params: {
|
|
934
|
+
skillIds: string[];
|
|
935
|
+
format?: "full" | "instructions-only" | undefined;
|
|
936
|
+
activateSession?: boolean | undefined;
|
|
937
|
+
policyMode?: "strict" | "approval" | "permissive" | undefined;
|
|
938
|
+
};
|
|
939
|
+
}, import("./skills-mcp.types").SkillsLoadResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
823
940
|
method: string;
|
|
824
941
|
params?: {
|
|
825
942
|
[x: string]: unknown;
|
|
@@ -854,17 +971,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
854
971
|
} | undefined;
|
|
855
972
|
} | undefined;
|
|
856
973
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
857
|
-
method: "
|
|
974
|
+
method: "tasks/get";
|
|
858
975
|
params: {
|
|
859
|
-
|
|
860
|
-
format?: "full" | "instructions-only" | undefined;
|
|
861
|
-
activateSession?: boolean | undefined;
|
|
862
|
-
policyMode?: "strict" | "approval" | "permissive" | undefined;
|
|
863
|
-
};
|
|
864
|
-
}, import("./skills-mcp.types").SkillsLoadResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
865
|
-
method: string;
|
|
866
|
-
params?: {
|
|
867
|
-
[x: string]: unknown;
|
|
976
|
+
taskId: string;
|
|
868
977
|
_meta?: {
|
|
869
978
|
[x: string]: unknown;
|
|
870
979
|
progressToken?: string | number | undefined;
|
|
@@ -872,17 +981,23 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
872
981
|
taskId: string;
|
|
873
982
|
} | undefined;
|
|
874
983
|
} | undefined;
|
|
875
|
-
} | undefined;
|
|
876
|
-
}> | import("./mcp-handlers.types").McpHandler<{
|
|
877
|
-
method: "skills/search";
|
|
878
|
-
params: {
|
|
879
|
-
query: string;
|
|
880
|
-
tags?: string[] | undefined;
|
|
881
|
-
tools?: string[] | undefined;
|
|
882
|
-
limit?: number | undefined;
|
|
883
|
-
requireAllTools?: boolean | undefined;
|
|
884
984
|
};
|
|
885
|
-
},
|
|
985
|
+
}, {
|
|
986
|
+
taskId: string;
|
|
987
|
+
status: "working" | "input_required" | "completed" | "failed" | "cancelled";
|
|
988
|
+
ttl: number | null;
|
|
989
|
+
createdAt: string;
|
|
990
|
+
lastUpdatedAt: string;
|
|
991
|
+
_meta?: {
|
|
992
|
+
[x: string]: unknown;
|
|
993
|
+
progressToken?: string | number | undefined;
|
|
994
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
995
|
+
taskId: string;
|
|
996
|
+
} | undefined;
|
|
997
|
+
} | undefined;
|
|
998
|
+
pollInterval?: number | undefined;
|
|
999
|
+
statusMessage?: string | undefined;
|
|
1000
|
+
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
886
1001
|
method: string;
|
|
887
1002
|
params?: {
|
|
888
1003
|
[x: string]: unknown;
|
|
@@ -894,46 +1009,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
894
1009
|
} | undefined;
|
|
895
1010
|
} | undefined;
|
|
896
1011
|
} | undefined;
|
|
897
|
-
}> | {
|
|
898
|
-
|
|
899
|
-
method: import("zod").ZodLiteral<"resources/subscribe">;
|
|
900
|
-
params: import("zod").ZodObject<{
|
|
901
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
902
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
903
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
904
|
-
taskId: import("zod").ZodString;
|
|
905
|
-
}, import("zod/v4/core").$strip>>;
|
|
906
|
-
}, import("zod/v4/core").$loose>>;
|
|
907
|
-
uri: import("zod").ZodString;
|
|
908
|
-
}, import("zod/v4/core").$strip>;
|
|
909
|
-
}, import("zod/v4/core").$strip>;
|
|
910
|
-
handler: (request: import("@frontmcp/protocol").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
911
|
-
method: "resources/subscribe";
|
|
912
|
-
params: {
|
|
913
|
-
uri: string;
|
|
914
|
-
_meta?: {
|
|
915
|
-
[x: string]: unknown;
|
|
916
|
-
progressToken?: string | number | undefined;
|
|
917
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
918
|
-
taskId: string;
|
|
919
|
-
} | undefined;
|
|
920
|
-
} | undefined;
|
|
921
|
-
};
|
|
922
|
-
}, {
|
|
923
|
-
method: string;
|
|
924
|
-
params?: {
|
|
925
|
-
[x: string]: unknown;
|
|
926
|
-
_meta?: {
|
|
927
|
-
[x: string]: unknown;
|
|
928
|
-
progressToken?: string | number | undefined;
|
|
929
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
930
|
-
taskId: string;
|
|
931
|
-
} | undefined;
|
|
932
|
-
} | undefined;
|
|
933
|
-
} | undefined;
|
|
934
|
-
}>) => Promise<import("@frontmcp/protocol").EmptyResult>;
|
|
935
|
-
} | import("./mcp-handlers.types").McpHandler<{
|
|
936
|
-
method: "tasks/cancel";
|
|
1012
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
1013
|
+
method: "tasks/result";
|
|
937
1014
|
params: {
|
|
938
1015
|
taskId: string;
|
|
939
1016
|
_meta?: {
|
|
@@ -945,11 +1022,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
945
1022
|
} | undefined;
|
|
946
1023
|
};
|
|
947
1024
|
}, {
|
|
948
|
-
|
|
949
|
-
status: "working" | "input_required" | "completed" | "failed" | "cancelled";
|
|
950
|
-
ttl: number | null;
|
|
951
|
-
createdAt: string;
|
|
952
|
-
lastUpdatedAt: string;
|
|
1025
|
+
[x: string]: unknown;
|
|
953
1026
|
_meta?: {
|
|
954
1027
|
[x: string]: unknown;
|
|
955
1028
|
progressToken?: string | number | undefined;
|
|
@@ -957,8 +1030,6 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
957
1030
|
taskId: string;
|
|
958
1031
|
} | undefined;
|
|
959
1032
|
} | undefined;
|
|
960
|
-
pollInterval?: number | undefined;
|
|
961
|
-
statusMessage?: string | undefined;
|
|
962
1033
|
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
963
1034
|
method: string;
|
|
964
1035
|
params?: {
|
|
@@ -972,7 +1043,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
972
1043
|
} | undefined;
|
|
973
1044
|
} | undefined;
|
|
974
1045
|
}> | import("./mcp-handlers.types").McpHandler<{
|
|
975
|
-
method: "tasks/
|
|
1046
|
+
method: "tasks/cancel";
|
|
976
1047
|
params: {
|
|
977
1048
|
taskId: string;
|
|
978
1049
|
_meta?: {
|
|
@@ -1053,76 +1124,5 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
1053
1124
|
} | undefined;
|
|
1054
1125
|
} | undefined;
|
|
1055
1126
|
} | undefined;
|
|
1056
|
-
}>
|
|
1057
|
-
method: "tasks/result";
|
|
1058
|
-
params: {
|
|
1059
|
-
taskId: string;
|
|
1060
|
-
_meta?: {
|
|
1061
|
-
[x: string]: unknown;
|
|
1062
|
-
progressToken?: string | number | undefined;
|
|
1063
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
1064
|
-
taskId: string;
|
|
1065
|
-
} | undefined;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
};
|
|
1068
|
-
}, {
|
|
1069
|
-
[x: string]: unknown;
|
|
1070
|
-
_meta?: {
|
|
1071
|
-
[x: string]: unknown;
|
|
1072
|
-
progressToken?: string | number | undefined;
|
|
1073
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
1074
|
-
taskId: string;
|
|
1075
|
-
} | undefined;
|
|
1076
|
-
} | undefined;
|
|
1077
|
-
}, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
|
|
1078
|
-
method: string;
|
|
1079
|
-
params?: {
|
|
1080
|
-
[x: string]: unknown;
|
|
1081
|
-
_meta?: {
|
|
1082
|
-
[x: string]: unknown;
|
|
1083
|
-
progressToken?: string | number | undefined;
|
|
1084
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
1085
|
-
taskId: string;
|
|
1086
|
-
} | undefined;
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
} | undefined;
|
|
1089
|
-
}> | {
|
|
1090
|
-
requestSchema: import("zod").ZodObject<{
|
|
1091
|
-
method: import("zod").ZodLiteral<"resources/unsubscribe">;
|
|
1092
|
-
params: import("zod").ZodObject<{
|
|
1093
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1094
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1095
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1096
|
-
taskId: import("zod").ZodString;
|
|
1097
|
-
}, import("zod/v4/core").$strip>>;
|
|
1098
|
-
}, import("zod/v4/core").$loose>>;
|
|
1099
|
-
uri: import("zod").ZodString;
|
|
1100
|
-
}, import("zod/v4/core").$strip>;
|
|
1101
|
-
}, import("zod/v4/core").$strip>;
|
|
1102
|
-
handler: (request: import("@frontmcp/protocol").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
1103
|
-
method: "resources/unsubscribe";
|
|
1104
|
-
params: {
|
|
1105
|
-
uri: string;
|
|
1106
|
-
_meta?: {
|
|
1107
|
-
[x: string]: unknown;
|
|
1108
|
-
progressToken?: string | number | undefined;
|
|
1109
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
1110
|
-
taskId: string;
|
|
1111
|
-
} | undefined;
|
|
1112
|
-
} | undefined;
|
|
1113
|
-
};
|
|
1114
|
-
}, {
|
|
1115
|
-
method: string;
|
|
1116
|
-
params?: {
|
|
1117
|
-
[x: string]: unknown;
|
|
1118
|
-
_meta?: {
|
|
1119
|
-
[x: string]: unknown;
|
|
1120
|
-
progressToken?: string | number | undefined;
|
|
1121
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
1122
|
-
taskId: string;
|
|
1123
|
-
} | undefined;
|
|
1124
|
-
} | undefined;
|
|
1125
|
-
} | undefined;
|
|
1126
|
-
}>) => Promise<import("@frontmcp/protocol").EmptyResult>;
|
|
1127
|
-
})[];
|
|
1127
|
+
}>)[];
|
|
1128
1128
|
//# sourceMappingURL=index.d.ts.map
|