Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- basePath(String) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Sets the project basePath as endpoint prefix where clients should send their JSON-RPC messages
- build() - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Construct a fresh instance of
WebClientStreamableHttpTransportusing the current builder configuration. - build() - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport.Builder
-
Builds a new
WebFluxSseClientTransportinstance. - build() - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Builds a new instance of
WebFluxSseServerTransportProviderwith the configured settings. - build() - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport.Builder
-
Builds a new instance of
WebFluxStatelessServerTransportwith the configured settings. - build() - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider.Builder
-
Builds a new instance of
WebFluxStreamableServerTransportProviderwith the configured settings. - builder() - Static method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
- builder() - Static method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport
-
Create a builder for the server.
- builder() - Static method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
- builder(WebClient.Builder) - Static method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
-
Create a stateful builder for creating
WebClientStreamableHttpTransportinstances. - builder(WebClient.Builder) - Static method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Creates a new builder for
WebFluxSseClientTransport. - Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
- Builder(WebClient.Builder) - Constructor for class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport.Builder
-
Creates a new builder with the specified WebClient.Builder.
C
- closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Implements graceful shutdown of the transport.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Initiates a graceful shutdown of all the sessions.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Establishes a connection to the MCP server using Server-Sent Events (SSE).
- contextExtractor(McpTransportContextExtractor<ServerRequest>) - Method in class io.modelcontextprotocol.server.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 io.modelcontextprotocol.server.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 io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
- DEFAULT_SSE_ENDPOINT - Static variable in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Default SSE endpoint path as specified by the MCP transport specification.
- disallowDelete(boolean) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets whether the session removal capability is disabled.
E
- endpoint(String) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Configure the endpoint to make HTTP requests against.
- ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Event type for sending the message endpoint URI to clients.
- eventStream() - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Initializes and starts the inbound SSE event processing.
G
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Returns the WebFlux router function that defines the transport's HTTP endpoints.
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport
-
Returns the WebFlux router function that defines the transport's HTTP endpoints.
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
-
Returns the WebFlux router function that defines the transport's HTTP endpoints.
I
- io.modelcontextprotocol.client.transport - package io.modelcontextprotocol.client.transport
- io.modelcontextprotocol.server.transport - package io.modelcontextprotocol.server.transport
K
- keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Sets the interval for sending keep-alive pings to clients.
- keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the keep-alive interval for the server transport.
M
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpointSink - Variable in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Sink for managing the message endpoint URI provided by the server.
N
- notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Broadcasts a JSON-RPC message to all connected clients through their SSE connections.
- notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
O
- objectMapper - Variable in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
ObjectMapper for serializing outbound messages and deserializing inbound messages.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Configure the
ObjectMapperto use. - objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport.Builder
-
Sets the object mapper for JSON serialization/deserialization.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport.Builder
-
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider.Builder
-
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
- openConnectionOnStartup(boolean) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Configure whether the client should open an SSE connection upon startup.
P
- protocolVersion() - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- protocolVersion() - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
- protocolVersion() - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
- protocolVersion() - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
R
- resumableStreams(boolean) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Configure whether to use the stream resumability feature by keeping track of SSE event ids.
S
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Sends a JSON-RPC message to the server using the endpoint provided during connection.
- setExceptionHandler(Consumer<Throwable>) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- setMcpHandler(McpStatelessServerHandler) - Method in class io.modelcontextprotocol.server.transport.WebFluxStatelessServerTransport
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
- setSessionFactory(McpStreamableServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider
- sseEndpoint(String) - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport.Builder
-
Sets the SSE endpoint path.
- sseEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider.Builder
-
Sets the SSE endpoint path.
U
- unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport
- unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Unmarshalls data from a generic Object into the specified type using the configured ObjectMapper.
W
- webClientBuilder(WebClient.Builder) - Method in class io.modelcontextprotocol.client.transport.WebClientStreamableHttpTransport.Builder
-
Configure the
WebClient.Builderto construct theWebClient. - WebClientStreamableHttpTransport - Class in io.modelcontextprotocol.client.transport
-
An implementation of the Streamable HTTP protocol as defined by the
2025-03-26version of the MCP specification. - WebClientStreamableHttpTransport.Builder - Class in io.modelcontextprotocol.client.transport
-
Builder for
WebClientStreamableHttpTransport. - WebFluxSseClientTransport - Class in io.modelcontextprotocol.client.transport
-
Server-Sent Events (SSE) implementation of the
McpTransportthat follows the MCP HTTP with SSE transport specification. - WebFluxSseClientTransport(WebClient.Builder) - Constructor for class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Constructs a new SseClientTransport with the specified WebClient builder.
- WebFluxSseClientTransport(WebClient.Builder, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
- WebFluxSseClientTransport(WebClient.Builder, ObjectMapper, String) - Constructor for class io.modelcontextprotocol.client.transport.WebFluxSseClientTransport
-
Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
- WebFluxSseClientTransport.Builder - Class in io.modelcontextprotocol.client.transport
-
Builder for
WebFluxSseClientTransport. - WebFluxSseServerTransportProvider - Class in io.modelcontextprotocol.server.transport
-
Server-side implementation of the MCP (Model Context Protocol) HTTP transport using Server-Sent Events (SSE).
- WebFluxSseServerTransportProvider(ObjectMapper, String) - Constructor for class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Deprecated.
- WebFluxSseServerTransportProvider(ObjectMapper, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Deprecated.Use the builder
WebFluxSseServerTransportProvider.builder()instead for better configuration options. - WebFluxSseServerTransportProvider(ObjectMapper, String, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Deprecated.Use the builder
WebFluxSseServerTransportProvider.builder()instead for better configuration options. - WebFluxSseServerTransportProvider(ObjectMapper, String, String, String, Duration) - Constructor for class io.modelcontextprotocol.server.transport.WebFluxSseServerTransportProvider
-
Deprecated.Use the builder
WebFluxSseServerTransportProvider.builder()instead for better configuration options. - WebFluxSseServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of
WebFluxSseServerTransportProvider. - WebFluxStatelessServerTransport - Class in io.modelcontextprotocol.server.transport
-
Implementation of a WebFlux based
McpStatelessServerTransport. - WebFluxStatelessServerTransport.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of
WebFluxStatelessServerTransport. - WebFluxStreamableServerTransportProvider - Class in io.modelcontextprotocol.server.transport
-
Implementation of a WebFlux based
McpStreamableServerTransportProvider. - WebFluxStreamableServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of
WebFluxStreamableServerTransportProvider.
All Classes and Interfaces|All Packages|Constant Field Values
WebFluxSseServerTransportProvider.builder()instead for better configuration options.