Uses of Package
org.springframework.ai.mcp.annotation

Package
Description
Annotations for declaring MCP capabilities (tools, prompts, resources, completion, logging, progress, sampling, elicitation) and list-changed handlers.
Adapters that bridge MCP annotation-based providers to the MCP SDK transport layer.
Common utilities for working with MCP annotation metadata.
Method callbacks and specifications for MCP prompt list changed notifications.
Method callbacks and specifications for MCP resource list changed notifications.
Method callbacks and specifications for MCP tool list changed notifications.
Method callbacks for MCP completion (chat) requests, sync and async.
Method callbacks and specifications for MCP elicitation (user input) requests.
Method callbacks and specifications for MCP logging.
Method callbacks and specifications for MCP progress reporting.
Method callbacks for MCP sampling (create message) requests.
MCP providers that expose resource read handlers to the transport layer.
MCP providers that expose tool (call_tool) handlers to the transport layer.