From 136f9ddb3e02b2b0e35f40c9ad620a9c4477993e Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 14 Aug 2025 20:19:16 -0700 Subject: [PATCH] fix: MCP service name --- src/streamChatResponse.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/streamChatResponse.ts b/src/streamChatResponse.ts index 16097cda2..a4d458302 100644 --- a/src/streamChatResponse.ts +++ b/src/streamChatResponse.ts @@ -127,9 +127,7 @@ export async function getAllTools() { let mcpTools: MCPTool[] = []; let mcpToolNames: string[] = []; - const mcpServiceResult = getServiceSync( - SERVICE_NAMES.TOOL_PERMISSIONS, - ); + const mcpServiceResult = getServiceSync(SERVICE_NAMES.MCP); if (mcpServiceResult.state === "ready") { mcpTools = mcpServiceResult?.value?.tools ?? []; mcpToolNames = mcpTools.map((t) => t.name);