mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix: Standardize mcp clis
This commit is contained in:
@@ -55,7 +55,7 @@ pub async fn build_session<'a>(
|
||||
// TODO use systems from the profile
|
||||
// TODO once the client/server for MCP has stabilized, we should probably add InProcess transport to each
|
||||
// and avoid spawning here. But it is at least included in the CLI for portability
|
||||
let config = SystemConfig::stdio("goose").with_args(vec!["server", "--name", "developer"]);
|
||||
let config = SystemConfig::stdio("goose").with_args(vec!["mcp", "developer"]);
|
||||
agent
|
||||
.add_system(config)
|
||||
.await
|
||||
|
||||
@@ -74,16 +74,7 @@ enum Command {
|
||||
|
||||
/// Manage system prompts and behaviors
|
||||
#[command(about = "Run one of the mcp servers bundled with goose")]
|
||||
Mcp {
|
||||
#[arg(
|
||||
short,
|
||||
long,
|
||||
value_name = "NAME",
|
||||
help = "The stdio server to run",
|
||||
long_help = "Runs one of the goose builtin MCP servers with stdio transport."
|
||||
)]
|
||||
name: String,
|
||||
},
|
||||
Mcp { name: String },
|
||||
|
||||
/// Start or resume interactive chat sessions
|
||||
#[command(about = "Start or resume interactive chat sessions", alias = "s")]
|
||||
|
||||
Reference in New Issue
Block a user