mcp_attr/lib.rs
1pub mod client;
2mod common;
3#[doc(hidden)]
4pub mod helpers;
5
6/// Types defined in the [MCP protocol schema]
7///
8/// This module was automatically generated from the [MCP protocol schema].
9///
10/// [MCP protocol schema]: https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json
11pub mod schema;
12mod schema_ext;
13pub mod server;
14mod transitivity;
15pub mod utils;
16
17pub use jsoncall;
18pub use jsoncall::{Error, ErrorCode, Result, SessionError, SessionResult, bail, bail_public};
19
20#[cfg(doctest)]
21mod tests_readme;