Skip to content

AgentPrismMcpServerOptions

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Settings for publishing AgentPrism agents as MCP tools.

public sealed class AgentPrismMcpServerOptions

objectAgentPrismMcpServerOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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.

public AgentPrismMcpServerOptions()

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; }

AgentRunBudget

The default AgentRunBudget.MaxDepth is 1: letting an externally-called agent open its own tree makes the cost unpredictable.

Exposes every agent in the catalog. Default false; enabling it is an explicit choice.

public bool ExposeAllAgents { get; set; }

bool

Names of agents to expose. If empty and AgentPrismMcpServerOptions.ExposeAllAgents is off, no agent is visible through MCP.

public IList<string> ExposedAgents { get; }

IList<string>

MCP tool name prefix. Default agentprism; the tool name becomes {ToolNamePrefix}_{agent}.

public string ToolNamePrefix { get; set; }

string