Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- basePath(String) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the project basePath as endpoint prefix where clients should send their JSON-RPC messages
- build() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Construct a fresh instance of
WebClientStreamableHttpTransportusing the current builder configuration. - build() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport.Builder
-
Deprecated.Builds a new
WebFluxSseClientTransportinstance. - build() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Builds a new instance of
WebFluxSseServerTransportProviderwith the configured settings. - build() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport.Builder
-
Builds a new instance of
WebFluxStatelessServerTransportwith the configured settings. - build() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Builds a new instance of
WebFluxStreamableServerTransportProviderwith the configured settings. - builder() - Static method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- builder() - Static method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport
-
Create a builder for the server.
- builder() - Static method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
- builder(WebClient.Builder) - Static method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
-
Create a stateful builder for creating
WebClientStreamableHttpTransportinstances. - builder(WebClient.Builder) - Static method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Creates a new builder for
WebFluxSseClientTransport. - Builder() - Constructor for class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.
- Builder(WebClient.Builder) - Constructor for class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport.Builder
-
Deprecated.Creates a new builder with the specified WebClient.Builder.
C
- closeGracefully() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- closeGracefully() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Implements graceful shutdown of the transport.
- closeGracefully() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Initiates a graceful shutdown of all the sessions.
- closeGracefully() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport
- closeGracefully() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Establishes a connection to the MCP server using Server-Sent Events (SSE).
- contextExtractor(McpTransportContextExtractor<ServerRequest>) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
- contextExtractor(McpTransportContextExtractor<ServerRequest>) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport.Builder
-
Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
- contextExtractor(McpTransportContextExtractor<ServerRequest>) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
D
- DEFAULT_BASE_URL - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- DEFAULT_MESSAGE_ENDPOINT - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- DEFAULT_SSE_ENDPOINT - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Default SSE endpoint path as specified by the MCP transport specification.
- disallowDelete(boolean) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets whether the session removal capability is disabled.
E
- endpoint(String) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Configure the endpoint to make HTTP requests against.
- ENDPOINT_EVENT_TYPE - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Event type for sending the message endpoint URI to clients.
- eventStream() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Initializes and starts the inbound SSE event processing.
G
- getRouterFunction() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Returns the WebFlux router function that defines the transport's HTTP endpoints.
- getRouterFunction() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport
-
Returns the WebFlux router function that defines the transport's HTTP endpoints.
- getRouterFunction() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
-
Returns the WebFlux router function that defines the transport's HTTP endpoints.
J
- jsonMapper - Variable in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.JSON mapper for serializing outbound messages and deserializing inbound messages.
- jsonMapper(McpJsonMapper) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Configure the
McpJsonMapperto use. - jsonMapper(McpJsonMapper) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport.Builder
-
Deprecated.Sets the JSON mapper for serialization/deserialization.
- jsonMapper(McpJsonMapper) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the McpJsonMapper to use for JSON serialization/deserialization of MCP messages.
- jsonMapper(McpJsonMapper) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport.Builder
-
Sets the JsonMapper to use for JSON serialization/deserialization of MCP messages.
- jsonMapper(McpJsonMapper) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the
McpJsonMapperto use for JSON serialization/deserialization of MCP messages.
K
- keepAliveInterval(Duration) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the interval for sending keep-alive pings to clients.
- keepAliveInterval(Duration) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the keep-alive interval for the server transport.
M
- MESSAGE_EVENT_TYPE - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Event type for JSON-RPC messages sent through the SSE connection.
- MESSAGE_EVENT_TYPE - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
- messageEndpoint(String) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpointSink - Variable in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Sink for managing the message endpoint URI provided by the server.
- messageEndpointValidator(SseMessageEndpointValidator) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport.Builder
-
Deprecated.Sets the validator that ensure the message endpoint returned over the SSE connection is valid.
N
- notifyClient(String, String, Object) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Sends a JSON-RPC notification to a specific client session through its SSE connection.
- notifyClient(String, String, Object) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
- notifyClients(String, Object) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.Broadcasts a JSON-RPC message to all connected clients through their SSE connections.
- notifyClients(String, Object) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
O
- openConnectionOnStartup(boolean) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Configure whether the client should open an SSE connection upon startup.
- org.springframework.ai.mcp.client.webflux.transport - package org.springframework.ai.mcp.client.webflux.transport
- org.springframework.ai.mcp.server.webflux.transport - package org.springframework.ai.mcp.server.webflux.transport
P
- protocolVersions() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- protocolVersions() - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.
- protocolVersions() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- protocolVersions() - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
R
- resumableStreams(boolean) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Configure whether to use the stream resumability feature by keeping track of SSE event ids.
S
- securityValidator(ServerTransportSecurityValidator) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the security validator for validating HTTP requests.
- securityValidator(ServerTransportSecurityValidator) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport.Builder
-
Sets the security validator for validating HTTP requests.
- securityValidator(ServerTransportSecurityValidator) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the security validator for validating HTTP requests.
- sendMessage(McpSchema.JSONRPCMessage) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- sendMessage(McpSchema.JSONRPCMessage) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Sends a JSON-RPC message to the server using the endpoint provided during connection.
- SESSION_ID - Static variable in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- setExceptionHandler(Consumer<Throwable>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- setMcpHandler(McpStatelessServerHandler) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStatelessServerTransport
- setSessionFactory(McpServerSession.Factory) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- setSessionFactory(McpStreamableServerSession.Factory) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxStreamableServerTransportProvider
- sseEndpoint(String) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport.Builder
-
Deprecated.Sets the SSE endpoint path.
- sseEndpoint(String) - Method in class org.springframework.ai.mcp.server.webflux.transport.WebFluxSseServerTransportProvider.Builder
-
Deprecated.Sets the SSE endpoint path.
- supportedProtocolVersions(List<String>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Sets the list of supported protocol versions used in version negotiation.
U
- unmarshalFrom(Object, TypeRef<T>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport
- unmarshalFrom(Object, TypeRef<T>) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Unmarshalls data from a generic Object into the specified type using the configured ObjectMapper.
W
- webClientBuilder(WebClient.Builder) - Method in class org.springframework.ai.mcp.client.webflux.transport.WebClientStreamableHttpTransport.Builder
-
Configure the
WebClient.Builderto construct theWebClient. - WebClientStreamableHttpTransport - Class in org.springframework.ai.mcp.client.webflux.transport
-
An implementation of the Streamable HTTP protocol as defined by the
2025-03-26version of the MCP specification. - WebClientStreamableHttpTransport.Builder - Class in org.springframework.ai.mcp.client.webflux.transport
-
Builder for
WebClientStreamableHttpTransport. - WebFluxSseClientTransport - Class in org.springframework.ai.mcp.client.webflux.transport
-
Deprecated, for removal: This API element is subject to removal in a future version.The SSE transport has been deprecated in the 2025-03-26 version of the spec, and should not be used anymore. We keep it for backwards compatibility.
- WebFluxSseClientTransport(WebClient.Builder, McpJsonMapper) - Constructor for class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
- WebFluxSseClientTransport(WebClient.Builder, McpJsonMapper, String) - Constructor for class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
- WebFluxSseClientTransport(WebClient.Builder, McpJsonMapper, String, SseMessageEndpointValidator) - Constructor for class org.springframework.ai.mcp.client.webflux.transport.WebFluxSseClientTransport
-
Deprecated.Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
- WebFluxSseClientTransport.Builder - Class in org.springframework.ai.mcp.client.webflux.transport
-
Deprecated.Builder for
WebFluxSseClientTransport. - WebFluxSseServerTransportProvider - Class in org.springframework.ai.mcp.server.webflux.transport
-
Deprecated, for removal: This API element is subject to removal in a future version.The SSE transport has been deprecated in the 2025-03-26 version of the spec, and should not be used anymore. We keep it for backwards compatibility.
- WebFluxSseServerTransportProvider.Builder - Class in org.springframework.ai.mcp.server.webflux.transport
-
Deprecated.Builder for creating instances of
WebFluxSseServerTransportProvider. - WebFluxStatelessServerTransport - Class in org.springframework.ai.mcp.server.webflux.transport
-
Implementation of a WebFlux based
McpStatelessServerTransport. - WebFluxStatelessServerTransport.Builder - Class in org.springframework.ai.mcp.server.webflux.transport
-
Builder for creating instances of
WebFluxStatelessServerTransport. - WebFluxStreamableServerTransportProvider - Class in org.springframework.ai.mcp.server.webflux.transport
-
Implementation of a WebFlux based
McpStreamableServerTransportProvider. - WebFluxStreamableServerTransportProvider.Builder - Class in org.springframework.ai.mcp.server.webflux.transport
-
Builder for creating instances of
WebFluxStreamableServerTransportProvider.
All Classes and Interfaces|All Packages|Constant Field Values