Skip to content

Commit 9c33eed

Browse files
authored
fix: update transport command to use the correct example server (#36)
* fix: update transport command to use the correct example server * style: cargo fmt
1 parent 989453d commit 9c33eed

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

examples/clients/src/stdio_integration.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@ async fn main() -> Result<(), ClientError> {
2424
// Create the transport
2525
let transport = StdioTransport::new(
2626
"cargo",
27-
vec!["run", "-p", "mcp-server"]
28-
.into_iter()
29-
.map(|s| s.to_string())
30-
.collect(),
27+
vec![
28+
"run",
29+
"-p",
30+
"mcp-server-examples",
31+
"--example",
32+
"counter-server",
33+
]
34+
.into_iter()
35+
.map(|s| s.to_string())
36+
.collect(),
3137
HashMap::new(),
3238
);
3339

0 commit comments

Comments
 (0)