fix: Standardize mcp clis

This commit is contained in:
Bradley Axen
2025-01-06 22:21:45 -08:00
parent 82808ab3f0
commit 0745d12f90
2 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -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
+1 -10
View File
@@ -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")]