Expand description
MCP integration — adapters between oxios-mcp and the kernel.
Re-exports all types from the oxios-mcp crate and provides conversion
functions between MCP-native types and Oxios kernel types (ToolDef).
Structs§
- Client
Info - Client info sent during initialize
- Initialize
Params - Initialize request params
- Initialize
Result - Initialize response from the server
- Mapped
Resource - Resource reference
- McpBridge
- MCP bridge — connects multiple MCP servers to the tool system.
- McpCapabilities
- MCP server capabilities
- McpClient
- Manages a single MCP server process with stdio JSON-RPC communication.
- McpError
- MCP JSON-RPC error structure
- McpRequest
- MCP JSON-RPC request structure
- McpResponse
- MCP JSON-RPC response structure
- McpServer
- MCP server capability definition
- McpTool
- MCP tool definition from a server
- McpTool
Call Result - MCP tools/call result
- McpTools
Result - MCP tools/list result
- Server
Info - Server info from initialize response
Enums§
- McpContent
Block - Content block in a tool call result
Functions§
- cached_
tool_ defs - Get cached MCP tools as Oxios
ToolDefs for a specific server. - list_
tool_ defs - List all MCP tools as Oxios
ToolDefs (existing API compatibility). - mcp_
tool_ to_ tool_ def - Convert an MCP tool to an Oxios
ToolDef. - refresh_
tool_ defs - Refresh and return MCP tools as Oxios
ToolDefs for a specific server.
Type Aliases§
- McpServer
Config - Type alias for backwards compatibility — use McpServer directly.