UX Request: claude mcp add ...

Resolved 💬 4 comments Opened Aug 26, 2025 by rsbohn Closed Jan 4, 2026

Currently when someone runs:
claude mcp add kobalt do-not-use --mode azure

They get:
error: unknown option '--mode'
(Did you mean --model?)

Your proposal would make it show something like:
error: unknown option '--mode'
Did you mean to pass this as an argument to the target command? Try:
claude mcp add kobalt do-not-use -- --mode azure

This is a perfect example of anticipatory error handling - the CLI can detect when users are likely trying to pass flags to the target command rather than
to claude mcp add itself.

Implementation approach:

  1. Parse error detection: When argument parsing fails on a flag-like string (--something)
  2. Context awareness: If it comes after <command> position in add <name> <command> [args...]
  3. Helpful suggestion: Show the -- separator syntax

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗