Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractParameterConverter<A extends Annotation> - Class in com.github.thought2code.mcp.annotated.server.converter
This abstract class is used to convert the value of a parameter annotated with AbstractParameterConverter to the required type, and provides a default implementation for the AbstractParameterConverter.convertAll(Parameter[], Map) method.
AbstractParameterConverter() - Constructor for class com.github.thought2code.mcp.annotated.server.converter.AbstractParameterConverter
 
all() - Static method in class com.github.thought2code.mcp.annotated.server.component.McpServerCompletion
Retrieves all completion specifications from methods annotated with completion annotations.
asTextContent() - Method in interface com.github.thought2code.mcp.annotated.server.McpStructuredContent
Returns the text representation of this structured content.
ASYNC - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.ServerType
The MCP server runs in ASYNC mode.

B

basePackage() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpServerApplication
The base package for component scanning.
basePackageClass() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpServerApplication
The base package class for component scanning.
baseUrl() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns the value of the baseUrl record component.
baseUrl(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
Sets the base URL.
bind(int) - Method in class com.github.thought2code.mcp.annotated.server.JettyHttpServer
Bind Jetty HTTP server to a specific port.
BOOLEAN - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java boolean is mapped to JSON schema data type boolean.
BOOLEAN_CLASS - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Boolean is mapped to JSON schema data type boolean.
build() - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Builds an instance of McpServerCapabilities with the configured values.
build() - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
Builds an instance of McpServerChangeNotification with the configured values.
build() - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Builds a new instance of McpServerConfiguration.
build() - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
Builds an instance of McpServerSSE with the configured values.
build() - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
Builds an instance of McpServerStreamable with the configured values.
build() - Method in class com.github.thought2code.mcp.annotated.reflect.Invocation.Builder
Builds a new instance of InvocationResult with the configured values.
build() - Method in class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion.Builder
Builds a new McpCompleteCompletion instance with the configured values.
builder() - Static method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Creates a new instance of Builder to build McpServerCapabilities.
builder() - Static method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Creates a new instance of Builder to build McpServerChangeNotification.
builder() - Static method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Creates a new instance of Builder to build McpServerConfiguration.
builder() - Static method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Creates a new instance of Builder to build McpServerSSE.
builder() - Static method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Creates a new instance of Builder to build McpServerStreamable.
builder() - Static method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Returns a new instance of Builder for creating a new InvocationResult.
builder() - Static method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Creates a new McpCompleteCompletion.Builder instance for constructing McpCompleteCompletion objects.
Builder() - Constructor for class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.reflect.Invocation.Builder
 
Builder() - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion.Builder
 

C

capabilities() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the capabilities record component.
capabilities(McpServerCapabilities) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server capabilities.
changeNotification() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the changeNotification record component.
changeNotification(McpServerChangeNotification) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the change notification configuration.
check(McpServerConfiguration) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationChecker
Performs comprehensive validation of the MCP server configuration.
checkBlank(String, String) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationChecker
Validates that a single string configuration value is not blank.
checkBlank(String, String, String) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationChecker
Validates that at least one of two string configuration values is not blank.
checkNull(String, T) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationChecker
Validates that a single configuration value is not null.
checkNull(String, T, T) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationChecker
Validates that at least one of two configuration values is not null.
com.github.thought2code.mcp.annotated - package com.github.thought2code.mcp.annotated
 
com.github.thought2code.mcp.annotated.annotation - package com.github.thought2code.mcp.annotated.annotation
 
com.github.thought2code.mcp.annotated.configuration - package com.github.thought2code.mcp.annotated.configuration
 
com.github.thought2code.mcp.annotated.enums - package com.github.thought2code.mcp.annotated.enums
 
com.github.thought2code.mcp.annotated.exception - package com.github.thought2code.mcp.annotated.exception
 
com.github.thought2code.mcp.annotated.reflect - package com.github.thought2code.mcp.annotated.reflect
 
com.github.thought2code.mcp.annotated.server - package com.github.thought2code.mcp.annotated.server
 
com.github.thought2code.mcp.annotated.server.component - package com.github.thought2code.mcp.annotated.server.component
 
com.github.thought2code.mcp.annotated.server.converter - package com.github.thought2code.mcp.annotated.server.converter
 
com.github.thought2code.mcp.annotated.util - package com.github.thought2code.mcp.annotated.util
 
completion() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns the value of the completion record component.
completion(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Sets the completion capability.
configFileName() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Returns the value of the configFileName record component.
configuration - Variable in class com.github.thought2code.mcp.annotated.server.McpServerBase
The server configuration used by this MCP server.
convert(Object, Class<?>) - Static method in class com.github.thought2code.mcp.annotated.util.TypeConverter
Converts the given value to the specified target type.
convert(Parameter, A, Map<String, Object>) - Method in interface com.github.thought2code.mcp.annotated.server.converter.ParameterConverter
Converts the value of the specified parameter annotated with the specified annotation to the required type.
convert(Parameter, McpPromptParam, Map<String, Object>) - Method in class com.github.thought2code.mcp.annotated.server.converter.McpPromptParameterConverter
Converts the value of the parameter annotated with McpPromptParam to the required type.
convert(Parameter, McpToolParam, Map<String, Object>) - Method in class com.github.thought2code.mcp.annotated.server.converter.McpToolParameterConverter
Converts the value of the parameter annotated with McpToolParam to the required type.
convertAll(Parameter[], Map<String, Object>) - Method in class com.github.thought2code.mcp.annotated.server.converter.AbstractParameterConverter
Converts the values of all parameters annotated with the specified annotation to the required types.
createInstance(Class<?>) - Static method in class com.github.thought2code.mcp.annotated.reflect.MethodInvoker
Creates a new instance of the specified class using reflection.
createSyncServer() - Method in interface com.github.thought2code.mcp.annotated.server.McpServer
Creates and returns a fully configured MCP synchronous server instance.
createSyncServer() - Method in class com.github.thought2code.mcp.annotated.server.McpServerBase
Creates and returns a fully configured MCP synchronous server instance.
createSyncSpecification() - Method in interface com.github.thought2code.mcp.annotated.server.McpServer
Creates and returns the synchronization specification for this MCP server.
createSyncSpecification() - Method in class com.github.thought2code.mcp.annotated.server.McpSseServer
Creates and returns a synchronization specification for SSE mode.
createSyncSpecification() - Method in class com.github.thought2code.mcp.annotated.server.McpStdioServer
Creates and returns a synchronization specification for STDIO mode.
createSyncSpecification() - Method in class com.github.thought2code.mcp.annotated.server.McpStreamableServer
Creates and returns a synchronization specification for Streamable HTTP mode.

D

defaultIfBlank(String, String) - Static method in class com.github.thought2code.mcp.annotated.util.StringHelper
Returns the default value if the given string is blank, otherwise returns the original string.
defineCapabilities() - Method in interface com.github.thought2code.mcp.annotated.server.McpServer
Defines and returns the server capabilities that this MCP server supports.
defineCapabilities() - Method in class com.github.thought2code.mcp.annotated.server.McpServerBase
Defines and returns the server capabilities based on the configuration.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpJsonSchemaProperty
The description of the JSON schema property.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPrompt
The description of the prompt.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptParam
The description of the prompt parameter.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The description of the resource.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpTool
The description of the tool.
description() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpToolParam
The description of the tool parameter.
disallowDelete() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns the value of the disallowDelete record component.
disallowDelete(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
Sets the disallow delete flag.
DOT - Static variable in class com.github.thought2code.mcp.annotated.util.StringHelper
The dot character constant.
DOUBLE - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java double is mapped to JSON schema data type number.
DOUBLE_CLASS - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Double is mapped to JSON schema data type number.

E

empty() - Static method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Creates an empty McpCompleteCompletion instance.
EMPTY - Static variable in class com.github.thought2code.mcp.annotated.util.StringHelper
The empty string constant.
enabled() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the enabled record component.
enabled(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the enabled status.
endpoint() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns the value of the endpoint record component.
endpoint(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
Sets the endpoint.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Indicates whether some other object is "equal to" this one.

F

findFirstNonLoopbackAddress() - Static method in class com.github.thought2code.mcp.annotated.util.InetHelper
Finds and returns the first non-loopback IPv4 address available on the system.
FLOAT - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java float is mapped to JSON schema data type number.
FLOAT_CLASS - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Float is mapped to JSON schema data type number.
from(Method) - Method in interface com.github.thought2code.mcp.annotated.server.component.McpServerComponent
Creates a component instance of type T from the specified method.
from(Method) - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerPrompt
Creates a synchronous prompt specification from the specified method.
from(Method) - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerResource
Creates a synchronous resource specification from the specified method.
from(Method) - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerTool
Creates a synchronous tool specification from the specified method.
fromJson(String, Class<T>) - Static method in class com.github.thought2code.mcp.annotated.util.JacksonHelper
Deserialize a JSON string to an object of the specified type.
fromYaml(File, Class<T>) - Static method in class com.github.thought2code.mcp.annotated.util.JacksonHelper
Deserialize a YAML file to an object of the specified type.

G

get() - Method in class com.github.thought2code.mcp.annotated.util.Immutable
Returns the wrapped value.
getAnnotationType() - Method in class com.github.thought2code.mcp.annotated.server.converter.McpPromptParameterConverter
Returns the type of the annotation this converter handles.
getAnnotationType() - Method in class com.github.thought2code.mcp.annotated.server.converter.McpToolParameterConverter
Returns the type of the annotation this converter handles.
getAnnotationType() - Method in interface com.github.thought2code.mcp.annotated.server.converter.ParameterConverter
Returns the type of the annotation that this converter supports.
getDeclaringClass() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the class that declares the cached method.
getFieldsAnnotatedWith(Class<? extends Annotation>) - Static method in class com.github.thought2code.mcp.annotated.reflect.ReflectionsProvider
Retrieves all fields annotated with the specified annotation.
getJsonSchemaType() - Method in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Returns the JSON schema data type.
getJsonSchemaType(Class<?>) - Static method in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Returns the JSON schema data type for the specified Java class.
getMcpPromptAnnotation() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the McpPrompt annotation on the cached method.
getMcpPromptCompletionAnnotation() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the McpPromptCompletion annotation on the cached method.
getMcpResourceAnnotation() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the McpResource annotation on the cached method.
getMcpResourceCompletionAnnotation() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the McpResourceCompletion annotation on the cached method.
getMcpToolAnnotation() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the McpTool annotation on the cached method.
getMethod() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the method cached by this MethodCache instance.
getMethodName() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the name of the cached method.
getMethodsAnnotatedWith(Class<? extends Annotation>) - Static method in class com.github.thought2code.mcp.annotated.reflect.ReflectionsProvider
Retrieves all methods annotated with the specified annotation.
getMethodSignature() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the generic signature of the cached method.
getParameters() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns a clone of the parameters array of the cached method.
getResourceBundle() - Static method in class com.github.thought2code.mcp.annotated.server.component.ResourceBundleProvider
Returns the loaded resource bundle instance.
getReturnType() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns the return type of the cached method.

H

hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns a hash code value for this object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Returns a hash code value for this object.
hashCode() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns a hash code value for the object.
hashCode() - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Returns a hash code value for this object.
hasMore() - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Returns the value of the hasMore record component.
hasMore(boolean) - Method in class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion.Builder
Sets whether more completions are available.

I

Immutable<T> - Class in com.github.thought2code.mcp.annotated.util
A wrapper class that provides immutable access to a value through a supplier.
InetHelper - Class in com.github.thought2code.mcp.annotated.util
Utility class for network-related operations.
initializeReflectionsInstance(Class<?>) - Static method in class com.github.thought2code.mcp.annotated.reflect.ReflectionsProvider
Initializes the Reflections instance with the specified main class.
instructions() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the instructions record component.
instructions(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server instructions.
INT - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java int is mapped to JSON schema data type integer.
INTEGER - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Integer is mapped to JSON schema data type integer.
Invocation - Record Class in com.github.thought2code.mcp.annotated.reflect
This record represents the result of reflection invocation of Java method.
Invocation(Object, boolean) - Constructor for record class com.github.thought2code.mcp.annotated.reflect.Invocation
Creates an instance of a Invocation record class.
Invocation.Builder - Class in com.github.thought2code.mcp.annotated.reflect
This class implements the builder pattern for creating a new instance of InvocationResult.
invoke(Object, MethodCache) - Static method in class com.github.thought2code.mcp.annotated.reflect.MethodInvoker
Invokes the method represented by the specified method cache on the given instance with no parameters.
invoke(Object, MethodCache, McpSchema.CompleteRequest.CompleteArgument) - Static method in class com.github.thought2code.mcp.annotated.reflect.MethodInvoker
Invokes the method represented by the specified method cache on the given instance with the provided completion argument.
invoke(Object, MethodCache, List<Object>) - Static method in class com.github.thought2code.mcp.annotated.reflect.MethodInvoker
Invokes the method represented by the specified method cache on the given instance with the provided parameters.
isBlank(String) - Static method in class com.github.thought2code.mcp.annotated.util.StringHelper
Checks if the given string is blank.
isError() - Method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Returns the value of the isError record component.
isError(boolean) - Method in class com.github.thought2code.mcp.annotated.reflect.Invocation.Builder
Sets whether an exception occurred during the invocation.

J

JacksonHelper - Class in com.github.thought2code.mcp.annotated.util
Helper class for Jackson JSON and YAML serialization and deserialization.
JavaTypeToJsonSchemaMapper - Enum Class in com.github.thought2code.mcp.annotated.enums
This enum is used to map Java types to JSON schema data types.
JettyHttpServer - Class in com.github.thought2code.mcp.annotated.server
A simple Jetty HTTP server implementation.
JettyHttpServer() - Constructor for class com.github.thought2code.mcp.annotated.server.JettyHttpServer
 

K

keepAliveInterval() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns the value of the keepAliveInterval record component.
keepAliveInterval(Long) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
Sets the keep-alive interval.

L

loadConfig() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Loads the MCP server configuration from the specified YAML file.
loadResourceBundle(Class<?>) - Static method in class com.github.thought2code.mcp.annotated.server.component.ResourceBundleProvider
Loads a resource bundle based on the McpI18nEnabled annotation on the main class.
localizeAttribute(String, String) - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerComponentBase
Localizes an attribute with the specified i18n key using the resource bundle, or returns the default value if the key is not found in the bundle.
log - Static variable in class com.github.thought2code.mcp.annotated.server.component.ResourceBundleProvider
 
LONG - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java long is mapped to JSON schema data type number.
LONG_CLASS - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Long is mapped to JSON schema data type number.

M

McpCompleteCompletion - Record Class in com.github.thought2code.mcp.annotated.server.component
Represents a completion result for MCP (Model Context Protocol) server operations.
McpCompleteCompletion(List<String>, Integer, boolean) - Constructor for record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Compact constructor that creates a defensive copy of the values list.
McpCompleteCompletion.Builder - Class in com.github.thought2code.mcp.annotated.server.component
Builder class for constructing McpCompleteCompletion instances.
McpConfigurationChecker - Class in com.github.thought2code.mcp.annotated.configuration
Utility class for validating MCP server configuration properties.
McpConfigurationLoader - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents a YAML configuration loader for MCP (Model Context Protocol) server configuration.
McpConfigurationLoader() - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Constructs a YAMLConfigurationLoader with the default configuration file name.
McpConfigurationLoader(String) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Creates an instance of a McpConfigurationLoader record class.
McpConfigurationMerger - Class in com.github.thought2code.mcp.annotated.configuration
Utility class for merging MCP server configurations.
mcpEndpoint() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns the value of the mcpEndpoint record component.
mcpEndpoint(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
Sets the MCP endpoint.
McpI18nEnabled - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a class as i18n enabled.
McpJsonSchemaDefinition - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to define the complex JSON schema type (such as custom Java data classes) for an MCP (Model Context Protocol) server.
McpJsonSchemaProperty - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to define the property of a complex JSON schema type (such as custom Java data classes) for an MCP (Model Context Protocol) server.
McpPrompt - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a method as an MCP (Model Context Protocol) prompt method.
McpPromptCompletion - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
Annotation for marking methods that provide completion functionality for MCP prompts.
McpPromptParam - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a method parameter as an MCP (Model Context Protocol) prompt parameter.
McpPromptParameterConverter - Class in com.github.thought2code.mcp.annotated.server.converter
This class is used to convert the value of a parameter annotated with McpPromptParam to the required type.
McpPromptParameterConverter() - Constructor for class com.github.thought2code.mcp.annotated.server.converter.McpPromptParameterConverter
 
McpResource - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a method as an MCP (Model Context Protocol) resource method.
McpResourceCompletion - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
Annotation for marking methods that provide completion functionality for MCP resources.
McpServer - Interface in com.github.thought2code.mcp.annotated.server
Interface representing a Model Context Protocol (MCP) server that provides the core functionality for MCP server implementations.
McpServerApplication - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a class as an MCP (Model Context Protocol) server application.
McpServerBase - Class in com.github.thought2code.mcp.annotated.server
Abstract base class that provides a common implementation for MCP (Model Context Protocol) servers.
McpServerBase(McpServerConfiguration) - Constructor for class com.github.thought2code.mcp.annotated.server.McpServerBase
Constructs a new McpServerBase with the specified configuration.
McpServerCapabilities - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents the capabilities of an MCP (Model Context Protocol) server.
McpServerCapabilities(Boolean, Boolean, Boolean, Boolean, Boolean) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Creates an instance of a McpServerCapabilities record class.
McpServerCapabilities.Builder - Class in com.github.thought2code.mcp.annotated.configuration
Builder class for McpServerCapabilities.
McpServerChangeNotification - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents a change notification for MCP (Model Context Protocol) server capabilities.
McpServerChangeNotification(Boolean, Boolean, Boolean) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Creates an instance of a McpServerChangeNotification record class.
McpServerChangeNotification.Builder - Class in com.github.thought2code.mcp.annotated.configuration
Builder class for McpServerChangeNotification.
McpServerCompletion - Class in com.github.thought2code.mcp.annotated.server.component
MCP server component for handling completion requests.
McpServerCompletion() - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpServerCompletion
 
McpServerComponent<T> - Interface in com.github.thought2code.mcp.annotated.server.component
Interface representing an MCP server component (resource/prompt/tool) that is responsible for creating instances of a specific type T for a given method.
McpServerComponentBase<T> - Class in com.github.thought2code.mcp.annotated.server.component
Abstract base class that provides common functionality for MCP server components (resource/prompt/tool).
McpServerComponentBase(McpSyncServer) - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpServerComponentBase
Constructs a new McpServerComponentBase with the specified MCP server.
McpServerComponentRegistrationException - Exception in com.github.thought2code.mcp.annotated.exception
Exception thrown when an error occurs during MCP server component registration.
McpServerComponentRegistrationException(String) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerComponentRegistrationException
Constructs a new McpServerComponentRegistrationException with the specified detail message.
McpServerComponentRegistrationException(String, Throwable) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerComponentRegistrationException
Constructs a new McpServerComponentRegistrationException with the specified detail message and cause.
McpServerConfiguration - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents the configuration of an MCP (Model Context Protocol) server.
McpServerConfiguration(String, Boolean, ServerMode, String, String, ServerType, String, Long, McpServerCapabilities, McpServerChangeNotification, McpServerSSE, McpServerStreamable) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Creates an instance of a McpServerConfiguration record class.
McpServerConfiguration.Builder - Class in com.github.thought2code.mcp.annotated.configuration
Builder class for McpServerConfiguration.
McpServerConfigurationException - Exception in com.github.thought2code.mcp.annotated.exception
This exception is thrown to indicate a configuration error in the MCP (Model Context Protocol) server.
McpServerConfigurationException(String) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerConfigurationException
Creates a new instance of McpServerConfigurationException with the specified detail message.
McpServerConfigurationException(String, Throwable) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerConfigurationException
Creates a new instance of McpServerConfigurationException with the specified detail message and cause.
McpServerException - Exception in com.github.thought2code.mcp.annotated.exception
This exception is thrown to indicate a general error in the MCP (Model Context Protocol) server.
McpServerException(String) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerException
Creates a new instance of McpServerException with the specified detail message.
McpServerException(String, Throwable) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerException
Creates a new instance of McpServerException with the specified detail message and cause.
McpServerJsonProcessingException - Exception in com.github.thought2code.mcp.annotated.exception
This exception is thrown to indicate a JSON processing error in the MCP (Model Context Protocol) server.
McpServerJsonProcessingException(String) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerJsonProcessingException
Creates a new instance of McpServerJsonProcessingException with the specified detail message.
McpServerJsonProcessingException(String, Throwable) - Constructor for exception com.github.thought2code.mcp.annotated.exception.McpServerJsonProcessingException
Creates a new instance of McpServerJsonProcessingException with the specified detail message and cause.
McpServerPrompt - Class in com.github.thought2code.mcp.annotated.server.component
MCP server component for handling prompt-related operations.
McpServerPrompt(McpSyncServer) - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpServerPrompt
Constructs a new McpServerPrompt with the specified MCP server.
McpServerResource - Class in com.github.thought2code.mcp.annotated.server.component
MCP server component for handling resource-related operations.
McpServerResource(McpSyncServer) - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpServerResource
Constructs a new McpServerResource with the specified MCP server.
McpServers - Class in com.github.thought2code.mcp.annotated
Singleton class that provides methods to start and manage MCP (Model Context Protocol) servers.
McpServerSSE - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents the Server-Sent Events (SSE) configuration for an MCP (Model Context Protocol) server.
McpServerSSE(String, String, String, Integer) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Creates an instance of a McpServerSSE record class.
McpServerSSE.Builder - Class in com.github.thought2code.mcp.annotated.configuration
Builder class for McpServerSSE.
McpServerStreamable - Record Class in com.github.thought2code.mcp.annotated.configuration
This record represents the streamable http server configuration for an MCP (Model Context Protocol) server.
McpServerStreamable(String, Boolean, Long, Integer) - Constructor for record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Creates an instance of a McpServerStreamable record class.
McpServerStreamable.Builder - Class in com.github.thought2code.mcp.annotated.configuration
Builder class for McpServerStreamable.
McpServerTool - Class in com.github.thought2code.mcp.annotated.server.component
MCP server component for handling tool-related operations.
McpServerTool(McpSyncServer) - Constructor for class com.github.thought2code.mcp.annotated.server.component.McpServerTool
Constructs a new McpServerTool with the specified MCP server.
McpSseServer - Class in com.github.thought2code.mcp.annotated.server
MCP server implementation for HTTP Server-Sent Events (SSE) mode.
McpSseServer(McpServerConfiguration) - Constructor for class com.github.thought2code.mcp.annotated.server.McpSseServer
Constructs a new McpSseServer with the specified configuration.
McpStdioServer - Class in com.github.thought2code.mcp.annotated.server
MCP server implementation for Standard Input/Output (STDIO) mode.
McpStdioServer(McpServerConfiguration) - Constructor for class com.github.thought2code.mcp.annotated.server.McpStdioServer
Constructs a new McpStdioServer with the specified configuration.
McpStreamableServer - Class in com.github.thought2code.mcp.annotated.server
An MCP server implementation that operates in Streamable HTTP mode.
McpStreamableServer(McpServerConfiguration) - Constructor for class com.github.thought2code.mcp.annotated.server.McpStreamableServer
Constructs a new McpStreamableServer with the specified configuration.
McpStructuredContent - Interface in com.github.thought2code.mcp.annotated.server
Marker interface for MCP tool method results that return structured content.
mcpSyncServer - Variable in class com.github.thought2code.mcp.annotated.server.component.McpServerComponentBase
The MCP synchronous server instance wrapped in an Immutable wrapper for avoiding EI_EXPOSE_REP2 issue.
McpTool - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a method as an MCP (Model Context Protocol) tool method.
McpToolParam - Annotation Interface in com.github.thought2code.mcp.annotated.annotation
This annotation is used to mark a method parameter as an MCP (Model Context Protocol) tool parameter.
McpToolParameterConverter - Class in com.github.thought2code.mcp.annotated.server.converter
This class is used to convert the value of a parameter annotated with McpToolParam to the required type.
McpToolParameterConverter() - Constructor for class com.github.thought2code.mcp.annotated.server.converter.McpToolParameterConverter
 
merge(McpServerConfiguration, McpServerConfiguration) - Static method in class com.github.thought2code.mcp.annotated.configuration.McpConfigurationMerger
Merges base and profile MCP server configurations.
messageEndpoint() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns the value of the messageEndpoint record component.
messageEndpoint(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
Sets the message endpoint.
MethodCache - Class in com.github.thought2code.mcp.annotated.reflect
A cache class that stores metadata and annotations for Java methods.
MethodCache(Method) - Constructor for class com.github.thought2code.mcp.annotated.reflect.MethodCache
Creates a new instance of MethodCache with the specified method.
MethodInvoker - Class in com.github.thought2code.mcp.annotated.reflect
A utility class for performing reflection operations including instance creation and method invocation.
mimeType() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The MIME type of the resource.
mode() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the mode record component.
mode(ServerMode) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server mode.

N

name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpJsonSchemaProperty
The name of the JSON schema property.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPrompt
The name of the prompt.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptCompletion
Specifies the name of the prompt for which completion is provided.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptParam
The name of the prompt parameter.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The name of the resource.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpTool
The name of the tool.
name() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpToolParam
The name of the tool parameter.
name() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the name record component.
name(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server name.
NewLine - Static variable in class com.github.thought2code.mcp.annotated.util.StringHelper
The new line character constant.
NUMBER - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Number is mapped to JSON schema data type number.

O

OBJECT - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java Object is mapped to JSON schema data type object.
of(Method) - Static method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Creates or retrieves a cached instance of MethodCache for the specified method.
of(T) - Static method in class com.github.thought2code.mcp.annotated.util.Immutable
Creates a new Immutable instance wrapping the specified value.

P

ParameterConverter<A extends Annotation> - Interface in com.github.thought2code.mcp.annotated.server.converter
This interface is used to convert the value of a parameter annotated with ParameterConverter to the required type.
port() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns the value of the port record component.
port() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns the value of the port record component.
port(Integer) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerSSE.Builder
Sets the port.
port(Integer) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable.Builder
Sets the port.
priority() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The priority of the resource.
profile() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the profile record component.
profile(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the profile.
prompt() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns the value of the prompt record component.
prompt() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Returns the value of the prompt record component.
prompt(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Sets the prompt capability.
prompt(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
Sets the prompt change notification flag.

R

ReflectionsProvider - Class in com.github.thought2code.mcp.annotated.reflect
A provider class for reflection operations using the Reflections library.
register() - Method in interface com.github.thought2code.mcp.annotated.server.component.McpServerComponent
Registers all components of this type with the MCP server.
register() - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerPrompt
Registers all prompt components with the MCP server.
register() - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerResource
Registers all resource components with the MCP server.
register() - Method in class com.github.thought2code.mcp.annotated.server.component.McpServerTool
Registers all tool components with the MCP server.
registerComponents(McpSyncServer) - Method in interface com.github.thought2code.mcp.annotated.server.McpServer
Registers all MCP server components (resources, prompts, tools) with the specified synchronous server instance.
registerComponents(McpSyncServer) - Method in class com.github.thought2code.mcp.annotated.server.McpServerBase
Registers all MCP server components with the specified synchronous server.
requestTimeout() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the requestTimeout record component.
requestTimeout(Long) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the request timeout.
required() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpJsonSchemaProperty
Whether the JSON schema property is required.
required() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptParam
Whether the prompt parameter is required.
required() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpToolParam
Whether the tool parameter is required.
resource() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns the value of the resource record component.
resource() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Returns the value of the resource record component.
resource(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Sets the resource capability.
resource(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
Sets the resource change notification flag.
resourceBundleBaseName() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpI18nEnabled
Specifies the base name of the resource bundle to be used for i18n.
ResourceBundleProvider - Class in com.github.thought2code.mcp.annotated.server.component
A provider class for managing internationalization (i18n) resource bundles.
result() - Method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Returns the value of the result record component.
result(Object) - Method in class com.github.thought2code.mcp.annotated.reflect.Invocation.Builder
Sets the result of the invocation.
roles() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The roles required to access the resource.
run(Class<?>, String[]) - Static method in class com.github.thought2code.mcp.annotated.McpServers
Initializes the McpServers singleton with the specified main class.

S

ServerMode - Enum Class in com.github.thought2code.mcp.annotated.enums
This enum represents the mode of MCP (Model Context Protocol) server.
ServerType - Enum Class in com.github.thought2code.mcp.annotated.enums
This enum represents the type of MCP (Model Context Protocol) server.
SPACE - Static variable in class com.github.thought2code.mcp.annotated.util.StringHelper
The space character constant.
sse() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the sse record component.
sse(McpServerSSE) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the SSE configuration.
SSE - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.ServerMode
The MCP server runs in http SSE mode.
start() - Method in class com.github.thought2code.mcp.annotated.server.JettyHttpServer
Start Jetty HTTP server and bind it to the specified port.
startHttpServer() - Method in class com.github.thought2code.mcp.annotated.server.McpSseServer
Starts the HTTP server for SSE mode.
startHttpServer() - Method in class com.github.thought2code.mcp.annotated.server.McpStreamableServer
Starts the Jetty HTTP server with the configured transport provider.
startServer() - Method in class com.github.thought2code.mcp.annotated.McpServers
Starts an MCP server using default configuration.
startServer(String) - Method in class com.github.thought2code.mcp.annotated.McpServers
Starts an MCP server using configuration from the specified file.
startSseServer(McpServerConfiguration.Builder) - Method in class com.github.thought2code.mcp.annotated.McpServers
Starts an MCP server in SSE mode with the specified configuration.
startStdioServer(McpServerConfiguration.Builder) - Method in class com.github.thought2code.mcp.annotated.McpServers
Starts an MCP server in STDIO mode with the specified configuration.
startStreamableServer(McpServerConfiguration.Builder) - Method in class com.github.thought2code.mcp.annotated.McpServers
Starts an MCP server in STREAMABLE mode with the specified configuration.
STDIO - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.ServerMode
The MCP server runs in STDIO mode.
stop() - Method in class com.github.thought2code.mcp.annotated.server.JettyHttpServer
Stop Jetty HTTP server.
streamable() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the streamable record component.
streamable(McpServerStreamable) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the streamable configuration.
STREAMABLE - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.ServerMode
The MCP server runs in STREAMABLE http mode.
STRING - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Java String is mapped to JSON schema data type string.
StringHelper - Class in com.github.thought2code.mcp.annotated.util
Helper class for string operations.
subscribeResource() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns the value of the subscribeResource record component.
subscribeResource(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Sets the subscribe-resource capability.
SYNC - Enum constant in enum class com.github.thought2code.mcp.annotated.enums.ServerType
The MCP server runs in SYNC mode.

T

title() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPrompt
The title of the prompt.
title() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptCompletion
Specifies an optional title or description for the prompt completion.
title() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpPromptParam
The title of the prompt parameter.
title() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The title of the resource.
title() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpTool
The title of the tool.
toJsonString(Object) - Static method in class com.github.thought2code.mcp.annotated.util.JacksonHelper
Serialize an object to a JSON string.
tool() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns the value of the tool record component.
tool() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Returns the value of the tool record component.
tool(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities.Builder
Sets the tool capability.
tool(Boolean) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
Sets the tool change notification flag.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpConfigurationLoader
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerCapabilities
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerSSE
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerStreamable
Returns a string representation of this record class.
toString() - Method in record class com.github.thought2code.mcp.annotated.reflect.Invocation
Returns a string representation of this record class.
toString() - Method in class com.github.thought2code.mcp.annotated.reflect.MethodCache
Returns a string representation of the object.
toString() - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Returns a string representation of this record class.
total() - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Returns the value of the total record component.
total(Integer) - Method in class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion.Builder
Sets the total number of available completions.
type() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the type record component.
type(ServerType) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server type.
TypeConverter - Class in com.github.thought2code.mcp.annotated.util
Helper class for Java and JSON schema type conversion.

U

uri() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResource
The URI of the resource.
uri() - Element in annotation interface com.github.thought2code.mcp.annotated.annotation.McpResourceCompletion
Specifies the URI of the resource for which completion is provided.

V

valueOf(String) - Static method in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.thought2code.mcp.annotated.enums.ServerMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.thought2code.mcp.annotated.enums.ServerType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.github.thought2code.mcp.annotated.enums.JavaTypeToJsonSchemaMapper
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.thought2code.mcp.annotated.enums.ServerMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.thought2code.mcp.annotated.enums.ServerType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in record class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion
Returns the value of the values record component.
values(List<String>) - Method in class com.github.thought2code.mcp.annotated.server.component.McpCompleteCompletion.Builder
Sets the completion values with defensive copying.
version() - Method in record class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration
Returns the value of the version record component.
version(String) - Method in class com.github.thought2code.mcp.annotated.configuration.McpServerConfiguration.Builder
Sets the server version.

W

withTransportProvider(HttpServlet) - Method in class com.github.thought2code.mcp.annotated.server.JettyHttpServer
Register a servlet to be handled by Jetty HTTP server.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form