Class McpEndpointOptions

Assembly: redb.Route.Llm.Mcp.dll

Endpoint options for the mcp:// scheme. The URI parser maps
mcp://serverName/toolName to + .
Optional ?callTimeoutMs=30000 (milliseconds) overrides the per-call timeout.

public sealed class McpEndpointOptions : EndpointOptions

Inheritance

Object→EndpointOptions→McpEndpointOptions

Inherited Members

Properties

CallTimeoutMs

Per-call timeout in milliseconds. Default 60s. 0 = no client-side timeout.

public int CallTimeoutMs { get; set; }

ServerName

Logical MCP server name (registry key set by AddMcpServer).

public string ServerName { get; set; }

ToolName

Server-side tool name (raw name as returned by tools/list).

public string ToolName { get; set; }

Methods

Validate()

Validates required parameters and constraints. Called after BindFromUri.

public override void Validate()