techne_mcp/
server.rs

1pub mod capabilities;
2pub mod content;
3pub mod notification;
4pub mod request;
5pub mod response;
6pub mod tool;
7
8pub use capabilities::Capabilities;
9pub use content::Content;
10pub use notification::Notification;
11pub use request::Request;
12pub use response::Response;
13pub use tool::Tool;
14
15pub type Message<T = Response> = crate::Message<Request, Notification, T>;
16
17use serde::{Deserialize, Serialize};
18
19#[derive(Debug, Clone, Serialize, Deserialize)]
20pub struct Server {
21    pub name: String,
22    pub version: String,
23}