Skip to content

Commit 57ab09c

Browse files
authored
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
1 parent caa4b52 commit 57ab09c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/agent_servers/src/claude/mcp_server.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ impl ClaudeMcpServer {
6969
}
7070

7171
pub fn server_config(&self) -> Result<McpServerConfig> {
72-
#[cfg(not(target_os = "windows"))]
73-
let zed_path = util::get_shell_safe_zed_path()?;
74-
#[cfg(target_os = "windows")]
7572
let zed_path = std::env::current_exe()
7673
.context("finding current executable path for use in mcp_server")?
7774
.to_string_lossy()

0 commit comments

Comments
 (0)