From 0c14ce6417821d512d04dec5a5755bf35deed51d Mon Sep 17 00:00:00 2001 From: Kadxy <2230318258@qq.com> Date: Thu, 9 Jan 2025 13:41:17 +0800 Subject: [PATCH] fix: MCP execution content matching failed. --- app/mcp/mcp_config.json | 4 ++++ app/store/chat.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/mcp/mcp_config.json b/app/mcp/mcp_config.json index 6ad18236b..3a8b3afaa 100644 --- a/app/mcp/mcp_config.json +++ b/app/mcp/mcp_config.json @@ -11,6 +11,10 @@ "everything": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-everything"] + }, + "docker-mcp": { + "command": "uvx", + "args": ["docker-mcp"] } } } diff --git a/app/store/chat.ts b/app/store/chat.ts index 93bbde99d..4a70c9296 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -834,7 +834,7 @@ export const useChatStore = createPersistStore( .catch((error) => showToast("MCP execution failed", error)); } } catch (error) { - console.error("[MCP Error]", error); + console.error("[Check MCP JSON]", error); } } },