AgentPrismMcpServerOptions
AgentPrism.AspNetCore.dllSettings for publishing AgentPrism agents as MCP tools.
public sealed class AgentPrismMcpServerOptionsInheritance
Section titled “Inheritance”object ← AgentPrismMcpServerOptions
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”AgentPrismMcpServerOptions()
Section titled “ AgentPrismMcpServerOptions()”public AgentPrismMcpServerOptions()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.
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 AgentPrismMcpServerOptions.ExposeAllAgents is off, no agent is visible through MCP.
public IList<string> ExposedAgents { get; }Property Value
Section titled “Property Value”ToolNamePrefix
Section titled “ ToolNamePrefix”MCP tool name prefix. Default agentprism; the tool name becomes
{ToolNamePrefix}_{agent}.
public string ToolNamePrefix { get; set; }