Skip to main content

Module client

Module client 

Source
Expand description

MCP JSON-RPC client.

Communicates with an MCP server through a McpTransport (currently only StdioTransport). Owns the request id counter and high-level methods (tools/list, tools/call, …); delegates raw I/O and request/response correlation to the transport.

Structs§

McpClient
An MCP client connected to a single server through a transport.
McpPrompt
MCP prompt template.
McpPromptArgument
A single argument accepted by an McpPrompt template.
McpSamplingRequest
MCP sampling request — server asks oxicode to make an LLM call.

Enums§

McpLogLevel
MCP log level for logging/setLevel.