Skip to content

McpTransportMode

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The way a connection to an MCP server is made.

[JsonConverter(typeof(JsonStringEnumConverter<McpTransportMode>))]
public enum McpTransportMode

Sse = 1

Server-sent events (SSE). For legacy servers.

StreamableHttp = 0

Streamable HTTP. MCP’s current remote transport.

Stdio is deliberately absent. The stdio transport starts a process on the server; this means anyone with access to the admin UI runs a program on the server, which fundamentally breaks the code-only tools rule. AgentPrism connects only to remote MCP servers.