mcp_core/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use protocol::JsonRpcNotification;

pub mod error;
pub mod server;
pub mod transport;
pub mod resource;
pub mod protocol;
pub mod tools;
pub mod prompts;
pub mod logging;
pub mod client;

#[derive(Debug, Clone)]
pub struct NotificationSender {
    pub tx: tokio::sync::mpsc::Sender<JsonRpcNotification>,
}