Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/src-tauri/src/managed_agents/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const KNOWN_ACP_RUNTIMES: &[KnownAcpRuntime] = &[
commands: &["claude-agent-acp", "claude-code-acp"],
aliases: &["claude-code", "claudecode"],
avatar_url: CLAUDE_CODE_AVATAR_URL,
mcp_command: None,
mcp_command: Some("buzz-dev-mcp"),
mcp_hooks: false,
underlying_cli: Some("claude"),
cli_install_commands: &["curl -fsSL https://claude.ai/install.sh | bash"],
Expand Down
12 changes: 12 additions & 0 deletions desktop/src-tauri/src/managed_agents/runtime/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ fn codex_has_mcp_command() {
assert_eq!(p.mcp_command, Some("buzz-dev-mcp"));
}

#[test]
fn claude_has_mcp_command() {
let p = known_acp_runtime("claude-agent-acp").expect("should resolve");
assert!(!p.mcp_hooks, "claude does not handle MCP_HOOK_SERVERS");
assert_eq!(
p.mcp_command,
Some("buzz-dev-mcp"),
"Claude Code needs the MCP server wired through session/new \
because it does not support native config"
);
}

#[test]
fn goose_has_no_mcp_hooks() {
let p = known_acp_runtime("goose").expect("should resolve");
Expand Down