Skip to main content

Module mcp_client

Module mcp_client 

Source

Structs§

McpClient
MCP client that connects to a single MCP server.
McpContent
Content item from MCP tools/call response.
McpToolDef
Tool definition from MCP tools/list response.
McpToolResult
Result from tools/call.

Enums§

McpError

Functions§

execute
Execute an MCP tool call — high-level entry point for cli/call.rs dispatch.
execute_with_gen
Execute an MCP tool call with optional dynamic auth generator.