Skip to content

fix: add mcp remove slash commands#288

Open
SlaVKsVolks wants to merge 1 commit into
CortexLM:mainfrom
SlaVKsVolks:codex/mcp-remove-slash
Open

fix: add mcp remove slash commands#288
SlaVKsVolks wants to merge 1 commit into
CortexLM:mainfrom
SlaVKsVolks:codex/mcp-remove-slash

Conversation

@SlaVKsVolks
Copy link
Copy Markdown

Summary

  • adds /mcp-remove and /mcp-rm as dedicated MCP removal slash entries
  • routes both commands to the existing MCP manager so removal stays centralized
  • adds focused registry and executor coverage

Fixes PlatformNetwork/bounty-challenge#53255.

Verification

  • rustfmt --edition 2024 --check src/cortex-tui/src/commands/registry/builtin.rs src/cortex-tui/src/commands/registry/mod.rs src/cortex-tui/src/commands/executor/dispatch.rs src/cortex-tui/src/commands/executor/tests.rs
  • cargo test -p cortex-tui commands::registry::tests::test_specific_commands_registered
  • cargo test -p cortex-tui commands::executor::tests::test_mcp_remove_commands_open_mcp_manager
  • cargo check -p cortex-tui
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][v0.0.7] TUI slash registry has no dedicated mcp-remove or mcp-rm next to mcp-auth

1 participant