Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- baseUrl(String) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Sets the base URL for the server transport.
- build() - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Builds a new instance of WebMvcSseServerTransportProvider with the configured settings.
- build() - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport.Builder
-
Builds a new instance of
WebMvcStatelessServerTransportwith the configured settings. - build() - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Builds a new instance of
WebMvcStreamableServerTransportProviderwith the configured settings. - builder() - Static method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Creates a new Builder instance for configuring and creating instances of WebMvcSseServerTransportProvider.
- builder() - Static method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport
-
Create a builder for the server.
- builder() - Static method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
- Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
- Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
C
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Initiates a graceful shutdown of the transport.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
-
Initiates a graceful shutdown of the transport.
- contextExtractor(McpTransportContextExtractor<ServerRequest>) - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport.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.WebMvcStreamableServerTransportProvider.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.WebMvcStreamableServerTransportProvider
-
Default base URL for the message endpoint.
- DEFAULT_SSE_ENDPOINT - Static variable in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Default SSE endpoint path as specified by the MCP transport specification.
- disallowDelete(boolean) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Sets whether to disallow DELETE requests on the endpoint.
E
- ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Event type for sending the message endpoint URI to clients.
- ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
-
Event type for sending the message endpoint URI to clients.
G
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Returns the RouterFunction that defines the HTTP endpoints for this transport.
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport
-
Returns the WebMVC router function that defines the transport's HTTP endpoints.
- getRouterFunction() - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
-
Returns the RouterFunction that defines the HTTP endpoints for this transport.
I
- io.modelcontextprotocol.server.transport - package io.modelcontextprotocol.server.transport
K
- keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Sets the interval for keep-alive pings.
- keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Sets the keep-alive interval for the transport.
M
- mcpEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Sets the endpoint path where clients will send their messages.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
N
- notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Broadcasts a notification to all connected clients through their SSE connections.
- notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
-
Broadcasts a notification to all connected clients through their SSE connections.
O
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Sets the JSON object mapper to use for message serialization/deserialization.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport.Builder
-
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
- objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider.Builder
-
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
P
- protocolVersion() - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
- protocolVersion() - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
S
- setMcpHandler(McpStatelessServerHandler) - Method in class io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
- setSessionFactory(McpStreamableServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider
- sseEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider.Builder
-
Sets the endpoint path where clients will establish SSE connections.
W
- WebMvcSseServerTransportProvider - Class in io.modelcontextprotocol.server.transport
-
Server-side implementation of the Model Context Protocol (MCP) transport layer using HTTP with Server-Sent Events (SSE) through Spring WebMVC.
- WebMvcSseServerTransportProvider(ObjectMapper, String) - Constructor for class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Deprecated.
- WebMvcSseServerTransportProvider(ObjectMapper, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Deprecated.Use the builder
WebMvcSseServerTransportProvider.builder()instead for better configuration options. - WebMvcSseServerTransportProvider(ObjectMapper, String, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Deprecated.Use the builder
WebMvcSseServerTransportProvider.builder()instead for better configuration options. - WebMvcSseServerTransportProvider(ObjectMapper, String, String, String, Duration) - Constructor for class io.modelcontextprotocol.server.transport.WebMvcSseServerTransportProvider
-
Deprecated.Use the builder
WebMvcSseServerTransportProvider.builder()instead for better configuration options. - WebMvcSseServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of WebMvcSseServerTransportProvider.
- WebMvcStatelessServerTransport - Class in io.modelcontextprotocol.server.transport
-
Implementation of a WebMVC based
McpStatelessServerTransport. - WebMvcStatelessServerTransport.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of
WebMvcStatelessServerTransport. - WebMvcStreamableServerTransportProvider - Class in io.modelcontextprotocol.server.transport
-
Server-side implementation of the Model Context Protocol (MCP) streamable transport layer using HTTP with Server-Sent Events (SSE) through Spring WebMVC.
- WebMvcStreamableServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
-
Builder for creating instances of
WebMvcStreamableServerTransportProvider.
All Classes and Interfaces|All Packages|Constant Field Values
WebMvcSseServerTransportProvider.builder()instead for better configuration options.