RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

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

C McpComponent MCP component. Scheme: mcp. Endpoint URI: mcp://serverName/toolName.
C McpDiscoveryService Hosted service that brings up registered MCP servers, runs the
C McpEndpoint MCP endpoint — a single (server, tool) coordinate. Producer-only.
C McpEndpointOptions Endpoint options for the mcp:// scheme. The URI parser maps
C McpException Thrown when an MCP server returns a JSON-RPC error, the transport fails,
C McpProducer MCP producer — translates an exchange into an MCP tools/call RPC.
C McpRegistry Default in-memory thread-safe .
C McpRestartPolicy Restart policy for an MCP stdio server.
C McpSafetyOverride Per-tool safety override. The first matching wins.
C McpServerOptions Configuration for a single MCP server entry. Built via
C McpServerOptionsBuilder Mutable builder for .
C McpServiceCollectionExtensions DI registration helpers for redb.Route.Llm.Mcp.
C McpToolDescriptor backed by a remote MCP tool. Capability built once

Interfaces

I IMcpClient Transport-agnostic MCP client. Implementations spawn / hold the connection,
I IMcpRegistry Registry of singletons keyed by server name.

Enums

E McpClientStatus Health state of an . Surfaced by

redb.Route.Llm.Mcp.Protocol

Classes

C CallToolResult Result of tools/call.
C InitializeResult Result of the initialize handshake.
C JsonRpcError JSON-RPC error object.
C JsonRpcNotification JSON-RPC 2.0 server-initiated notification (no response expected).
C JsonRpcRequest JSON-RPC 2.0 request envelope.
C JsonRpcResponse JSON-RPC 2.0 response envelope.
C ListToolsResult Result of tools/list.
C McpClientBase Shared client logic: per-id registry,
C McpProtocol MCP protocol DTOs and JSON-RPC envelope types. Pinned to MCP protocol version
C ServerInfo Server identification block returned during initialize.
C ToolDefinition One tool entry as returned by tools/list.

redb.Route.Llm.Mcp.Transport

Classes

C HttpSseMcpClient HTTP + SSE transport. POSTs JSON-RPC requests to the base URL, opens a parallel
C McpTransport Configuration for an MCP server transport. Built via
C StdioMcpClient Stdio transport — spawns an external process, exchanges newline-delimited

Enums

E McpTransportKind Transport flavor for an MCP server.