feat(mcp): upgrade rmcp to 0.15.0 and advertise MCP Apps UI extension capability (#6927)

This commit is contained in:
Andrew Harvard
2026-02-11 09:34:04 -05:00
committed by GitHub
parent 0e7294835c
commit 544bc1bc4f
24 changed files with 382 additions and 76 deletions
+38
View File
@@ -6755,6 +6755,19 @@
"inlineMessage"
]
},
"TaskSupport": {
"oneOf": [
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
}
]
},
"TelemetryEventRequest": {
"type": "object",
"required": [
@@ -6899,6 +6912,16 @@
"description": {
"type": "string"
},
"execution": {
"anyOf": [
{
"$ref": "#/components/schemas/ToolExecution"
},
{
"type": "object"
}
]
},
"icons": {
"type": "array",
"items": {
@@ -6964,6 +6987,21 @@
}
}
},
"ToolExecution": {
"type": "object",
"properties": {
"taskSupport": {
"anyOf": [
{
"$ref": "#/components/schemas/TaskSupport"
},
{
"type": "object"
}
]
}
}
},
"ToolInfo": {
"type": "object",
"description": "Information about the tool used for building prompts",
File diff suppressed because one or more lines are too long
+11
View File
@@ -1148,6 +1148,8 @@ export type SystemNotificationContent = {
export type SystemNotificationType = 'thinkingMessage' | 'inlineMessage';
export type TaskSupport = string;
export type TelemetryEventRequest = {
event_name: string;
properties?: {
@@ -1198,6 +1200,9 @@ export type Tool = {
[key: string]: unknown;
};
description?: string;
execution?: ToolExecution | {
[key: string]: unknown;
};
icons?: Array<Icon>;
inputSchema: {
[key: string]: unknown;
@@ -1224,6 +1229,12 @@ export type ToolConfirmationRequest = {
toolName: string;
};
export type ToolExecution = {
taskSupport?: TaskSupport | {
[key: string]: unknown;
};
};
/**
* Information about the tool used for building prompts
*/