Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jsonrpc-core = "18"
warp = "0.3"
jsonrpc-derive = "18"
futures = "0.3"
uuid = { version = "1", features = ["v4", "v7", "serde"] }
uuid = { version = "1", features = ["v4"] }
url = "2"
base64 = "0.22"
async-stream = "0.3"
Expand Down
2 changes: 0 additions & 2 deletions bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use mcp_rs::{
transport::{sse::SseTransport, stdio::StdioTransport, ws::WebSocketTransport},
};
use serde_json::json;
use uuid::Uuid;

#[derive(Parser, Debug)]
#[command(name = "mcp-client", version, about = "MCP Client CLI")]
Expand Down Expand Up @@ -256,7 +255,6 @@ async fn main() -> Result<(), McpError> {
CallToolArgs::builder()
.session_id(session_id)
.tool_id(tool_id)
.agent_id(Uuid::new_v4())
.build(),
),
)
Expand Down
3 changes: 0 additions & 3 deletions src/tools/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{collections::HashMap, sync::Arc};
use test_tool::{PingTool, TestTool};
use tokio::sync::{mpsc, RwLock};
use typed_builder::TypedBuilder;
use uuid::Uuid;

pub mod calculator;
pub mod file_system;
Expand Down Expand Up @@ -118,8 +117,6 @@ pub struct CallToolArgs {
#[serde(skip_serializing_if = "Option::is_none")]
#[builder(default, setter(into))]
pub session_id: Option<String>,

pub agent_id: Uuid,
}

// Tool Provider trait
Expand Down
Loading