diff --git a/.changeset/new-keys-relax.md b/.changeset/new-keys-relax.md new file mode 100644 index 00000000000..55a5d4d877e --- /dev/null +++ b/.changeset/new-keys-relax.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Fix bug where always allow wasn't showing up for MCP tools diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 27579479fdf..d4f62756a5b 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -78,7 +78,7 @@ export const ChatRowContent = ({ isLast, isStreaming, }: ChatRowContentProps) => { - const { mcpServers } = useExtensionState() + const { mcpServers, alwaysAllowMcp } = useExtensionState() const [cost, apiReqCancelReason, apiReqStreamingFailedMessage] = useMemo(() => { if (message.text != null && message.say === "api_req_started") { const info: ClineApiReqInfo = JSON.parse(message.text) @@ -871,6 +871,7 @@ export const ChatRowContent = ({ )?.alwaysAllow || false, }} serverName={useMcpServer.serverName} + alwaysAllowMcp={alwaysAllowMcp} /> {useMcpServer.arguments && useMcpServer.arguments !== "{}" && (