Interface McpRouterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
McpRouter,McpRouter.Builder
public interface McpRouterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetServers(int index) A list of remote MCP servers.intA list of remote MCP servers.A list of remote MCP servers.getServersOrBuilder(int index) A list of remote MCP servers.List<? extends McpRouter.McpBackendOrBuilder>A list of remote MCP servers.If set, extracts a request "subject" and binds it into the MCP session.If set, extracts a request "subject" and binds it into the MCP session.booleanIf set, extracts a request "subject" and binds it into the MCP session.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getServersList
List<McpRouter.McpBackend> getServersList()A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities that the client presented to Envoy.
repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1; -
getServers
A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities that the client presented to Envoy.
repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1; -
getServersCount
int getServersCount()A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities that the client presented to Envoy.
repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1; -
getServersOrBuilderList
List<? extends McpRouter.McpBackendOrBuilder> getServersOrBuilderList()A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities that the client presented to Envoy.
repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1; -
getServersOrBuilder
A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities that the client presented to Envoy.
repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1; -
hasSessionIdentity
boolean hasSessionIdentity()If set, extracts a request "subject" and binds it into the MCP session. If not set, sessions are created without identity binding.
.envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;- Returns:
- Whether the sessionIdentity field is set.
-
getSessionIdentity
SessionIdentity getSessionIdentity()If set, extracts a request "subject" and binds it into the MCP session. If not set, sessions are created without identity binding.
.envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;- Returns:
- The sessionIdentity.
-
getSessionIdentityOrBuilder
SessionIdentityOrBuilder getSessionIdentityOrBuilder()If set, extracts a request "subject" and binds it into the MCP session. If not set, sessions are created without identity binding.
.envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
-