Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit adbad4b

Browse files
committed
fix: upgrade @modelcontextprotocol/sdk to 1.28.0 for 2025-11-25 protocol support
1 parent ad25634 commit adbad4b

3 files changed

Lines changed: 157 additions & 45 deletions

File tree

packages/types/src/mcp.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,22 @@ export type McpToolCallResponse = {
105105
| {
106106
type: "text"
107107
text: string
108+
annotations?: Record<string, unknown>
109+
_meta?: Record<string, unknown>
108110
}
109111
| {
110112
type: "image"
111113
data: string
112114
mimeType: string
115+
annotations?: Record<string, unknown>
116+
_meta?: Record<string, unknown>
113117
}
114118
| {
115119
type: "audio"
116120
data: string
117121
mimeType: string
122+
annotations?: Record<string, unknown>
123+
_meta?: Record<string, unknown>
118124
}
119125
| {
120126
type: "resource"
@@ -124,6 +130,17 @@ export type McpToolCallResponse = {
124130
text?: string
125131
blob?: string
126132
}
133+
annotations?: Record<string, unknown>
134+
_meta?: Record<string, unknown>
135+
}
136+
| {
137+
type: "resource_link"
138+
uri: string
139+
name: string
140+
description?: string
141+
mimeType?: string
142+
annotations?: Record<string, unknown>
143+
_meta?: Record<string, unknown>
127144
}
128145
>
129146
isError?: boolean

0 commit comments

Comments
 (0)