Commit ec57a39
authored
fix: use blob field for binary resources to prevent context overflow (#252)
Binary content (images, etc.) was incorrectly using 'text' field, causing MCP hosts like Claude Desktop to display base64 strings as text messages, flooding the context window.
Changed to use 'blob' field for binary data per MCP 2025-06-18 spec.1 parent c0d176f commit ec57a39
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
0 commit comments