We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1b457 commit 61fef52Copy full SHA for 61fef52
packages/core/src/types/types.ts
@@ -238,7 +238,8 @@ export enum ErrorCode {
238
InternalError = -32603,
239
240
// MCP-specific error codes
241
- UrlElicitationRequired = -32042
+ UrlElicitationRequired = -32042,
242
+ UnsupportedCapability = -32043
243
}
244
245
/**
@@ -2369,6 +2370,12 @@ export class UrlElicitationRequiredError extends McpError {
2369
2370
2371
2372
2373
+export class UnsupportedCapabilityError extends McpError {
2374
+ constructor(message: string) {
2375
+ super(ErrorCode.UnsupportedCapability, message);
2376
+ }
2377
+}
2378
+
2379
type Primitive = string | number | boolean | bigint | null | undefined;
2380
type Flatten<T> = T extends Primitive
2381
? T
0 commit comments