Skip to content

Commit d052beb

Browse files
committed
Fix bug where always allow wasn't showing up for MCP tools
1 parent 3b24249 commit d052beb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/new-keys-relax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Fix bug where always allow wasn't showing up for MCP tools

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const ChatRowContent = ({
7878
isLast,
7979
isStreaming,
8080
}: ChatRowContentProps) => {
81-
const { mcpServers } = useExtensionState()
81+
const { mcpServers, alwaysAllowMcp } = useExtensionState()
8282
const [cost, apiReqCancelReason, apiReqStreamingFailedMessage] = useMemo(() => {
8383
if (message.text != null && message.say === "api_req_started") {
8484
const info: ClineApiReqInfo = JSON.parse(message.text)
@@ -871,6 +871,7 @@ export const ChatRowContent = ({
871871
)?.alwaysAllow || false,
872872
}}
873873
serverName={useMcpServer.serverName}
874+
alwaysAllowMcp={alwaysAllowMcp}
874875
/>
875876
</div>
876877
{useMcpServer.arguments && useMcpServer.arguments !== "{}" && (

0 commit comments

Comments
 (0)