Package org.springframework.ai.mcp.annotation.context
package org.springframework.ai.mcp.annotation.context
Request context types, specifications (logging, progress, sampling, elicitation), and
default implementations for MCP request handling.
-
ClassDescriptionAsync (Reactor) implementation of McpAsyncRequestContext that returns Mono of value types.Default
McpModernSyncRequestContextbuilt from the SDK request context and the MRTR fields of the request.Builds aDefaultMcpModernSyncRequestContext.DefaultMetaProviderimplementation that disables the "_meta" field in tool, prompt, resource declarations.Async (Reactor) version of McpSyncRequestContext that returns Mono of value types.The request context injected into annotated methods served by a 2026-07-28 ("modern") MCP server.Common interface for classes that provide metadata for the "_meta" field.A record representing the result of a structured elicit action.