We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68fce4f commit 1040b11Copy full SHA for 1040b11
examples/mcp_client_handle_message.rs
@@ -122,18 +122,9 @@ fn handle_message(message_payload: &str) -> std::result::Result<(), AppError> {
122
ServerResult::ListToolsResult(list_tools_result) => {
123
dbg!(list_tools_result);
124
}
125
- #[cfg(any(feature = "2025_03_26", feature = "2024_11_05"))]
126
ServerResult::CallToolResult(call_tool_result) => {
127
dbg!(call_tool_result);
128
129
- #[cfg(feature = "draft")]
130
- ServerResult::CallToolUnstructuredResult(call_tool_unstructured_result) => {
131
- dbg!(call_tool_unstructured_result);
132
- }
133
134
- ServerResult::CallToolStructuredResult(call_tool_structured_result) => {
135
- dbg!(call_tool_structured_result);
136
137
ServerResult::CompleteResult(complete_result) => {
138
dbg!(complete_result);
139
src/generated_schema.rs
@@ -33,3 +33,7 @@ pub use mcp_schema::*;
33
#[cfg(all(feature = "schema_utils", feature = "draft"))]
34
#[path = "generated_schema/draft/schema_utils.rs"]
35
pub mod schema_utils;
36
+
37
+#[path = "generated_schema/protocol_version.rs"]
38
+mod protocol_version;
39
+pub use protocol_version::*;
src/generated_schema/2024_11_05/mcp_schema.rs
@@ -6,7 +6,7 @@
6
///
7
/// Generated from : <https://github.com/modelcontextprotocol/specification.git>
8
/// Hash : UNKNOWN
9
-/// Generated at : 2025-05-20 20:52:14
+/// Generated at : 2025-05-26 21:28:07
10
/// ----------------------------------------------------------------------------
11
12
/// MCP Protocol Version
src/generated_schema/2024_11_05/schema_utils.rs
@@ -15,7 +15,7 @@ pub enum MessageTypes {
15
/// Implements the `Display` trait for the `MessageTypes` enum,
16
/// allowing it to be converted into a human-readable string.
17
impl Display for MessageTypes {
18
- /// Formats the `MessageTypes` enum variant as a string.
+ /// Formats the `MessageTypes` enum variant as a string.
19
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
20
write!(
21
f,
@@ -1071,6 +1071,7 @@ impl FromStr for ServerJsonrpcResponse {
1071
1072
/// To determine standard and custom results from the server side
1073
/// Custom results (CustomResult) are of type serde_json::Value and can be deserialized into any custom type.
1074
+#[allow(clippy::large_enum_variant)]
1075
#[derive(::serde::Serialize, Clone, Debug)]
1076
#[serde(untagged)]
1077
pub enum ResultFromServer {
src/generated_schema/2025_03_26/mcp_schema.rs
-/// Generated at : 2025-05-20 20:52:15
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments