All Classes and Interfaces
Class
Description
Annotations for content and resources to provide additional information
Builder for resource annotations
Audio data content
Builder for creating audio contents
The content of a resource which contains binary data.
Builder for creating binary resource contents.
Interface for determining if an MCP client requested cancellation of an in-progress request.
Exception indicating that an MCP request cannot be completed because it was cancelled by the client.
Result of a cancellation check.
Customizes the name of a completed argument in a completion method.
Marks a method as providing completion suggestions for a prompt argument.
Marks a method as providing completion suggestions for a resource template URI expression.
Provides access to values for other arguments that the user has already completed
The result of a completion request, listing the possible completion values for a variable.
Builder for creation completion responses.
Data included in a resource, prompt response, or tool response.
Encodes an object into MCP content.
Embedded resource content.
Builder for an embedded resource
The types of features that an MCP server implemented with this API can provide.
Represents an icon that can be associated with tools, resources, or prompts.
Builder for creating icons.
The theme for an icon
Provides icons for a prompt, resource, or tool.
Indicates an
IconProvider which can provide icons for the annotated Tool, Resource, Resource
Template or Prompt.Image data content
Builder for creating image contents
Provides information about a client or server MCP implementation
Base exception for MCP-related errors.
Provides information about the current request, including the request ID and the metadata fields.
Binds features (tools, prompts, resources) to a named MCP server configuration.
Container annotation for
McpServerFactory interface for data objects and builders in the API.
Provides access to the
McpServerSPI implementation.Super-interface for API types which include data in a
_meta field.Super-interface for builders which can include data in a
_meta field.Adds custom metadata fields to the
_meta object in MCP definitions.Container annotation for multiple
MetaField annotations.The type of metadata value.
Provides access to progress reporting capabilities for MCP requests.
Represents a
notifications/progress message to send to the client.Builder for creating progress notifications.
The progress token sent by the client in a request.
The type of progress token.
Tracks progress updates and sends notifications to the client.
Builder for creating progress trackers.
Marks a method as providing an MCP prompt template.
Configures a parameter of a
Prompt method.A single message within a prompt.
Represents the result of a
prompts/get call.Builder for creating a prompt response
Marks a method as providing an MCP resource.
Nested annotation for resource metadata annotations.
Builder for creating resource contents.
Content which links to a resource.
A builder for creating resource link contents
The result of a
resources/read request.Builder for creating resource read responses.
Marks a method as providing dynamic MCP resources via URI templates.
Configures a parameter of a
ResourceTemplate method.Indicates the sender or receiver of a message for prompting and sampling, or the audience for a resource
Text content
Builder for creating text contents
The content of a resource which contains text data.
Builder for creating text resource contents.
Marks a method as an MCP tool that can be invoked by clients.
Nested annotation for tool behavioral hints.
Configures a parameter of a
Tool method.The response to a tool call
Builder for creating tool responses