docs(cli): mention streamable-http in mcp add transport help

This commit is contained in:
afjcjsbx 2026-05-13 19:56:08 +02:00
parent 4edbc73b64
commit ffe091d8b2

View file

@ -74,7 +74,7 @@ func newAddCommand() *cobra.Command {
flags.StringArrayP("env", "e", nil, "Environment variable in KEY=value format (repeatable, saved to config)") flags.StringArrayP("env", "e", nil, "Environment variable in KEY=value format (repeatable, saved to config)")
flags.String("env-file", "", "Path to an env file for stdio servers (recommended for secrets)") flags.String("env-file", "", "Path to an env file for stdio servers (recommended for secrets)")
flags.StringArrayP("header", "H", nil, "HTTP header in 'Name: Value' or 'Name=Value' format (repeatable)") flags.StringArrayP("header", "H", nil, "HTTP header in 'Name: Value' or 'Name=Value' format (repeatable)")
flags.StringP("transport", "t", "stdio", "Transport type: stdio, http, or sse") flags.StringP("transport", "t", "stdio", "Transport type: stdio, http / streamable-http, or sse")
flags.BoolP("force", "f", false, "Overwrite an existing server without prompting") flags.BoolP("force", "f", false, "Overwrite an existing server without prompting")
flags.Bool("deferred", false, "Mark server as deferred (tools hidden until explicitly activated)") flags.Bool("deferred", false, "Mark server as deferred (tools hidden until explicitly activated)")
flags.Bool("no-deferred", false, "Mark server as non-deferred (tools always active)") flags.Bool("no-deferred", false, "Mark server as non-deferred (tools always active)")