diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx
index 66f9ba75f5..e71f92dc41 100644
--- a/webview-ui/src/components/chat/ChatRow.tsx
+++ b/webview-ui/src/components/chat/ChatRow.tsx
@@ -119,7 +119,6 @@ interface ChatRowProps {
onFollowUpUnmount?: () => void
isFollowUpAnswered?: boolean
isFollowUpAutoApprovalPaused?: boolean
- mcpResponseImages?: string[]
editable?: boolean
hasCheckpoint?: boolean
}
@@ -174,7 +173,6 @@ export const ChatRowContent = ({
onBatchFileResponse,
isFollowUpAnswered,
isFollowUpAutoApprovalPaused,
- mcpResponseImages,
}: ChatRowContentProps) => {
const { t, i18n } = useTranslation()
@@ -1629,7 +1627,6 @@ export const ChatRowContent = ({
server={server}
useMcpServer={useMcpServer}
alwaysAllowMcp={alwaysAllowMcp}
- images={mcpResponseImages ?? message.images}
/>
)}
diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx
index fdf0ff648f..81f6cbebf6 100644
--- a/webview-ui/src/components/chat/ChatView.tsx
+++ b/webview-ui/src/components/chat/ChatView.tsx
@@ -1327,15 +1327,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction
}
- // For use_mcp_server ask messages, find the corresponding mcp_server_response to get images
- let mcpResponseImages: string[] | undefined
- if (messageOrGroup.type === "ask" && messageOrGroup.ask === "use_mcp_server") {
- const mcpResponse = modifiedMessages.find(
- (m) => m.ts > messageOrGroup.ts && m.say === "mcp_server_response",
- )
- mcpResponseImages = mcpResponse?.images
- }
-
// regular message
return (
{
const { t } = useTranslation("mcp")
@@ -292,13 +289,6 @@ export const McpExecution = ({
hasArguments={!!(isArguments || useMcpServer?.arguments || argumentsText)}
isPartial={status ? status.status !== "completed" : false}
/>
-
- {/* Images section - show thumbnails of returned images */}
- {images && images.length > 0 && (
-
-
-
- )}
>
)