fix(ai): support Windows Claude Code MCP config

This commit is contained in:
zipg authored and GitHub committed 2026-07-23 12:51:11 +08:00
1 parent 6a81b3261b
commit 590e9042e8
14 files changed
+275 -22

No files matched your search

+2 -2
View File
@@ -261,7 +261,7 @@ fn resolve_managed_mcp_command(
fn require_managed_mcp_command(command: Option<(String, Vec<String>)>) -> Result<(String, Vec<String>), String> {
command.ok_or_else(|| {
format!(
"DBX MCP Server is unavailable: no compatible Node.js ({}) installation containing {} was found. Install MCP Server from DBX settings and try again.",
"[dbxMcpMissing] No compatible Node.js ({}) installation containing {} was found.",
MCP_MIN_NODE_VERSION_REQUIREMENT, MCP_PACKAGE_NAME
)
})
@@ -1137,7 +1137,7 @@ mod tests {
assert!(error.contains(MCP_MIN_NODE_VERSION_REQUIREMENT));
assert!(error.contains(MCP_PACKAGE_NAME));
assert!(error.contains("DBX settings"));
assert!(error.starts_with("[dbxMcpMissing]"));
}
#[test]