Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion cli/golem-cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,16 @@ pub struct GolemCliCommand {
#[command(flatten)]
pub global_flags: GolemCliGlobalFlags,

/// Start MCP (Model Context Protocol) server mode
#[arg(long, global = true)]
pub serve: bool,

/// Port for MCP server (default: 3000, only used with --serve)
#[arg(long, default_value = "3000")]
pub serve_port: u16,

#[clap(subcommand)]
pub subcommand: GolemCliSubcommand,
pub subcommand: Option<GolemCliSubcommand>,
}

// NOTE: inlined from clap-verbosity-flag, so we can override display order,
Expand Down
Loading