mistralrs-mcp
Model Context Protocol (MCP) client implementation for mistral.rs.
This crate provides a client library for connecting to MCP servers and integrating external tools with language models. It supports multiple transport protocols (HTTP, WebSocket, Process) and provides automatic tool discovery and registration.
Features
- Multi-transport Support: HTTP, WebSocket, and Process-based connections
- Automatic Tool Discovery: Discovers and registers tools from connected MCP servers
- Bearer Token Authentication: Supports authentication for secured MCP servers
- Concurrent Tool Execution: Handles multiple tool calls efficiently with configurable limits
- Timeout Control: Configurable timeouts for individual tool calls
- Resource Access: Access to MCP server resources like files and data
Usage
use ;
async
See the MCP Client documentation for more details.