[tui] Update /mcp output (#3134)

# Summary
Quick update to clean up MCP output

## Testing
- [x] Ran locally, confirmed output looked good
This commit is contained in:
Dylan
2025-09-03 16:38:09 -07:00
committed by GitHub
parent 4ae45a6c8d
commit ed0d23d560

View File

@@ -1076,14 +1076,6 @@ pub(crate) fn new_mcp_tools_output(
lines.push(vec![" • Command: ".into(), cmd_display.into()].into());
}
if let Some(env) = cfg.env.as_ref()
&& !env.is_empty()
{
let mut env_pairs: Vec<String> = env.iter().map(|(k, v)| format!("{k}={v}")).collect();
env_pairs.sort();
lines.push(vec![" • Env: ".into(), env_pairs.join(" ").into()].into());
}
if names.is_empty() {
lines.push(" • Tools: (none)".into());
} else {