All Classes and Interfaces

Class
Description
An audio content provided to or from an LLM.
Binary data of a resource.
 
 
 
 
 
 
 
 
 
Can be used to determine if an MCP client requested a cancellation of an in-progress request.
Exception indicating that the result of an MCP request cannot be returned because the request was cancelled by the client.
 
 
A capability supported by the client.
This annotation can be used to customize the name of a completed argument, i.e. the name of a parameter of a completion method.
A CompletePrompt or CompleteResourceTemplate method may accept this class as a parameter.
Annotates a business method of a CDI bean used to complete a prompt argument.
Annotates a business method of a CDI bean used to complete an expression of a URI template of a resource template.
This manager can be used to obtain metadata and register a new completion programmatically.
 
Completion info.
 
 
Response to a completion/complete request from the client.
 
A content provided to or from an LLM.
 
 
Encodes an object as Content.
 
 
 
Converts default values from String to an argument object of a specific type.
If an MCP client supports the "elicitation" capability, then the server can request additional information.
Request from the server to obtain additional information from the client.
 
 
 
 
 
 
 
A response to an ElicitationRequest.
 
 
A resource embedded into a prompt or tool call result.
 
Marker interface for all mappers based on Encoder.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An image content provided to or from an LLM.
The name and version of an MCP implementation.
Performs an initial check when an MCP client connection is initialized, i.e. before the server capabilities are sent back to the client.
 
Represents the initial request sent from a client.
 
 
 
 
 
The connection from an MCP client.
 
 
Indicates a protocol error in a server feature method.
Send log message notifications to a connected MCP client.
 
 
 
 
 
Binds features, such as tools, prompts, and resources, to a specific server configuration.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Additional metadata sent from the client to the server.
 
A key for additional metadata defined in the _meta part of the message.
 
The preferences for model selection.
Annotate a business method of a CDI bean that will be called when an MCP client sends a notification message, such as notifications/initialized.
 
This manager can be used to register a new Notification callback programmatically.
 
Notification callback info.
 
 
If an MCP client specifies the progress token in a request, then the server can send progress notification messages back to the client.
Represents a notifications/progress message.
Convenient progress notification builder.
The progress token sent by the client.
 
Tracks progress updates and sends notifications.
Convenient progress tracker builder.
Annotates a business method of a CDI bean as an exposed prompt template.
Annotates a parameter of a Prompt method.
This manager can be used to obtain metadata and register a new prompt completion programmatically.
 
 
Any CDI bean that implements this interface is used to determine the set of visible/accesible prompts for a specific MCP client.
This manager can be used to obtain metadata and register a new prompt programmatically.
 
 
Tool info.
 
A message returned as a part of a prompt.
Response to a prompts/get request from the client.
Encodes an object as PromptResponse.
A raw message that represents an unprocessed MCP request or notification from an MCP client.
"Requests MUST include a string or integer ID."
Resource and resource template methods may accept the requested URI.
Annotates a business method of a CDI bean as an exposed resource.
 
Represents text/binary data of a resource.
 
Encodes an object as ResourceContents.
 
 
Any CDI bean that implements this interface is used to determine the set of visible/accesible resources for a specific MCP client.
A resource link.
This manager can be used to obtain metadata and register a new resource programmatically.
 
Resource info.
 
Response to a resources/read request from the client.
Annotates a business method of a CDI bean as an exposed resource template.
Annotates a parameter of a ResourceTemplate method.
This manager can be used to obtain metadata and register a new prompt completion programmatically.
 
Any CDI bean that implements this interface is used to determine the set of visible/accesible resource templates for a specific MCP client.
This manager can be used to obtain metadata and register a new resource template programmatically.
 
Resource info.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The sender or recipient of messages in a conversation.
 
If an MCP client supports the roots capability, then the server can obtain the list of root objects.
If an MCP client supports the "sampling" capability, then the server can request LLM sampling from language models.
 
A request from the server to sample an LLM.
 
A request to include context from one or more MCP servers.
 
A response to a SamplingRequest.
An interface that allows customization of the SchemaGeneratorConfigBuilder before the SchemaGenerator is built.
 
 
 
 
 
A text content provided to or from an LLM.
Text data of a resource.
Annotates a business method of a CDI bean as an exposed tool.
 
 
Annotates a parameter of a Tool method.
Indicates a business logic error in a Tool method.
 
Any CDI bean that implements this interface is used to determine the set of visible/accesible tools for a specific MCP client.
This manager can be used to obtain metadata and register a new tool programmatically.
 
 
 
Tool info.
 
Response to a tools/call request from the client.
Encodes an object as ToolResponse.
 
 
Wraps a matching exception thrown from a "feature" method with an exception that represents a business logic error and is automatically converted to a failed response.