fix: MCP execution content matching failed.

This commit is contained in:
Kadxy 2025-01-09 13:41:17 +08:00
parent f2a2b40d2c
commit 0c14ce6417
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@
"everything": { "everything": {
"command": "npx", "command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"] "args": ["-y", "@modelcontextprotocol/server-everything"]
},
"docker-mcp": {
"command": "uvx",
"args": ["docker-mcp"]
} }
} }
} }

View File

@ -834,7 +834,7 @@ export const useChatStore = createPersistStore(
.catch((error) => showToast("MCP execution failed", error)); .catch((error) => showToast("MCP execution failed", error));
} }
} catch (error) { } catch (error) {
console.error("[MCP Error]", error); console.error("[Check MCP JSON]", error);
} }
} }
}, },