API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Showing: redb.Route.Llm.Mcp
Show all
redb.Route.Llm.Mcp
Classes
| McpComponent | MCP component. Scheme: mcp. Endpoint URI: mcp://serverName/toolName. |
| McpDiscoveryService | Hosted service that brings up registered MCP servers, runs the |
| McpEndpoint | MCP endpoint — a single (server, tool) coordinate. Producer-only. |
| McpEndpointOptions | Endpoint options for the mcp:// scheme. The URI parser maps |
| McpException | Thrown when an MCP server returns a JSON-RPC error, the transport fails, |
| McpProducer | MCP producer — translates an exchange into an MCP tools/call RPC. |
| McpRegistry | Default in-memory thread-safe . |
| McpRestartPolicy | Restart policy for an MCP stdio server. |
| McpSafetyOverride | Per-tool safety override. The first matching wins. |
| McpServerOptions | Configuration for a single MCP server entry. Built via |
| McpServerOptionsBuilder | Mutable builder for . |
| McpServiceCollectionExtensions | DI registration helpers for redb.Route.Llm.Mcp. |
| McpToolDescriptor | backed by a remote MCP tool. Capability built once |
Interfaces
| IMcpClient | Transport-agnostic MCP client. Implementations spawn / hold the connection, |
| IMcpRegistry | Registry of singletons keyed by server name. |
Enums
| McpClientStatus | Health state of an . Surfaced by |
redb.Route.Llm.Mcp.Protocol
Classes
| CallToolResult | Result of tools/call. |
| InitializeResult | Result of the initialize handshake. |
| JsonRpcError | JSON-RPC error object. |
| JsonRpcNotification | JSON-RPC 2.0 server-initiated notification (no response expected). |
| JsonRpcRequest | JSON-RPC 2.0 request envelope. |
| JsonRpcResponse | JSON-RPC 2.0 response envelope. |
| ListToolsResult | Result of tools/list. |
| McpClientBase | Shared client logic: per-id registry, |
| McpProtocol | MCP protocol DTOs and JSON-RPC envelope types. Pinned to MCP protocol version |
| ServerInfo | Server identification block returned during initialize. |
| ToolDefinition | One tool entry as returned by tools/list. |
redb.Route.Llm.Mcp.Transport
Classes
| HttpSseMcpClient | HTTP + SSE transport. POSTs JSON-RPC requests to the base URL, opens a parallel |
| McpTransport | Configuration for an MCP server transport. Built via |
| StdioMcpClient | Stdio transport — spawns an external process, exchanges newline-delimited |
Enums
| McpTransportKind | Transport flavor for an MCP server. |