use super::{McpToolCall, McpToolDescriptor, McpToolResponse}; use crate::Result; use async_trait::async_trait; /// Trait for a client that can interact with an MCP server #[async_trait] pub trait McpClient: Send + Sync { /// List the tools available on the server async fn list_tools(&self) -> Result>; /// Call a tool on the server async fn call_tool(&self, call: McpToolCall) -> Result; } // Re-export the concrete implementation that supports stdio and HTTP transports. pub use super::remote_client::RemoteMcpClient;