fix: update transport command to use the correct example server (#36)
* fix: update transport command to use the correct example server * style: cargo fmt
This commit is contained in:
parent
989453d0da
commit
9c33eedbcb
1 changed files with 10 additions and 4 deletions
|
|
@ -24,10 +24,16 @@ async fn main() -> Result<(), ClientError> {
|
|||
// Create the transport
|
||||
let transport = StdioTransport::new(
|
||||
"cargo",
|
||||
vec!["run", "-p", "mcp-server"]
|
||||
.into_iter()
|
||||
.map(|s| s.to_string())
|
||||
.collect(),
|
||||
vec![
|
||||
"run",
|
||||
"-p",
|
||||
"mcp-server-examples",
|
||||
"--example",
|
||||
"counter-server",
|
||||
]
|
||||
.into_iter()
|
||||
.map(|s| s.to_string())
|
||||
.collect(),
|
||||
HashMap::new(),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue