.NET API
TraconMcpServerOptions
Tracon.AspNetCore.dllSettings for publishing Tracon agents as MCP tools.
public sealed class TraconMcpServerOptionsInheritance
Section titled “Inheritance”object ← TraconMcpServerOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”This type is deliberately not a record: the options
object carries no secret today, but the compiler-
generated ToString could repeat the same trap for a field added in
the future; the class keeps this type discipline.
Constructors
Section titled “Constructors”TraconMcpServerOptions()
Section titled “ TraconMcpServerOptions()”public TraconMcpServerOptions()Properties
Section titled “Properties”Budget
Section titled “ Budget”Depth and token budget template for external calls. Each tools/call
creates a new AgentRunBudget instance with these values;
the object itself is not shared.
public AgentRunBudget Budget { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default AgentRunBudget.MaxDepth is 1: letting an externally-called agent open its own tree makes the cost unpredictable.
EnableTasks
Section titled “ EnableTasks”Serves long-running agent calls as MCP tasks instead of holding the connection open. Default false: enabling it is an explicit choice, and today’s synchronous behavior is unchanged.
public bool EnableTasks { get; set; }Property Value
Section titled “Property Value”ExposeAllAgents
Section titled “ ExposeAllAgents”Exposes every agent in the catalog. Default false; enabling it is an explicit choice.
public bool ExposeAllAgents { get; set; }Property Value
Section titled “Property Value”ExposedAgents
Section titled “ ExposedAgents”Names of agents to expose. If empty and TraconMcpServerOptions.ExposeAllAgents is off, no agent is visible through MCP.
public IList<string> ExposedAgents { get; }Property Value
Section titled “Property Value”TaskPollInterval
Section titled “ TaskPollInterval”Poll interval advertised to the client. Default 2 seconds.
public TimeSpan TaskPollInterval { get; set; }Property Value
Section titled “Property Value”TaskTimeToLive
Section titled “ TaskTimeToLive”How long a finished task stays readable. Default 1 hour.
public TimeSpan TaskTimeToLive { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Advisory only: the underlying run row’s lifetime is governed by the retention policy (data retention), not by this value. A task stays readable for as long as its run row does.
ToolNamePrefix
Section titled “ ToolNamePrefix”MCP tool name prefix. Default tracon; the tool name becomes
{ToolNamePrefix}_{agent}.
public string ToolNamePrefix { get; set; }