From 2d997e18b79c454c32ade38d001d88362e3d6fa4 Mon Sep 17 00:00:00 2001 From: TiejunZhou <50469179+TiejunMS@users.noreply.github.com> Date: Tue, 8 Jul 2025 01:12:58 +0800 Subject: [PATCH] docs: fix packages used for server example (#309) --- crates/rmcp/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rmcp/README.md b/crates/rmcp/README.md index 7c93dd2..eb93c2d 100644 --- a/crates/rmcp/README.md +++ b/crates/rmcp/README.md @@ -15,7 +15,7 @@ wait for the first release. Creating a server with tools is simple using the `#[tool]` macro: ```rust, ignore -use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_router, transport::stdio, handler::server::tool::ToolCallContext, handler::server::router::tool::ToolRouter}; +use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_handler, tool_router, transport::stdio, handler::server::router::tool::ToolRouter}; use std::sync::Arc; use tokio::sync::Mutex;