Crate thulp_mcp

Crate thulp_mcp 

Source
Expand description

§thulp-mcp

MCP protocol client wrapping rs-utcp’s MCP transport.

This crate provides a thulp-specific wrapper around rs-utcp’s MCP implementation, adding features like caching, session tracking, and error conversion.

§Example

use thulp_mcp::{McpClient, McpTransport};

// Create a new MCP client
let transport = McpTransport::new();
let client = McpClient::new(transport);

// Check connection status
println!("Client connected: {}", client.is_connected());
println!("Session ID: {}", client.session_id());

Structs§

McpClient
MCP client wrapper.
McpClientBuilder
Builder for McpClient.
McpTransport
Wrapper around rs-utcp’s MCP transport

Type Aliases§

Result
Result type alias using Error.