From 57ab09c2dabe5282926593360e0d865b19fe8e36 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Mon, 21 Jul 2025 11:53:05 +0200 Subject: [PATCH] claude: Don't quote executable path in mcp configuration (#34805) This was generating an invalid string for the configuration, removing the extra quotes makes it work. This affected the versions of Zed that have a space in their name. Release Notes: - N/A --- crates/agent_servers/src/claude/mcp_server.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/agent_servers/src/claude/mcp_server.rs b/crates/agent_servers/src/claude/mcp_server.rs index fa61e671123b3ff186aa4db91de4408f4f0b4a9e..468027c4c3dd4c3391dc8196e54a840ce01a965b 100644 --- a/crates/agent_servers/src/claude/mcp_server.rs +++ b/crates/agent_servers/src/claude/mcp_server.rs @@ -69,9 +69,6 @@ impl ClaudeMcpServer { } pub fn server_config(&self) -> Result { - #[cfg(not(target_os = "windows"))] - let zed_path = util::get_shell_safe_zed_path()?; - #[cfg(target_os = "windows")] let zed_path = std::env::current_exe() .context("finding current executable path for use in mcp_server")? .to_string_lossy()