Skip to content

Commit 2d997e1

Browse files
authored
docs: fix packages used for server example (#309)
1 parent 69712e3 commit 2d997e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rmcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ wait for the first release.
1515
Creating a server with tools is simple using the `#[tool]` macro:
1616

1717
```rust, ignore
18-
use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_router, transport::stdio, handler::server::tool::ToolCallContext, handler::server::router::tool::ToolRouter};
18+
use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_handler, tool_router, transport::stdio, handler::server::router::tool::ToolRouter};
1919
use std::sync::Arc;
2020
use tokio::sync::Mutex;
2121

0 commit comments

Comments
 (0)