Skip to content

Align MCP existing server guidance#382

Open
GreyforgeLabs wants to merge 1 commit into
CortexLM:mainfrom
GreyforgeLabs:align-mcp-existing-server-advice
Open

Align MCP existing server guidance#382
GreyforgeLabs wants to merge 1 commit into
CortexLM:mainfrom
GreyforgeLabs:align-mcp-existing-server-advice

Conversation

@GreyforgeLabs
Copy link
Copy Markdown

Summary

  • Route MCP "already exists" messages through a shared helper
  • Keep mcp add guidance for its valid --force overwrite option
  • Align both add and rename on explicit cortex mcp remove <name> and alternate-name guidance

Validation

  • cargo fmt --package cortex-cli --check
  • git diff --check
  • cargo check -p cortex-cli --no-default-features --features cortex-tui
  • cargo build -p cortex-cli --no-default-features --features cortex-tui --bin Cortex

Validation blockers

  • cargo test -p cortex-cli mcp_cmd::handlers::tests::test_existing_server_advice_is_consistent --no-default-features --features cortex-tui is blocked before this test by a pre-existing private import error in src/cortex-cli/src/agent_cmd/tests.rs.
  • Direct debug CLI execution is blocked before MCP command dispatch by a pre-existing duplicate mcp ls clap alias panic.

Addresses PlatformNetwork/bounty-challenge#53102.

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.

1 participant