Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

accept(McpSchema.JSONRPCNotification) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
Handle the MCP notification.
accept(McpSchema.JSONRPCResponse) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
Handle the MCP response.
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, T) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
添加
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionPrompt) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionResource) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionTool) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
addConnection(Disposable) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
addConnection(CONNECTION) - Method in interface io.modelcontextprotocol.spec.McpTransportSession
Adds a resource that this transport session can monitor and dismiss when needed.
addContent(McpSchema.Content) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Adds a content item to the tool result.
addEnvVar(String, String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
addEnvVar(String, String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
addEnvVar(String, String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
addHint(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
addPrompt(McpServerFeatures.AsyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new prompt handler at runtime.
addPrompt(McpStatelessServerFeatures.AsyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Add a new prompt handler at runtime.
addPrompt(McpStatelessServerFeatures.SyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Add a new prompt handler at runtime.
addPrompt(McpServerFeatures.SyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new prompt handler.
addPrompt(FunctionPrompt) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记提示语
addPrompt(PromptProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记提示语
addResource(McpServerFeatures.AsyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new resource handler at runtime.
addResource(McpStatelessServerFeatures.AsyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Add a new resource handler at runtime.
addResource(McpStatelessServerFeatures.SyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Add a new resource handler at runtime.
addResource(McpServerFeatures.SyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new resource handler.
addResource(FunctionResource) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记资源
addResource(ResourceProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记资源
addRoot(McpSchema.Root) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Adds a new root to the client's root list.
addRoot(McpSchema.Root) - Method in class io.modelcontextprotocol.client.McpSyncClient
Add a roots dynamically.
addTextContent(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Adds a text content item to the tool result.
addTool(McpServerFeatures.AsyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new tool call specification at runtime.
addTool(McpStatelessServerFeatures.AsyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Add a new tool specification at runtime.
addTool(McpStatelessServerFeatures.SyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Add a new tool specification at runtime.
addTool(McpServerFeatures.SyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new tool handler.
addTool(FunctionTool) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记工具
addTool(ToolProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记工具
all() - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
全部
all() - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
all() - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
all() - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
Annotations() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Annotations
 
annotations(McpSchema.Annotations) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
annotations(McpSchema.Annotations) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
annotations(McpSchema.ToolAnnotations) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
apiKey(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
apiUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
arg(String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
arg(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
arg(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
args(String...) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
args(List<String>) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
args(String...) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
args(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
args(String...) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
args(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
arguments(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
arguments(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
asInvalid(String) - Static method in class io.modelcontextprotocol.spec.JsonSchemaValidator.ValidationResponse
 
asList(T...) - Static method in class io.modelcontextprotocol.util.Utils
转为一个可变 List
asMap(Object...) - Static method in class io.modelcontextprotocol.util.Utils
转为一个可变 Map
Assert - Class in io.modelcontextprotocol.util
Utility class providing assertion methods for parameter validation.
Assert() - Constructor for class io.modelcontextprotocol.util.Assert
 
asSet(T...) - Static method in class io.modelcontextprotocol.util.Utils
转为一个可变 Set
asValid(String) - Static method in class io.modelcontextprotocol.spec.JsonSchemaValidator.ValidationResponse
 
async(McpClientTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
Start building an asynchronous MCP client with the specified transport layer.
async(McpServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building an asynchronous MCP server that provides non-blocking operations.
async(McpStreamableServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building an asynchronous MCP server that provides non-blocking operations.
async(McpStatelessServerTransport) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building an asynchronous MCP server that provides non-blocking operations.
Async(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpServerFeatures.AsyncToolSpecification>, Map<String, McpServerFeatures.AsyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpServerFeatures.AsyncPromptSpecification>, Map<McpSchema.CompleteReference, McpServerFeatures.AsyncCompletionSpecification>, List<BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>>, String) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.Async
Create an instance and validate the arguments.
Async(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpStatelessServerFeatures.AsyncToolSpecification>, Map<String, McpStatelessServerFeatures.AsyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpStatelessServerFeatures.AsyncPromptSpecification>, Map<McpSchema.CompleteReference, McpStatelessServerFeatures.AsyncCompletionSpecification>, String) - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.Async
Create an instance and validate the arguments.
AsyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncCompletionSpecification
 
AsyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncCompletionSpecification
 
AsyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification
 
AsyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncPromptSpecification
 
AsyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceSpecification
 
AsyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncResourceSpecification
 
AsyncSpecification() - Constructor for class io.modelcontextprotocol.server.McpServer.AsyncSpecification
 
AsyncToolSpecification(McpSchema.Tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, Mono<McpSchema.CallToolResult>>) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
Deprecated.
Use AsyncToolSpecification(McpSchema.Tool, null, BiFunction) instead.
AsyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification
 
AudioContent(McpSchema.Annotations, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.AudioContent
 
awaitForExit() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Waits for the server process to exit.

B

baseUrl(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the base URL for the server transport.
BlobResourceContents(String, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.BlobResourceContents
 
build() - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Create an instance of McpAsyncClient with the provided configurations or sensible defaults.
build() - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Create an instance of McpSyncClient with the provided configurations or sensible defaults.
build() - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
build() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Builds a new WebRxSseClientTransport instance.
build() - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Construct a fresh instance of WebRxStreamableHttpTransport using the current builder configuration.
build() - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
 
build() - Method in class io.modelcontextprotocol.server.McpServer.SingleSessionAsyncSpecification
Builds an asynchronous MCP server that provides non-blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.SingleSessionSyncSpecification
Builds a synchronous MCP server that provides blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
 
build() - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
 
build() - Method in class io.modelcontextprotocol.server.McpServer.StreamableServerAsyncSpecification
Builds an asynchronous MCP server that provides non-blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.StreamableSyncSpecification
Builds a synchronous MCP server that provides blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
 
build() - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification.Builder
Builds the AsyncToolSpecification instance.
build() - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification.Builder
Builds the SyncToolSpecification instance.
build() - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
Builds the AsyncToolSpecification instance.
build() - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
Builds the SyncToolSpecification instance.
build() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Builds a new instance of WebMvcSseServerTransportProvider with the configured settings.
build() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
Builds a new instance of WebRxStatelessServerTransport with the configured settings.
build() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Builds a new instance of WebRxStreamableServerTransportProvider with the configured settings.
build() - Method in class io.modelcontextprotocol.spec.McpError.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Builds a new McpSchema.CallToolResult instance.
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
build() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler.Builder
Builds and returns a new KeepAliveScheduler instance.
build() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
build() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
build() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
构建
builder(String) - Static method in class io.modelcontextprotocol.client.transport.ServerParameters
 
Builder(String) - Constructor for class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
builder(HttpUtilsBuilder) - Static method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new builder for WebRxSseClientTransport.
Builder(HttpUtilsBuilder) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Creates a new builder with the specified WebClient.Builder.
builder(HttpUtilsBuilder) - Static method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
Create a stateful builder for creating WebRxStreamableHttpTransport instances.
builder() - Static method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
Creates a new builder instance.
Builder() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification.Builder
 
builder() - Static method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification
Creates a new builder instance.
Builder() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification.Builder
 
builder() - Static method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification
Creates a new builder instance.
Builder() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
 
builder() - Static method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification
 
Builder() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
 
builder() - Static method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Creates a new Builder instance for configuring and creating instances of WebMvcSseServerTransportProvider.
Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
 
builder() - Static method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
Create a builder for the server.
builder() - Static method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
 
Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
 
builder(int) - Static method in exception io.modelcontextprotocol.spec.McpError
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult
Creates a builder for McpSchema.CallToolResult.
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.Resource
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.Tool
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
builder(Supplier<Flux<McpSession>>) - Static method in class io.modelcontextprotocol.util.KeepAliveScheduler
Creates a new Builder instance for constructing KeepAliveScheduler.
builder() - Static method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
Builder() - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
builder(String) - Static method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
Builder(String) - Constructor for class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
builder() - Static method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
Builder() - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
 
buildJsonSchema(FunctionTool) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 

C

cacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
callHandler(BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification.Builder
Sets the call tool handler function.
callHandler(BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification.Builder
Sets the call tool handler function.
callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
Sets the call tool handler function.
callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
Sets the call tool handler function.
callTool(McpSchema.CallToolRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Calls a tool provided by the server.
callTool(McpSchema.CallToolRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Calls a tool provided by the server.
callTool(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
调用工具
callToolAsImage(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
调用工具并转为图像
callToolAsText(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
调用工具并转为文本
CallToolRequest(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
 
CallToolRequest(String, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
 
CallToolResult(List<McpSchema.Content>, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
 
CallToolResult(List<McpSchema.Content>, Boolean, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
 
CallToolResult(String, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
Creates a new instance of McpSchema.CallToolResult with a string containing the tool result.
capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets the client capabilities that will be advertised to the server during connection initialization.
capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets the client capabilities that will be advertised to the server during connection initialization.
capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the server capabilities that will be advertised to clients during connection initialization.
capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the server capabilities that will be advertised to clients during connection initialization.
capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the server capabilities that will be advertised to clients during connection initialization.
capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the server capabilities that will be advertised to clients during connection initialization.
channel(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
channel(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
通道
clearCache() - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
Clears the schema cache.
clearCache() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
清理缓存
ClientCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities
 
clientInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets the client implementation information that will be shared with the server during connection initialization.
clientInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets the client implementation information that will be shared with the server during connection initialization.
close() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Closes the client connection immediately.
close() - Method in class io.modelcontextprotocol.client.McpSyncClient
 
close() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Close the server immediately.
close() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Close the server immediately.
close() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Close the server immediately.
close() - Method in class io.modelcontextprotocol.server.McpSyncServer
Close the server immediately.
close() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
close() - Method in class io.modelcontextprotocol.spec.McpClientSession
Closes the session immediately, potentially interrupting pending operations.
close() - Method in class io.modelcontextprotocol.spec.McpServerSession
 
close() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
Immediately closes all the transports with connected clients and releases any associated resources.
close() - Method in interface io.modelcontextprotocol.spec.McpSession
Closes the session and releases any associated resources.
close() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
Immediately closes all the transports with connected clients and releases any associated resources.
close() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
close() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
close() - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
Immediately closes all the transports with connected clients and releases any associated resources.
close() - Method in interface io.modelcontextprotocol.spec.McpTransport
Closes the transport connection and releases any associated resources.
close() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
Close and clear the monitored resources.
close() - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
close() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
关闭
close() - Method in class org.noear.solon.ai.mcp.client.McpProviders
关闭
closeGracefully() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Gracefully closes the client connection.
closeGracefully() - Method in class io.modelcontextprotocol.client.McpSyncClient
 
closeGracefully() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Gracefully closes the transport by destroying the process and disposing of the schedulers.
closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Implements graceful shutdown of the transport.
closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
closeGracefully() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Gracefully closes the server, allowing any in-progress operations to complete.
closeGracefully() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Gracefully closes the server, allowing any in-progress operations to complete.
closeGracefully() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Gracefully closes the server, allowing any in-progress operations to complete.
closeGracefully() - Method in class io.modelcontextprotocol.server.McpSyncServer
Close the server gracefully.
closeGracefully() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
 
closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Initiates a graceful shutdown of the transport.
closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
 
closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
Initiates a graceful shutdown of the transport.
closeGracefully() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
closeGracefully() - Method in class io.modelcontextprotocol.spec.McpClientSession
Closes the session gracefully, allowing pending operations to complete.
closeGracefully() - Method in class io.modelcontextprotocol.spec.McpServerSession
 
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
Gracefully closes all the transports with connected clients and releases any associated resources asynchronously.
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpSession
Closes the session and releases any associated resources asynchronously.
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
Gracefully closes all the transports with connected clients and releases any associated resources asynchronously.
closeGracefully() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
closeGracefully() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
Gracefully closes all the transports with connected clients and releases any associated resources asynchronously.
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpTransport
Closes the transport connection and releases any associated resources asynchronously.
closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
Close and clear the monitored resources in a graceful manner.
closeGracefully() - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
command(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
CompleteArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteArgument
 
completeCompletion(McpSchema.CompleteRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Sends a completion/complete request to generate value suggestions based on a given reference and argument.
completeCompletion(McpSchema.CompleteRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a completion/complete request.
CompleteCompletion() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult.CompleteCompletion
 
CompleteContext() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteContext
 
CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
 
CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument, McpSchema.CompleteRequest.CompleteContext) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
 
CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
 
CompleteResult(McpSchema.CompleteResult.CompleteCompletion) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult
 
CompletionCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.CompletionCapabilities
 
completions(List<McpServerFeatures.AsyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple completions with their handlers using a List.
completions(McpServerFeatures.AsyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple completions with their handlers using varargs.
completions(List<McpStatelessServerFeatures.AsyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple completions with their handlers using a List.
completions(McpStatelessServerFeatures.AsyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple completions with their handlers using varargs.
completions(List<McpStatelessServerFeatures.SyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple completions with their handlers using a List.
completions(McpStatelessServerFeatures.SyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple completions with their handlers using varargs.
completions(List<McpServerFeatures.SyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple completions with their handlers using a List.
completions(McpServerFeatures.SyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple completions with their handlers using varargs.
completions() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Starts the server process and initializes the message processing streams.
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Establishes a connection to the MCP server using Server-Sent Events (SSE).
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
Used to register the incoming messages' handler and potentially (eagerly) connect to the server.
consumeSseStream(Publisher<Tuple2<Optional<String>, Iterable<McpSchema.JSONRPCMessage>>>) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
 
consumeSseStream(Publisher<Tuple2<Optional<String>, Iterable<McpSchema.JSONRPCMessage>>>) - Method in interface io.modelcontextprotocol.spec.McpTransportStream
Allows keeping track of the transport stream of events (currently an SSE stream from Streamable HTTP specification) and enable resumability and reconnects in case of stream errors.
contains(String) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
是否包含
contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
content(List<McpSchema.Content>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Sets the content list for the tool result.
content(McpSchema.Content) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
content(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
 
contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Sets the context extractor that allows providing the MCP feature implementations to inspect HTTP transport level metadata that was present at HTTP request processing time.
contextPath(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
Deprecated.
3.5
cookie(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
cookieMap() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
cookieNames() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
cookieOrDefault(String, String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
cookieValues(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
copy() - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
Allows copying the contents.
copy() - Method in interface io.modelcontextprotocol.server.McpTransportContext
Copies the contents of the context to allow further modifications without affecting the initial object.
costPriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
count() - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
数量
count() - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
count() - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
count() - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
create(McpServerTransport) - Method in interface io.modelcontextprotocol.spec.McpServerSession.Factory
Creates a new 1:1 representation of the client-server interaction.
create(String) - Method in class io.modelcontextprotocol.util.DeafaultMcpUriTemplateManagerFactory
Creates a new instance of McpUriTemplateManager with the specified URI template.
create(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManagerFactory
Creates a new instance of McpUriTemplateManager with the specified URI template.
CREATE_MESSAGE_REQUEST_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
createElicitation(McpSchema.ElicitRequest) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Creates a new elicitation.
createElicitation(McpSchema.ElicitRequest) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Creates a new elicitation.
createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Create a new message using the sampling capabilities of the client.
createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Create a new message using the sampling capabilities of the client.
CreateMessageRequest(List<McpSchema.SamplingMessage>, McpSchema.ModelPreferences, String, McpSchema.CreateMessageRequest.ContextInclusionStrategy, Double, int, List<String>, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
 
CreateMessageResult(McpSchema.Role, McpSchema.Content, String, McpSchema.CreateMessageResult.StopReason) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
 

D

data(Object) - Method in class io.modelcontextprotocol.spec.McpError.Builder
 
data(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
DeafaultMcpUriTemplateManagerFactory - Class in io.modelcontextprotocol.util
 
DeafaultMcpUriTemplateManagerFactory() - Constructor for class io.modelcontextprotocol.util.DeafaultMcpUriTemplateManagerFactory
 
DEFAULT_BASE_URL - Static variable in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
Default base URL for the message endpoint.
DEFAULT_SERVER_INFO - Static variable in interface io.modelcontextprotocol.server.McpServer
 
DEFAULT_SSE_ENDPOINT - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Default SSE endpoint path as specified by the MCP transport specification.
DefaultJsonSchemaValidator - Class in io.modelcontextprotocol.spec
Default implementation of the JsonSchemaValidator interface.
DefaultJsonSchemaValidator() - Constructor for class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
 
DefaultJsonSchemaValidator(ObjectMapper) - Constructor for class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
 
DefaultMcpStreamableServerSessionFactory - Class in io.modelcontextprotocol.spec
A default implementation of McpStreamableServerSession.Factory.
DefaultMcpStreamableServerSessionFactory(Duration, McpStreamableServerSession.InitRequestHandler, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory
Constructs an instance
DefaultMcpTransportContext - Class in io.modelcontextprotocol.server
Default implementation for McpTransportContext which uses a Thread-safe map.
DefaultMcpTransportContext() - Constructor for class io.modelcontextprotocol.server.DefaultMcpTransportContext
Create an empty instance.
DefaultMcpTransportSession - Class in io.modelcontextprotocol.spec
Default implementation of McpTransportSession which manages the open connections using tye Disposable type and allows to perform clean up using the Disposable.dispose() method.
DefaultMcpTransportSession(Function<String, Publisher<Void>>) - Constructor for class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
DefaultMcpTransportStream<CONNECTION> - Class in io.modelcontextprotocol.spec
An implementation of McpTransportStream using Project Reactor types.
DefaultMcpTransportStream(boolean, Function<McpTransportStream<CONNECTION>, Publisher<CONNECTION>>) - Constructor for class io.modelcontextprotocol.spec.DefaultMcpTransportStream
Constructs a new instance representing a particular stream that can resume using the provided reconnect mechanism.
DefaultMcpUriTemplateManager - Class in io.modelcontextprotocol.util
Default implementation of the UriTemplateUtils interface.
DefaultMcpUriTemplateManager(String) - Constructor for class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
Constructor for DefaultMcpUriTemplateManager.
delete() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
description(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
description(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
description(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
description() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
描述
description(String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明提示语描述
description() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
description() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
description() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
描述
description(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明资源描述
description() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
description() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
deserializeJsonRpcMessage(ObjectMapper, String) - Static method in class io.modelcontextprotocol.spec.McpSchema
Deserializes a JSON string into a JSONRPCMessage object.
disallowDelete(boolean) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Sets whether to disallow DELETE requests on the endpoint.
doHandle(Function<Map<String, Object>, Collection<ChatMessage>>) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明函数处理
doHandle(Function<String, Text>) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明函数处理

E

elicitation(Function<McpSchema.ElicitRequest, Mono<McpSchema.ElicitResult>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets a custom elicitation handler for processing elicitation message requests.
elicitation(Function<McpSchema.ElicitRequest, McpSchema.ElicitResult>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets a custom elicitation handler for processing elicitation message requests.
elicitation() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
Elicitation() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Elicitation
 
ElicitRequest(String, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ElicitRequest
 
ElicitResult(McpSchema.ElicitResult.Action, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ElicitResult
 
EmbeddedResource(McpSchema.Annotations, McpSchema.ResourceContents) - Constructor for class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
 
EmbeddedResource(List<McpSchema.Role>, Double, McpSchema.ResourceContents) - Constructor for class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
Deprecated.
Only exists for backwards-compatibility purposes. Use EmbeddedResource#EmbeddedResource(Annotations, ResourceContents) instead.
EMPTY - Static variable in interface io.modelcontextprotocol.server.McpTransportContext
An empty, unmodifiable context.
enableOutputSchema(boolean) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
启用输出架构
endpoint(String) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Configure the endpoint to make HTTP requests against.
ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Event type for sending the message endpoint URI to clients.
ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
Event type for sending the message endpoint URI to clients.
env(Map<String, String>) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
env(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
env(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
ErrorCodes() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
 
eventStream() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Initializes and starts the inbound SSE event processing.
experimental(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
experimental(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
extract(T, McpTransportContext) - Method in interface io.modelcontextprotocol.server.McpTransportContextExtractor
Given an empty context, provides the means to fill it with transport-specific metadata extracted from the request.
extractVariableValues(String) - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
Extract URI variable values from the actual request URI.
extractVariableValues(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
Extract URI variable values from the actual request URI.

F

FIRST_PAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
from(Class<?>, McpServerEndpoint) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
 
fromMcpServer(McpServerParameters) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 serverParameters 配置加载客户端
fromMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpClientProvider
fromMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromMcpServers(ONode) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromMcpServers(Map<String, McpServerParameters>) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromSync(McpStatelessServerFeatures.Sync, boolean) - Static method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.Async
Convert a synchronous specification into an asynchronous one and provide blocking code offloading to prevent accidental blocking of the non-blocking transport.
FunctionPrompt - Interface in org.noear.solon.ai.mcp.server.prompt
函数提示语
FunctionPromptDesc - Class in org.noear.solon.ai.mcp.server.prompt
函数提示语描述
FunctionPromptDesc(String) - Constructor for class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
FunctionResource - Interface in org.noear.solon.ai.mcp.server.resource
函数资源
FunctionResourceDesc - Class in org.noear.solon.ai.mcp.server.resource
函数资源描述
FunctionResourceDesc(String) - Constructor for class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 

G

generateCacheKey(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
Generates a cache key for the given schema map.
get(String) - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
 
get(String) - Method in interface io.modelcontextprotocol.server.McpTransportContext
Extract a value from the context.
getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.Annotated
 
getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
 
getApiKey() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
getApiUrl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
getArgs() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
 
getArgs() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getArgs() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getAsyncServer() - Method in class io.modelcontextprotocol.server.McpSyncServer
Get the underlying async server instance.
getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.ImageContent
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.TextContent
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getCacheSeconds() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getCacheSize() - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
Returns the current size of the schema cache.
getChannel() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getChannel() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
通道
getClient() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
获取客户端
getClientCapabilities() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the client capabilities that define the supported features and functionality.
getClientCapabilities() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the client capabilities that define the supported features and functionality.
getClientCapabilities() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Get the client capabilities that define the supported features and functionality.
getClientCapabilities() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Get the client capabilities that define the supported features and functionality.
getClientInfo() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the client implementation information.
getClientInfo() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the client implementation information.
getClientInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Get the client implementation information.
getClientInfo() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Get the client implementation information.
getCommand() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
 
getCommand() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getCommand() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getCurrentInitializationResult() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the current initialization result.
getCurrentInitializationResult() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the current initialization result.
getDescription() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
 
getEnv() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
 
getEnv() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getEnv() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getErrorSink() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
getHeaders() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getHeaders() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getHeartbeatInterval() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getHttpProxy() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getHttpSsl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getHttpTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getId() - Method in class io.modelcontextprotocol.spec.McpServerSession
Retrieve the session id.
getId() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
Return the Session ID.
getIdentifier() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteReference
 
getIdentifier() - Method in class io.modelcontextprotocol.spec.McpSchema.PromptReference
 
getIdentifier() - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceReference
 
getInitializationTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getJsonrpc() - Method in interface io.modelcontextprotocol.spec.McpSchema.JSONRPCMessage
 
getJsonRpcError() - Method in exception io.modelcontextprotocol.spec.McpError
 
getMcpEndpoint() - Method in interface io.modelcontextprotocol.server.transport.IMcpHttpServerTransport
 
getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
 
getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
 
getMcpEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
MCP 端点
getMessageEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
Deprecated.
3.5
getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Content
 
getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Notification
 
getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Request
 
getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
 
getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Result
 
getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
 
getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
The MIME type of this resource.
getName() - Method in interface io.modelcontextprotocol.spec.McpSchema.BaseMetadata
Intended for programmatic or logical use, but used as a display name in past specs or fallback (if title isn't present).
getName() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getName() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
名字
getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.ImageContent
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.TextContent
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Annotated.getAnnotations() instead.
getProcessBuilder() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Creates and returns a new ProcessBuilder instance.
getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a specific prompt by its ID.
getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
 
getPrompt(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
获取提示语
getPromptAsMessages(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
获取提示语
GetPromptRequest(String, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptRequest
 
GetPromptResult(String, List<McpSchema.PromptMessage>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptResult
 
getPrompts() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getPrompts(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getPrompts() - Method in class org.noear.solon.ai.mcp.client.McpProviders
获取提示语
getPrompts() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
getPrompts() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
 
getPrompts() - Method in interface org.noear.solon.ai.mcp.server.prompt.PromptProvider
获取提示语
getProvider(String) - Method in class org.noear.solon.ai.mcp.client.McpProviders
获取提供者
getProviders() - Method in class org.noear.solon.ai.mcp.client.McpProviders
获取所有提供者
getRequestTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getResources() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getResources(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getResources() - Method in class org.noear.solon.ai.mcp.client.McpProviders
获取资源
getResources() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
getResources() - Method in class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
 
getResources() - Method in interface org.noear.solon.ai.mcp.server.resource.ResourceProvider
获取资源
getResourceTemplates() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getResourceTemplates(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
getServer() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
获取服务端(postStart 后有效)
getServerCapabilities() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the server capabilities that define the supported features and functionality.
getServerCapabilities() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the server capabilities that define the supported features and functionality.
getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Get the server capabilities that define the supported features and functionality.
getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Get the server capabilities that define the supported features and functionality.
getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Get the server capabilities that define the supported features and functionality.
getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpSyncServer
Get the server capabilities that define the supported features and functionality.
getServerInfo() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the server implementation information.
getServerInfo() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the server implementation information.
getServerInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Get the server implementation information.
getServerInfo() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Get the server implementation information.
getServerInfo() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Get the server implementation information.
getServerInfo() - Method in class io.modelcontextprotocol.server.McpSyncServer
Get the server implementation information.
getServerInstructions() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Get the server instructions that provide guidance to the client on how to interact with this server.
getServerInstructions() - Method in class io.modelcontextprotocol.client.McpSyncClient
Get the server instructions that provide guidance to the client on how to interact with this server.
getServerParameters() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
getSize() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
 
getTimeout() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getTitle() - Method in interface io.modelcontextprotocol.spec.McpSchema.BaseMetadata
Intended for UI and end-user contexts — optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology.
getTools() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
获取函数工具(可用于模型绑定)
getTools(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
获取函数工具(可用于模型绑定)
getTools() - Method in class org.noear.solon.ai.mcp.client.McpProviders
获取工具
getTools() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
获取所有工具
getTransport() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getType() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteReference
 
getType() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
 
getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
The URI of this resource.
getUrl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getUrl() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
getVariableNames() - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
Extract URI variable names from a URI template.
getVariableNames() - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
Extract URI variable names from this URI template.
getVersion() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getVersion() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
版本

H

handle(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.server.McpInitRequestHandler
Handles the initialization request.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.server.McpNotificationHandler
Handles a notification from the client.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.server.McpRequestHandler
Handles a request from the client.
handle(McpTransportContext, Object) - Method in interface io.modelcontextprotocol.server.McpStatelessNotificationHandler
Handle to notification and complete once done.
handle(McpTransportContext, Object) - Method in interface io.modelcontextprotocol.server.McpStatelessRequestHandler
Handle the request and complete with a result.
handle(Object) - Method in interface io.modelcontextprotocol.spec.McpClientSession.NotificationHandler
Handles an incoming notification with the given parameters.
handle(Object) - Method in interface io.modelcontextprotocol.spec.McpClientSession.RequestHandler
Handles an incoming request with the given parameters.
handle(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.spec.McpServerSession
Called by the McpServerTransportProvider once the session is determined.
handle() - Method in interface io.modelcontextprotocol.spec.McpServerSession.InitNotificationHandler
Specifies an action to take upon successful initialization.
handle(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.spec.McpServerSession.InitRequestHandler
Deprecated.
Handles the initialization request.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.NotificationHandler
Deprecated.
Handles a notification from the client.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.RequestHandler
Deprecated.
Handles a request from the client.
handle(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerSession.InitRequestHandler
Handles the initialization request.
handle(Map<String, Object>) - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
处理
handle(Map<String, Object>) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
handle(Map<String, Object>) - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
handle(String) - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
处理
handle(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
handle(String) - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
handleNotification(McpTransportContext, McpSchema.JSONRPCNotification) - Method in interface io.modelcontextprotocol.server.McpStatelessServerHandler
Handle the notification.
handleOutbound(Function<Flux<McpSchema.JSONRPCMessage>, Flux<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
handleRequest(McpTransportContext, McpSchema.JSONRPCRequest) - Method in interface io.modelcontextprotocol.server.McpStatelessServerHandler
Handle the request using user-provided feature implementations.
hasPrompt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在提示语
hasResource(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在资源
hasText(String, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - Static method in class io.modelcontextprotocol.util.Assert
Check whether the given String contains actual text.
hasText(String) - Static method in class io.modelcontextprotocol.util.Utils
Check whether the given String contains actual text.
hasTool(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在工具
header(String, String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
headers(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
headerSet(String, String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
headerSet(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
heartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
heartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
SSE 心跳间隔
hints(List<McpSchema.ModelHint>) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
HttpHeaders - Interface in io.modelcontextprotocol.spec
Names of HTTP headers in use by MCP HTTP transports.
httpProxy - Variable in class org.noear.solon.ai.mcp.client.McpClientProperties
http 代理简单描述
httpProxy(Proxy) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
httpProxy(String, int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
httpSsl(HttpSslSupplier) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
httpTimeout(HttpTimeout) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 

I

ImageContent(McpSchema.Annotations, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ImageContent
 
ImageContent(List<McpSchema.Role>, Double, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ImageContent
Deprecated.
Only exists for backwards-compatibility purposes. Use ImageContent#ImageContent(Annotations, String, String) instead.
IMcpHttpServerTransport - Interface in io.modelcontextprotocol.server.transport
 
immediateExecution(boolean) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Enable on "immediate execution" of the operations on the underlying McpStatelessAsyncServer.
immediateExecution(boolean) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Enable on "immediate execution" of the operations on the underlying McpAsyncServer.
Implementation(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Implementation
 
includeContext(McpSchema.CreateMessageRequest.ContextInclusionStrategy) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
init(McpSchema.ClientCapabilities, McpSchema.Implementation) - Method in class io.modelcontextprotocol.spec.McpServerSession
Called upon successful initialization sequence between the client and the server with the client capabilities and information.
initialDelay(Duration) - Method in class io.modelcontextprotocol.util.KeepAliveScheduler.Builder
Sets the initial delay before the first keepAlive call.
initializationTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
 
initializationTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
 
initializationTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
initialize() - Method in class io.modelcontextprotocol.client.McpAsyncClient
The initialization phase should be the first interaction between client and server.
initialize() - Method in class io.modelcontextprotocol.client.McpSyncClient
The initialization phase MUST be the first interaction between client and server.
INITIALIZE_RESULT_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
InitializeRequest(String, McpSchema.ClientCapabilities, McpSchema.Implementation) - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeRequest
 
InitializeResult(String, McpSchema.ServerCapabilities, McpSchema.Implementation, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeResult
 
inputSchema(McpSchema.JsonSchema) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
inputSchema(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
instructions(String) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the server instructions that will be shared with clients during connection initialization.
instructions(String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the server instructions that will be shared with clients during connection initialization.
instructions(String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the server instructions that will be shared with clients during connection initialization.
instructions(String) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the server instructions that will be shared with clients during connection initialization.
intelligencePriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
INTERNAL_ERROR - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Internal JSON-RPC error.
interval(Duration) - Method in class io.modelcontextprotocol.util.KeepAliveScheduler.Builder
Sets the interval between subsequent keepAlive calls.
INVALID_PARAMS - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Invalid method parameter(s).
INVALID_REQUEST - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
The JSON sent is not a valid Request object.
io.modelcontextprotocol.client - package io.modelcontextprotocol.client
 
io.modelcontextprotocol.client.transport - package io.modelcontextprotocol.client.transport
 
io.modelcontextprotocol.server - package io.modelcontextprotocol.server
 
io.modelcontextprotocol.server.transport - package io.modelcontextprotocol.server.transport
 
io.modelcontextprotocol.spec - package io.modelcontextprotocol.spec
 
io.modelcontextprotocol.util - package io.modelcontextprotocol.util
 
isBlank(String) - Static method in class io.modelcontextprotocol.util.Utils
 
isEmpty(Collection<?>) - Static method in class io.modelcontextprotocol.util.Utils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - Static method in class io.modelcontextprotocol.util.Utils
Return true if the supplied Map is null or empty.
isError(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Sets whether the tool execution resulted in an error.
isInitialized() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Check if the client-server connection is initialized.
isInitialized() - Method in class io.modelcontextprotocol.client.McpSyncClient
Check if the client-server connection is initialized.
isNotificationForLevelAllowed(McpSchema.LoggingLevel) - Method in interface io.modelcontextprotocol.spec.McpLoggableSession
Allows checking whether a particular logging level is allowed.
isNotificationForLevelAllowed(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpServerSession
 
isNotificationForLevelAllowed(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
isNotificationForLevelAllowed(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
isNotificationForLevelAllowed(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
isRunning() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
Checks if the scheduler is currently running.
isTrue(boolean, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isUriTemplate(String) - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
 
isUriTemplate(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
Check if the given URI is a URI template.

J

JSONRPC_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
JSONRPCError() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCResponse.JSONRPCError
 
JSONRPCNotification() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCNotification
 
JSONRPCRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCRequest
 
JSONRPCResponse() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCResponse
 
JsonSchema() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JsonSchema
 
jsonSchemaValidator(JsonSchemaValidator) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the JSON schema validator to use for validating tool and resource schemas.
jsonSchemaValidator(JsonSchemaValidator) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the JSON schema validator to use for validating tool and resource schemas.
jsonSchemaValidator(JsonSchemaValidator) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the JSON schema validator to use for validating tool and resource schemas.
jsonSchemaValidator(JsonSchemaValidator) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
 
JsonSchemaValidator - Interface in io.modelcontextprotocol.spec
Interface for validating structured content against a JSON schema.
JsonSchemaValidator.ValidationResponse - Class in io.modelcontextprotocol.spec
 

K

keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the interval for keep-alive pings.
keepAliveInterval(Duration) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Sets the keep-alive interval for the transport.
KeepAliveScheduler - Class in io.modelcontextprotocol.util
A utility class for scheduling regular keep-alive calls to maintain connections.
KeepAliveScheduler.Builder - Class in io.modelcontextprotocol.util
Builder class for creating KeepAliveScheduler instances with fluent API.
KEY - Static variable in interface io.modelcontextprotocol.server.McpTransportContext
Key for use in Reactor Context to transport the context to user land.

L

LAST_EVENT_ID - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
Identifies events within an SSE Stream.
lastId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
 
lastId() - Method in interface io.modelcontextprotocol.spec.McpTransportStream
The last observed event identifier.
LATEST_PROTOCOL_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
Deprecated.
level() - Method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
 
level(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
listeningStream(McpStreamableServerTransport) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
Create a listening stream (the generic HTTP GET request without Last-Event-ID header).
listPrompts() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all prompts provided by the server.
listPrompts(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of prompts provided by the server.
listPrompts() - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves the list of all prompts provided by the server.
listPrompts(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves a paginated list of prompts provided by the server.
ListPromptsResult(List<McpSchema.Prompt>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListPromptsResult
 
listResources() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all resources provided by the server.
listResources(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of resources provided by the server.
listResources() - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves the list of all resources provided by the server.
listResources(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves a paginated list of resources provided by the server.
ListResourcesResult(List<McpSchema.Resource>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourcesResult
 
listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all resource templates provided by the server.
listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of resource templates provided by the server.
listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves the list of all resource templates provided by the server.
listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Resource templates allow servers to expose parameterized resources using URI templates.
ListResourceTemplatesResult(List<McpSchema.ResourceTemplate>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourceTemplatesResult
 
listRoots() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Retrieves the list of all roots provided by the client.
listRoots(String) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Retrieves a paginated list of roots provided by the client.
listRoots() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Retrieves the list of all roots provided by the client.
listRoots(String) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Retrieves a paginated list of roots provided by the client.
ListRootsResult(List<McpSchema.Root>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListRootsResult
 
ListRootsResult(List<McpSchema.Root>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListRootsResult
 
listTools() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all tools provided by the server.
listTools(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of tools provided by the server.
listTools() - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves the list of all tools provided by the server.
listTools(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Retrieves a paginated list of tools provided by the server.
ListToolsResult(List<McpSchema.Tool>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListToolsResult
 
logger(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
logging() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
LOGGING_MESSAGE_NOTIFICATION_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
LoggingCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.LoggingCapabilities
 
loggingConsumer(Function<McpSchema.LoggingMessageNotification, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when logging messages are received from the server.
loggingConsumer(Consumer<McpSchema.LoggingMessageNotification>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified when logging messages are received from the server.
loggingConsumers(List<Function<McpSchema.LoggingMessageNotification, Mono<Void>>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds multiple consumers to be notified when logging messages are received from the server.
loggingConsumers(List<Consumer<McpSchema.LoggingMessageNotification>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds multiple consumers to be notified when logging messages are received from the server.
LoggingMessageNotification(McpSchema.LoggingLevel, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
 
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
Use McpAsyncServerExchange#loggingNotification(LoggingMessageNotification) instead.
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Send a logging message notification to the client.
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
Use McpSyncServerExchange#loggingNotification(LoggingMessageNotification) instead.
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Send a logging message notification to the client.

M

markInitialized(String) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
markInitialized(String) - Method in interface io.modelcontextprotocol.spec.McpTransportSession
Stateful operation that flips the un-initialized state to initialized if this is the first call.
matches(String) - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
Check if a URI matches the uriTemplate with variables.
matches(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
Indicate whether the given URI matches this template.
maxTokens(int) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
MCP_2024_11_05 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
MCP protocol version for 2024-11-05.
MCP_2025_03_26 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
MCP protocol version for 2025-03-26.
MCP_2025_06_18 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
MCP protocol version for 2025-06-18.
MCP_SESSION_ID - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
Identifies individual MCP sessions.
McpAsyncClient - Class in io.modelcontextprotocol.client
The Model Context Protocol (MCP) client implementation that provides asynchronous communication with MCP servers using Project Reactor's Mono and Flux types.
McpAsyncServer - Class in io.modelcontextprotocol.server
The Model Context Protocol (MCP) server implementation that provides asynchronous communication using Project Reactor's Mono and Flux types.
McpAsyncServer(McpServerTransportProvider, ObjectMapper, McpServerFeatures.Async, Duration, McpUriTemplateManagerFactory, JsonSchemaValidator) - Constructor for class io.modelcontextprotocol.server.McpAsyncServer
Create a new McpAsyncServer with the given transport provider and capabilities.
McpAsyncServer(McpStreamableServerTransportProvider, ObjectMapper, McpServerFeatures.Async, Duration, McpUriTemplateManagerFactory, JsonSchemaValidator) - Constructor for class io.modelcontextprotocol.server.McpAsyncServer
 
McpAsyncServerExchange - Class in io.modelcontextprotocol.server
Represents an asynchronous exchange with a Model Context Protocol (MCP) client.
McpAsyncServerExchange(McpSession, McpSchema.ClientCapabilities, McpSchema.Implementation) - Constructor for class io.modelcontextprotocol.server.McpAsyncServerExchange
McpAsyncServerExchange(String, McpLoggableSession, McpSchema.ClientCapabilities, McpSchema.Implementation, McpTransportContext) - Constructor for class io.modelcontextprotocol.server.McpAsyncServerExchange
Create a new asynchronous exchange with the client.
McpChannel - Interface in org.noear.solon.ai.mcp
Mcp 通道
McpClient - Interface in io.modelcontextprotocol.client
Factory class for creating Model Context Protocol (MCP) clients.
McpClient.AsyncSpec - Class in io.modelcontextprotocol.client
Asynchronous client specification.
McpClient.SyncSpec - Class in io.modelcontextprotocol.client
Synchronous client specification.
McpClientProperties - Class in org.noear.solon.ai.mcp.client
Mcp 客户端属性
McpClientProperties() - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
 
McpClientProperties(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
 
McpClientProvider - Class in org.noear.solon.ai.mcp.client
Mcp 客户端提供者 {@code McpClientProvider toolProvider = McpClientProvider.builder() .apiUrl("http://localhost:8081/sse") .build(); ChatModel chatModel = ChatModel.of("http://127.0.0.1:11434/api/chat") .model("deepseek-v3") .defaultToolsAdd(toolProvider) .build(); ChatResponse resp = chatModel.prompt("杭州天气和北京降雨量如何?")
McpClientProvider(Properties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
用于支持注入
McpClientProvider(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
用于简单构建
McpClientProvider(McpClientProperties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
 
McpClientProvider.Builder - Class in org.noear.solon.ai.mcp.client
 
McpClientSession - Class in io.modelcontextprotocol.spec
Default implementation of the MCP (Model Context Protocol) session that manages bidirectional JSON-RPC communication between clients and servers.
McpClientSession(Duration, McpClientTransport, Map<String, McpClientSession.RequestHandler<?>>, Map<String, McpClientSession.NotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpClientSession
McpClientSession(Duration, McpClientTransport, Map<String, McpClientSession.RequestHandler<?>>, Map<String, McpClientSession.NotificationHandler>, Function<? super Mono<Void>, ? extends Publisher<Void>>) - Constructor for class io.modelcontextprotocol.spec.McpClientSession
Creates a new McpClientSession with the specified configuration and handlers.
McpClientSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
 
McpClientSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
Functional interface for handling incoming JSON-RPC notifications.
McpClientSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
Functional interface for handling incoming JSON-RPC requests.
McpClientTransport - Interface in io.modelcontextprotocol.spec
Interface for the client side of the McpTransport.
mcpEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Sets the endpoint URI where clients should send their JSON-RPC messages.
mcpEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
MCP 端点
McpError - Exception in io.modelcontextprotocol.spec
 
McpError(McpSchema.JSONRPCResponse.JSONRPCError) - Constructor for exception io.modelcontextprotocol.spec.McpError
 
McpError(Object) - Constructor for exception io.modelcontextprotocol.spec.McpError
Deprecated.
McpError(Object, Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpError
 
McpError.Builder - Class in io.modelcontextprotocol.spec
 
McpException - Exception in org.noear.solon.ai.mcp.exception
 
McpException(String) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
 
McpException(String, Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
 
McpException(Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
 
McpInitRequestHandler - Interface in io.modelcontextprotocol.server
Request handler for the initialization request.
McpLoggableSession - Interface in io.modelcontextprotocol.spec
An McpSession which is capable of processing logging notifications and keeping track of a min logging level.
McpNotificationHandler - Interface in io.modelcontextprotocol.server
A handler for client-initiated notifications.
McpPlugin - Class in org.noear.solon.ai.mcp.integration
Mcp 插件
McpPlugin() - Constructor for class org.noear.solon.ai.mcp.integration.McpPlugin
 
McpProperties - Class in org.noear.solon.ai.mcp.integration
Mcp 属性(仅用于配置提示)
McpProperties() - Constructor for class org.noear.solon.ai.mcp.integration.McpProperties
 
McpProviders - Class in org.noear.solon.ai.mcp.client
Mcp 提供者集合(用于对接 mcpServers 配置)
McpProviders(Map<String, McpClientProvider>) - Constructor for class org.noear.solon.ai.mcp.client.McpProviders
 
McpRequestHandler<T> - Interface in io.modelcontextprotocol.server
A handler for client-initiated requests.
McpSchema - Class in io.modelcontextprotocol.spec
McpSchema.Annotated - Interface in io.modelcontextprotocol.spec
Base for objects that include optional annotations for the client.
McpSchema.Annotations - Class in io.modelcontextprotocol.spec
Optional annotations for the client.
McpSchema.AudioContent - Class in io.modelcontextprotocol.spec
Audio provided to or from an LLM.
McpSchema.BaseMetadata - Interface in io.modelcontextprotocol.spec
Base interface for metadata with name (identifier) and title (display name) properties.
McpSchema.BlobResourceContents - Class in io.modelcontextprotocol.spec
Binary contents of a resource.
McpSchema.CallToolRequest - Class in io.modelcontextprotocol.spec
Used by the client to call a tool provided by the server.
McpSchema.CallToolRequest.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.CallToolResult - Class in io.modelcontextprotocol.spec
The server's response to a tools/call request from the client.
McpSchema.CallToolResult.Builder - Class in io.modelcontextprotocol.spec
McpSchema.ClientCapabilities - Class in io.modelcontextprotocol.spec
Clients can implement additional features to enrich connected MCP servers with additional capabilities.
McpSchema.ClientCapabilities.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ClientCapabilities.Elicitation - Class in io.modelcontextprotocol.spec
 
McpSchema.ClientCapabilities.RootCapabilities - Class in io.modelcontextprotocol.spec
Roots define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to.
McpSchema.ClientCapabilities.Sampling - Class in io.modelcontextprotocol.spec
Provides a standardized way for servers to request LLM sampling ("completions" or "generations") from language models via clients.
McpSchema.CompleteReference - Interface in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.CompleteArgument - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.CompleteContext - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteResult - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteResult.CompleteCompletion - Class in io.modelcontextprotocol.spec
 
McpSchema.Content - Interface in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageRequest.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageRequest.ContextInclusionStrategy - Enum in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageResult - Class in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageResult.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.CreateMessageResult.StopReason - Enum in io.modelcontextprotocol.spec
 
McpSchema.ElicitRequest - Class in io.modelcontextprotocol.spec
A request from the server to elicit additional information from the user via the client.
McpSchema.ElicitRequest.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ElicitResult - Class in io.modelcontextprotocol.spec
The client's response to an elicitation request.
McpSchema.ElicitResult.Action - Enum in io.modelcontextprotocol.spec
 
McpSchema.ElicitResult.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.EmbeddedResource - Class in io.modelcontextprotocol.spec
 
McpSchema.ErrorCodes - Class in io.modelcontextprotocol.spec
Standard error codes used in MCP JSON-RPC responses.
McpSchema.GetPromptRequest - Class in io.modelcontextprotocol.spec
Used by the client to get a prompt provided by the server.
McpSchema.GetPromptResult - Class in io.modelcontextprotocol.spec
The server's response to a prompts/get request from the client.
McpSchema.ImageContent - Class in io.modelcontextprotocol.spec
 
McpSchema.Implementation - Class in io.modelcontextprotocol.spec
 
McpSchema.InitializeRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.InitializeResult - Class in io.modelcontextprotocol.spec
 
McpSchema.JSONRPCMessage - Interface in io.modelcontextprotocol.spec
 
McpSchema.JSONRPCNotification - Class in io.modelcontextprotocol.spec
 
McpSchema.JSONRPCRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.JSONRPCResponse - Class in io.modelcontextprotocol.spec
 
McpSchema.JSONRPCResponse.JSONRPCError - Class in io.modelcontextprotocol.spec
 
McpSchema.JsonSchema - Class in io.modelcontextprotocol.spec
 
McpSchema.ListPromptsResult - Class in io.modelcontextprotocol.spec
The server's response to a prompts/list request from the client.
McpSchema.ListResourcesResult - Class in io.modelcontextprotocol.spec
 
McpSchema.ListResourceTemplatesResult - Class in io.modelcontextprotocol.spec
 
McpSchema.ListRootsResult - Class in io.modelcontextprotocol.spec
The client's response to a roots/list request from the server.
McpSchema.ListToolsResult - Class in io.modelcontextprotocol.spec
The server's response to a tools/list request from the client.
McpSchema.LoggingLevel - Enum in io.modelcontextprotocol.spec
 
McpSchema.LoggingMessageNotification - Class in io.modelcontextprotocol.spec
The Model Context Protocol (MCP) provides a standardized way for servers to send structured log messages to clients.
McpSchema.LoggingMessageNotification.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ModelHint - Class in io.modelcontextprotocol.spec
 
McpSchema.ModelPreferences - Class in io.modelcontextprotocol.spec
 
McpSchema.ModelPreferences.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.Notification - Interface in io.modelcontextprotocol.spec
 
McpSchema.PaginatedRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.PaginatedResult - Class in io.modelcontextprotocol.spec
 
McpSchema.ProgressNotification - Class in io.modelcontextprotocol.spec
 
McpSchema.Prompt - Class in io.modelcontextprotocol.spec
A prompt or prompt template that the server offers.
McpSchema.PromptArgument - Class in io.modelcontextprotocol.spec
Describes an argument that a prompt can accept.
McpSchema.PromptMessage - Class in io.modelcontextprotocol.spec
Describes a message returned as part of a prompt.
McpSchema.PromptReference - Class in io.modelcontextprotocol.spec
Identifies a prompt for completion requests.
McpSchema.ReadResourceRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.ReadResourceResult - Class in io.modelcontextprotocol.spec
 
McpSchema.Request - Interface in io.modelcontextprotocol.spec
 
McpSchema.Resource - Class in io.modelcontextprotocol.spec
A known resource that the server is capable of reading.
McpSchema.Resource.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ResourceContent - Interface in io.modelcontextprotocol.spec
A common interface for resource content, which includes metadata about the resource such as its URI, name, description, MIME type, size, and annotations.
McpSchema.ResourceContents - Interface in io.modelcontextprotocol.spec
The contents of a specific resource or sub-resource.
McpSchema.ResourceLink - Class in io.modelcontextprotocol.spec
A known resource that the server is capable of reading.
McpSchema.ResourceLink.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ResourceReference - Class in io.modelcontextprotocol.spec
A reference to a resource or resource template definition for completion requests.
McpSchema.ResourcesUpdatedNotification - Class in io.modelcontextprotocol.spec
The Model Context Protocol (MCP) provides a standardized way for servers to send resources update message to clients.
McpSchema.ResourceTemplate - Class in io.modelcontextprotocol.spec
Resource templates allow servers to expose parameterized resources using URI templates.
McpSchema.Result - Interface in io.modelcontextprotocol.spec
 
McpSchema.Role - Enum in io.modelcontextprotocol.spec
 
McpSchema.Root - Class in io.modelcontextprotocol.spec
Represents a root directory or file that the server can operate on.
McpSchema.SamplingMessage - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.CompletionCapabilities - Class in io.modelcontextprotocol.spec
Present if the server supports argument autocompletion suggestions.
McpSchema.ServerCapabilities.LoggingCapabilities - Class in io.modelcontextprotocol.spec
Present if the server supports sending log messages to the client.
McpSchema.ServerCapabilities.PromptCapabilities - Class in io.modelcontextprotocol.spec
Present if the server offers any prompt templates.
McpSchema.ServerCapabilities.ResourceCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.ToolCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.SetLevelRequest - Class in io.modelcontextprotocol.spec
A request from the client to the server, to enable or adjust logging.
McpSchema.SubscribeRequest - Class in io.modelcontextprotocol.spec
Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
McpSchema.TextContent - Class in io.modelcontextprotocol.spec
 
McpSchema.TextResourceContents - Class in io.modelcontextprotocol.spec
Text contents of a resource.
McpSchema.Tool - Class in io.modelcontextprotocol.spec
Represents a tool that the server provides.
McpSchema.Tool.Builder - Class in io.modelcontextprotocol.spec
 
McpSchema.ToolAnnotations - Class in io.modelcontextprotocol.spec
Additional properties describing a Tool to clients.
McpSchema.UnsubscribeRequest - Class in io.modelcontextprotocol.spec
 
McpServer - Interface in io.modelcontextprotocol.server
Factory class for creating Model Context Protocol (MCP) servers.
McpServer.AsyncSpecification<S extends McpServer.AsyncSpecification<S>> - Class in io.modelcontextprotocol.server
Asynchronous server specification.
McpServer.SingleSessionAsyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.SingleSessionSyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.StatelessAsyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.StatelessSyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.StreamableServerAsyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.StreamableSyncSpecification - Class in io.modelcontextprotocol.server
 
McpServer.SyncSpecification<S extends McpServer.SyncSpecification<S>> - Class in io.modelcontextprotocol.server
Synchronous server specification.
McpServerContext - Class in org.noear.solon.ai.mcp.server
Mcp 服务端请求上下文
McpServerContext(McpSyncServerExchange) - Constructor for class org.noear.solon.ai.mcp.server.McpServerContext
 
McpServerEndpoint - Annotation Type in org.noear.solon.ai.mcp.server.annotation
Mcp 服务端点注解
McpServerEndpointProvider - Class in org.noear.solon.ai.mcp.server
Mcp 服务端点提供者
McpServerEndpointProvider(Properties) - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
McpServerEndpointProvider(McpServerProperties) - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
McpServerEndpointProvider.Builder - Class in org.noear.solon.ai.mcp.server
 
McpServerFeatures - Class in io.modelcontextprotocol.server
MCP server features specification that a particular server can choose to support.
McpServerFeatures() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures
 
McpServerFeatures.Async - Class in io.modelcontextprotocol.server
Asynchronous server features specification.
McpServerFeatures.AsyncCompletionSpecification - Class in io.modelcontextprotocol.server
Specification of a completion handler function with asynchronous execution support.
McpServerFeatures.AsyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its asynchronous handler function.
McpServerFeatures.AsyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its asynchronous handler function.
McpServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its asynchronous handler function.
McpServerFeatures.AsyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
Builder for creating AsyncToolSpecification instances.
McpServerFeatures.Sync - Class in io.modelcontextprotocol.server
Synchronous server features specification.
McpServerFeatures.SyncCompletionSpecification - Class in io.modelcontextprotocol.server
Specification of a completion handler function with synchronous execution support.
McpServerFeatures.SyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its synchronous handler function.
McpServerFeatures.SyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its synchronous handler function.
McpServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its synchronous handler function.
McpServerFeatures.SyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
Builder for creating SyncToolSpecification instances.
McpServerManager<T> - Interface in org.noear.solon.ai.mcp.server.manager
服务端管理器
McpServerParameters - Class in org.noear.solon.ai.mcp.client
Mcp 服务端配置参数
McpServerParameters() - Constructor for class org.noear.solon.ai.mcp.client.McpServerParameters
 
McpServerParameters.Builder - Class in org.noear.solon.ai.mcp.client
 
McpServerProperties - Class in org.noear.solon.ai.mcp.server
Mcp 服务属性
McpServerProperties() - Constructor for class org.noear.solon.ai.mcp.server.McpServerProperties
 
McpServerSession - Class in io.modelcontextprotocol.spec
Represents a Model Context Protocol (MCP) session on the server side.
McpServerSession(String, Duration, McpServerTransport, McpInitRequestHandler, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
Creates a new server session with the given parameters and the transport to use.
McpServerSession(String, Duration, McpServerTransport, McpInitRequestHandler, McpServerSession.InitNotificationHandler, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
McpServerSession.Factory - Interface in io.modelcontextprotocol.spec
Factory for creating server sessions which delegate to a provided 1:1 transport with a connected client.
McpServerSession.InitNotificationHandler - Interface in io.modelcontextprotocol.spec
Notification handler for the initialization notification from the client.
McpServerSession.InitRequestHandler - Interface in io.modelcontextprotocol.spec
Deprecated.
McpServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
 
McpServerSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
Deprecated.
McpServerSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
Deprecated.
McpServerTransport - Interface in io.modelcontextprotocol.spec
Marker interface for the server-side MCP transport.
McpServerTransportProvider - Interface in io.modelcontextprotocol.spec
Classic implementation of McpServerTransportProviderBase for a single outgoing stream in bidirectional communication (STDIO and the legacy HTTP SSE).
McpServerTransportProviderBase - Interface in io.modelcontextprotocol.spec
The core building block providing the server-side MCP transport.
McpSession - Interface in io.modelcontextprotocol.spec
Represents a Model Context Protocol (MCP) session that handles communication between clients and the server.
McpStatelessAsyncServer - Class in io.modelcontextprotocol.server
A stateless MCP server implementation for use with Streamable HTTP transport types.
McpStatelessNotificationHandler - Interface in io.modelcontextprotocol.server
Handler for MCP notifications in a stateless server.
McpStatelessRequestHandler<R> - Interface in io.modelcontextprotocol.server
Handler for MCP requests in a stateless server.
McpStatelessServerFeatures - Class in io.modelcontextprotocol.server
MCP stateless server features specification that a particular server can choose to support.
McpStatelessServerFeatures() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures
 
McpStatelessServerFeatures.Async - Class in io.modelcontextprotocol.server
Asynchronous server features specification.
McpStatelessServerFeatures.AsyncCompletionSpecification - Class in io.modelcontextprotocol.server
Specification of a completion handler function with asynchronous execution support.
McpStatelessServerFeatures.AsyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its asynchronous handler function.
McpStatelessServerFeatures.AsyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its asynchronous handler function.
McpStatelessServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its asynchronous handler function.
McpStatelessServerFeatures.AsyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
Builder for creating AsyncToolSpecification instances.
McpStatelessServerFeatures.Sync - Class in io.modelcontextprotocol.server
Synchronous server features specification.
McpStatelessServerFeatures.SyncCompletionSpecification - Class in io.modelcontextprotocol.server
Specification of a completion handler function with synchronous execution support.
McpStatelessServerFeatures.SyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its synchronous handler function.
McpStatelessServerFeatures.SyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its synchronous handler function.
McpStatelessServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its synchronous handler function.
McpStatelessServerFeatures.SyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
Builder for creating SyncToolSpecification instances.
McpStatelessServerHandler - Interface in io.modelcontextprotocol.server
Handler for MCP requests and notifications in a Stateless Streamable HTTP Server context.
McpStatelessServerTransport - Interface in io.modelcontextprotocol.spec
 
McpStatelessSyncServer - Class in io.modelcontextprotocol.server
A stateless MCP server implementation for use with Streamable HTTP transport types.
McpStreamableServerSession - Class in io.modelcontextprotocol.spec
Representation of a Streamable HTTP server session that keeps track of mapping server-initiated requests to the client and mapping arriving responses.
McpStreamableServerSession(String, McpSchema.ClientCapabilities, McpSchema.Implementation, Duration, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession
Create an instance of the streamable session.
McpStreamableServerSession.Factory - Interface in io.modelcontextprotocol.spec
Factory for new Streamable HTTP MCP sessions.
McpStreamableServerSession.InitRequestHandler - Interface in io.modelcontextprotocol.spec
Request handler for the initialization request.
McpStreamableServerSession.McpStreamableServerSessionInit - Class in io.modelcontextprotocol.spec
Composite holding the McpStreamableServerSession and the initialization result
McpStreamableServerSession.McpStreamableServerSessionStream - Class in io.modelcontextprotocol.spec
An individual SSE stream within a Streamable HTTP context.
McpStreamableServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
 
McpStreamableServerSessionInit() - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionInit
 
McpStreamableServerSessionStream(McpStreamableServerTransport) - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
Constructor accepting the dedicated transport representing the SSE stream.
McpStreamableServerTransport - Interface in io.modelcontextprotocol.spec
Streamable HTTP server transport representing an individual SSE stream.
McpStreamableServerTransportProvider - Interface in io.modelcontextprotocol.spec
The core building block providing the server-side MCP transport for Streamable HTTP servers.
McpSyncClient - Class in io.modelcontextprotocol.client
A synchronous client implementation for the Model Context Protocol (MCP) that wraps an McpAsyncClient to provide blocking operations.
McpSyncServer - Class in io.modelcontextprotocol.server
A synchronous implementation of the Model Context Protocol (MCP) server that wraps McpAsyncServer to provide blocking operations.
McpSyncServer(McpAsyncServer) - Constructor for class io.modelcontextprotocol.server.McpSyncServer
Creates a new synchronous server that wraps the provided async server.
McpSyncServer(McpAsyncServer, boolean) - Constructor for class io.modelcontextprotocol.server.McpSyncServer
Creates a new synchronous server that wraps the provided async server.
McpSyncServerExchange - Class in io.modelcontextprotocol.server
Represents a synchronous exchange with a Model Context Protocol (MCP) client.
McpSyncServerExchange(McpAsyncServerExchange) - Constructor for class io.modelcontextprotocol.server.McpSyncServerExchange
Create a new synchronous exchange with the client using the provided asynchronous implementation as a delegate.
McpTransport - Interface in io.modelcontextprotocol.spec
Defines the asynchronous transport layer for the Model Context Protocol (MCP).
McpTransportContext - Interface in io.modelcontextprotocol.server
Context associated with the transport layer.
McpTransportContextExtractor<T> - Interface in io.modelcontextprotocol.server
The contract for extracting metadata from a generic transport request of type T.
McpTransportException - Exception in io.modelcontextprotocol.spec
Exception thrown when there is an issue with the transport layer of the Model Context Protocol (MCP).
McpTransportException(String) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
 
McpTransportException(String, Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
 
McpTransportException(Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
 
McpTransportException(String, Throwable, boolean, boolean) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
 
McpTransportSession<CONNECTION> - Interface in io.modelcontextprotocol.spec
An abstraction of the session as perceived from the MCP transport layer.
McpTransportSessionNotFoundException - Exception in io.modelcontextprotocol.spec
Exception that signifies that the server does not recognize the connecting client via the presented transport session identifier.
McpTransportSessionNotFoundException(String, Exception) - Constructor for exception io.modelcontextprotocol.spec.McpTransportSessionNotFoundException
Construct an instance with a known cause.
McpTransportSessionNotFoundException(String) - Constructor for exception io.modelcontextprotocol.spec.McpTransportSessionNotFoundException
Construct an instance with the session identifier but without a cause.
McpTransportStream<CONNECTION> - Interface in io.modelcontextprotocol.spec
A representation of a stream at the transport layer of the MCP protocol.
McpUriTemplateManager - Interface in io.modelcontextprotocol.util
Interface for working with URI templates.
McpUriTemplateManagerFactory - Interface in io.modelcontextprotocol.util
Factory interface for creating instances of McpUriTemplateManager.
message(String) - Method in class io.modelcontextprotocol.spec.McpError.Builder
 
message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
message(McpSchema.ElicitResult.Action) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
 
MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Event type for JSON-RPC messages sent through the SSE connection.
MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
Event type for JSON-RPC messages sent through the SSE connection.
messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the endpoint path where clients will send their messages.
messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
Sets the endpoint URI where clients should send their JSON-RPC messages.
messageEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
Deprecated.
3.5
messageEndpointSink - Variable in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Sink for managing the message endpoint URI provided by the server.
messages(List<McpSchema.SamplingMessage>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Sets the metadata for the tool result.
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
metadata(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
METHOD_COMPLETION_COMPLETE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_ELICITATION_CREATE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_INITIALIZE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_LOGGING_SET_LEVEL - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOT_FOUND - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
The method does not exist / is not available.
METHOD_NOTIFICATION_INITIALIZED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_PROGRESS - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_PROMPTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_RESOURCES_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_RESOURCES_UPDATED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_ROOTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_NOTIFICATION_TOOLS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_PING - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_PROMPT_GET - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_PROMPT_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_RESOURCES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_RESOURCES_READ - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_RESOURCES_SUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_RESOURCES_TEMPLATES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_RESOURCES_UNSUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_ROOTS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_SAMPLING_CREATE_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_TOOLS_CALL - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
METHOD_TOOLS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
MethodFunctionPrompt - Class in org.noear.solon.ai.mcp.server.prompt
方法构建的函数提示语
MethodFunctionPrompt(BeanWrap, Method) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
MethodFunctionResource - Class in org.noear.solon.ai.mcp.server.resource
方法构建的函数资源
MethodFunctionResource(BeanWrap, Method) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpClientSession.MethodNotFoundError
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpServerSession.MethodNotFoundError
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.MethodNotFoundError
 
MethodPromptProvider - Class in org.noear.solon.ai.mcp.server.prompt
方法构建的资源提供者
MethodPromptProvider(Object) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
 
MethodPromptProvider(Class<?>, Object) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
 
MethodPromptProvider(BeanWrap) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
 
MethodResourceProvider - Class in org.noear.solon.ai.mcp.server.resource
方法构建的资源提供者
MethodResourceProvider(Object) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
 
MethodResourceProvider(Class<?>, Object) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
 
MethodResourceProvider(BeanWrap) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
 
mimeType(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
mimeType(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
mimeType() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
媒体类型
mimeType(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明媒体类型
mimeType() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
mimeType() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
MissingMcpTransportSession - Class in io.modelcontextprotocol.spec
A McpLoggableSession which represents a missing stream that would allow the server to communicate with the client.
MissingMcpTransportSession(String) - Constructor for class io.modelcontextprotocol.spec.MissingMcpTransportSession
Create an instance with the Session ID specified.
model(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
ModelHint() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelHint
 
modelPreferences(McpSchema.ModelPreferences) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
ModelPreferences() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelPreferences
 
mutate() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
Create a mutated copy of this object with the specified changes.

N

name(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
name(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
name(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
name(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
name(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
name(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
名字
name() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
名字
name() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
name() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
name() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
名字
name() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
name() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
notEmpty(Collection<?>, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that the collection is not null and not empty.
notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
 
notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Broadcasts a notification to all connected clients through their SSE connections.
notifyClients(String, Object) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
Broadcasts a notification to all connected clients through their SSE connections.
notifyClients(String, Object) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
Sends a notification to all connected clients.
notifyClients(String, Object) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
Sends a notification to all connected clients.
notifyPromptsListChanged() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Notifies clients that the list of available prompts has changed.
notifyPromptsListChanged() - Method in class io.modelcontextprotocol.server.McpSyncServer
Notify clients that the list of available prompts has changed.
notifyResourcesListChanged() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Notifies clients that the list of available resources has changed.
notifyResourcesListChanged() - Method in class io.modelcontextprotocol.server.McpSyncServer
Notify clients that the list of available resources has changed.
notifyResourcesUpdated(McpSchema.ResourcesUpdatedNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Notifies clients that the resources have updated.
notifyResourcesUpdated(McpSchema.ResourcesUpdatedNotification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Notify clients that the resources have updated.
notifyToolsListChanged() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Notifies clients that the list of available tools has changed.
notifyToolsListChanged() - Method in class io.modelcontextprotocol.server.McpSyncServer
Notify clients that the list of available tools has changed.
notNull(Object, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that an object is not null.

O

OBJECT_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
OBJECT_TYPE_REF - Static variable in class io.modelcontextprotocol.server.McpAsyncServerExchange
 
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Sets the object mapper for JSON serialization/deserialization.
objectMapper - Variable in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
ObjectMapper for serializing outbound messages and deserializing inbound messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Configure the ObjectMapper to use.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the JSON object mapper to use for message serialization/deserialization.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
of(String) - Static method in class io.modelcontextprotocol.spec.McpSchema.ModelHint
 
openConnectionOnStartup(boolean) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Configure whether the client should open an SSE connection upon startup.
org.noear.solon.ai.annotation - package org.noear.solon.ai.annotation
 
org.noear.solon.ai.mcp - package org.noear.solon.ai.mcp
 
org.noear.solon.ai.mcp.client - package org.noear.solon.ai.mcp.client
 
org.noear.solon.ai.mcp.exception - package org.noear.solon.ai.mcp.exception
 
org.noear.solon.ai.mcp.integration - package org.noear.solon.ai.mcp.integration
 
org.noear.solon.ai.mcp.server - package org.noear.solon.ai.mcp.server
 
org.noear.solon.ai.mcp.server.annotation - package org.noear.solon.ai.mcp.server.annotation
 
org.noear.solon.ai.mcp.server.manager - package org.noear.solon.ai.mcp.server.manager
 
org.noear.solon.ai.mcp.server.prompt - package org.noear.solon.ai.mcp.server.prompt
 
org.noear.solon.ai.mcp.server.resource - package org.noear.solon.ai.mcp.server.resource
 
outputSchema(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
outputSchema(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 

P

PAGINATED_REQUEST_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
PaginatedRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
 
PaginatedRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
Creates a new paginated request with an empty cursor.
PaginatedResult(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedResult
 
paramAdd(String, String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明函数参数
paramAdd(String, boolean, String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明函数参数
params() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
参数
params() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
params() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
PARSE_ERROR - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Invalid JSON was received by the server.
parseMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置解析出参数
parseMcpServers(ONode) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置解析出参数
pause() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
暂停(主要用于测试)
ping() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Sends a ping request to the server.
ping() - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a synchronous ping request.
ping() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Sends a ping request to the client.
ping() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Sends a synchronous ping request to the client.
postStart() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
PROGRESS_NOTIFICATION_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
 
progressConsumer(Function<McpSchema.ProgressNotification, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified of progress notifications from the server.
progressConsumer(Consumer<McpSchema.ProgressNotification>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified of progress notifications from the server.
progressConsumers(List<Function<McpSchema.ProgressNotification, Mono<Void>>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a multiple consumers to be notified of progress notifications from the server.
progressConsumers(List<Consumer<McpSchema.ProgressNotification>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a multiple consumers to be notified of progress notifications from the server.
progressNotification(McpSchema.ProgressNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Sends a notification to the client that the current progress status has changed for long-running operations.
progressNotification(McpSchema.ProgressNotification) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Sends a notification to the client that the current progress status has changed for long-running operations.
ProgressNotification(String, double, Double, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ProgressNotification
 
progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
 
progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
progressToken() - Method in interface io.modelcontextprotocol.spec.McpSchema.Request
 
Prompt(String, String, List<McpSchema.PromptArgument>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
 
Prompt(String, String, String, List<McpSchema.PromptArgument>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
 
PromptArgument(String, String, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptArgument
 
PromptCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.PromptCapabilities
 
PromptMapping - Annotation Type in org.noear.solon.ai.annotation
提示语映射
PromptMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
提示词服务端管理
PromptMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
PromptMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptMessage
 
PromptProvider - Interface in org.noear.solon.ai.mcp.server.prompt
提示语提供者
PromptReference(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptReference
 
PromptReference(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptReference
 
prompts(Map<String, McpServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple prompts with their handlers using a Map.
prompts(List<McpServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple prompts with their handlers using a List.
prompts(McpServerFeatures.AsyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple prompts with their handlers using varargs.
prompts(Map<String, McpStatelessServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple prompts with their handlers using a Map.
prompts(List<McpStatelessServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple prompts with their handlers using a List.
prompts(McpStatelessServerFeatures.AsyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple prompts with their handlers using varargs.
prompts(Map<String, McpStatelessServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple prompts with their handlers using a Map.
prompts(List<McpStatelessServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple prompts with their handlers using a List.
prompts(McpStatelessServerFeatures.SyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple prompts with their handlers using varargs.
prompts(Map<String, McpServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple prompts with their handlers using a Map.
prompts(List<McpServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple prompts with their handlers using a List.
prompts(McpServerFeatures.SyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple prompts with their handlers using varargs.
prompts(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
promptsChangeConsumer(Function<List<McpSchema.Prompt>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when the available prompts change.
promptsChangeConsumer(Consumer<List<McpSchema.Prompt>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified when the available prompts change.
protocol() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
PROTOCOL_VERSION - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
Identifies the MCP protocol version.
protocolVersions() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
 
protocolVersions() - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
protocolVersions() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
 
protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
 
protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
 
protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
Returns the protocol version supported by this transport provider.
protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
 
protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpTransport
 
ProtocolVersions - Interface in io.modelcontextprotocol.spec
 
put(String, Object) - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
 
put(String, Object) - Method in interface io.modelcontextprotocol.server.McpTransportContext
Inserts a value for a given key.

Q

queryString() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 

R

readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Reads the content of a specific resource identified by the provided Resource object.
readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Reads the content of a specific resource identified by the provided request.
readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/read request.
readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/read request.
readResource(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
读取资源
readResourceAsText(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
读取资源
ReadResourceRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceRequest
 
ReadResourceResult(List<McpSchema.ResourceContents>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceResult
 
realIp() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
referer() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
remoteIp() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
remotePort() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
remove(McpSyncServer, String) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
移除
remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
removeConnection(Disposable) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
removeConnection(CONNECTION) - Method in interface io.modelcontextprotocol.spec.McpTransportSession
Called when the resource is terminating by itself and the transport session does not need to track it anymore.
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Remove a prompt handler at runtime.
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Remove a prompt handler at runtime.
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Remove a prompt handler at runtime.
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Remove a prompt handler.
removePrompt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除提示语
removePrompt(PromptProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除提示语
removeResource(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Remove a resource handler at runtime.
removeResource(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Remove a resource handler at runtime.
removeResource(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Remove a resource handler at runtime.
removeResource(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Remove a resource handler.
removeResource(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除资源
removeResource(ResourceProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除资源
removeRoot(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Removes a root from the client's root list.
removeRoot(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Remove a root dynamically.
removeTool(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Remove a tool handler at runtime.
removeTool(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
Remove a tool handler at runtime.
removeTool(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
Remove a tool handler at runtime.
removeTool(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Remove a tool handler.
removeTool(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除工具
removeTool(ToolProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
移除工具
reopen() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
重新打开
replay(Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
requestedSchema(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
 
requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the duration to wait for server responses before timing out requests.
requestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
resolveUri(URI, String) - Static method in class io.modelcontextprotocol.util.Utils
Resolves the given endpoint URL against the base URL.
Resource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Resource
 
ResourceCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ResourceCapabilities
 
ResourceLink(String, String, String, String, String, Long, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceLink
Deprecated.
Only exists for backwards-compatibility purposes. Use ResourceLink#ResourceLink(String, String, String, String, String, Long, Annotations) instead.
ResourceLink(String, String, String, String, Long, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceLink
Deprecated.
Only exists for backwards-compatibility purposes. Use ResourceLink#ResourceLink(String, String, String, String, String, Long, Annotations) instead.
ResourceMapping - Annotation Type in org.noear.solon.ai.annotation
资源映射
ResourceMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
资源服务端管理
ResourceMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
ResourceProvider - Interface in org.noear.solon.ai.mcp.server.resource
资源提供者
ResourceReference(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceReference
 
resources(Map<String, McpServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple resources with their handlers using a Map.
resources(List<McpServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple resources with their handlers using a List.
resources(McpServerFeatures.AsyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple resources with their handlers using varargs.
resources(Map<String, McpStatelessServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple resources with their handlers using a Map.
resources(List<McpStatelessServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple resources with their handlers using a List.
resources(McpStatelessServerFeatures.AsyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Registers multiple resources with their handlers using varargs.
resources(Map<String, McpStatelessServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple resources with their handlers using a Map.
resources(List<McpStatelessServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple resources with their handlers using a List.
resources(McpStatelessServerFeatures.SyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Registers multiple resources with their handlers using varargs.
resources(Map<String, McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple resources with their handlers using a Map.
resources(List<McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple resources with their handlers using a List.
resources(McpServerFeatures.SyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple resources with their handlers using varargs.
resources(Boolean, Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
resourcesChangeConsumer(Function<List<McpSchema.Resource>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when the available resources change.
resourcesChangeConsumer(Consumer<List<McpSchema.Resource>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified when the available resources change.
resourcesUpdateConsumer(Function<List<McpSchema.ResourceContents>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when a specific resource is updated.
ResourcesUpdatedNotification(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourcesUpdatedNotification
 
ResourceTemplate(String, String, String, String, String, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
 
ResourceTemplate(String, String, String, String, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
 
resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the resource templates using varargs for convenience.
resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the resource templates using varargs for convenience.
resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the resource templates using varargs for convenience.
resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the resource templates using varargs for convenience.
responseStream(McpSchema.JSONRPCRequest, McpStreamableServerTransport) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
Provide the SSE stream of MCP messages finalized with a Response.
resumableStreams(boolean) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Configure whether to use the stream resumability feature by keeping track of SSE event ids.
resume() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
恢复(主要用于测试)
role(McpSchema.Role) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
Root(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Root
 
RootCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.RootCapabilities
 
roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets the root URIs that this client can access.
roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets the root URIs that this client can access, using a varargs parameter for convenience.
roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets the root URIs that this client can access.
roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets the root URIs that this client can access, using a varargs parameter for convenience.
roots(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
rootsChangeHandler(BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers a consumer that will be notified when the list of roots changes.
rootsChangeHandler(BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers a consumer that will be notified when the list of roots changes.
rootsChangeHandlers(List<BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple consumers that will be notified when the list of roots changes.
rootsChangeHandlers(BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Registers multiple consumers that will be notified when the list of roots changes using varargs.
rootsChangeHandlers(List<BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple consumers that will be notified when the list of roots changes.
rootsChangeHandlers(BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Registers multiple consumers that will be notified when the list of roots changes using varargs.
rootsListChangedNotification() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Manually sends a roots/list_changed notification.
rootsListChangedNotification() - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a roots/list_changed notification.

S

sampling(Function<McpSchema.CreateMessageRequest, Mono<McpSchema.CreateMessageResult>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets a custom sampling handler for processing message creation requests.
sampling(Function<McpSchema.CreateMessageRequest, McpSchema.CreateMessageResult>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets a custom sampling handler for processing message creation requests.
sampling() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
Sampling() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Sampling
 
SamplingMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SamplingMessage
 
scheduler(Scheduler) - Method in class io.modelcontextprotocol.util.KeepAliveScheduler.Builder
Sets the scheduler to use for executing keepAlive calls.
sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Sends a JSON-RPC message to the server using the endpoint provided during connection.
sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
sendMessage(McpSchema.JSONRPCMessage, String) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransport
Send a message to the client with a message ID for use in the SSE event payload
sendMessage(McpSchema.JSONRPCMessage) - Method in interface io.modelcontextprotocol.spec.McpTransport
Sends a message to the peer asynchronously.
sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpClientSession
Sends a JSON-RPC notification.
sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpServerSession
 
sendNotification(String) - Method in interface io.modelcontextprotocol.spec.McpSession
Sends a notification to the model client or server without parameters.
sendNotification(String, Object) - Method in interface io.modelcontextprotocol.spec.McpSession
Sends a notification to the model client or server with parameters.
sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpClientSession
Sends a JSON-RPC request and returns the response.
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpServerSession
 
sendRequest(String, Object, TypeReference<T>) - Method in interface io.modelcontextprotocol.spec.McpSession
Sends a request to the model counterparty and expects a response of type T.
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
ServerCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
 
serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the server implementation information using name and version strings.
serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the server implementation information using name and version strings.
serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the server implementation information using name and version strings.
serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the server implementation information using name and version strings.
ServerParameters - Class in io.modelcontextprotocol.client.transport
Server parameters for stdio client.
ServerParameters() - Constructor for class io.modelcontextprotocol.client.transport.ServerParameters
 
serverParameters(McpServerParameters) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
ServerParameters.Builder - Class in io.modelcontextprotocol.client.transport
 
session(String, Class<T>) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsDouble(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsDouble(String, double) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsInt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsInt(String, int) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsLong(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionAsLong(String, long) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionClear() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionId() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Provides the Session ID.
sessionId() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Provides the Session ID
sessionId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
 
sessionId() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
In case of stateful MCP servers, the value is present and contains the String identifier for the transport-level session.
sessionId() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
获取会话 id
sessionOrDefault(String, T) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionRemove(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionReset() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionSet(String, Object) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
sessionState() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
setApiKey(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
setApiUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
setArgs(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setArgs(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setCacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setChannel(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setCommand(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setCommand(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setEnv(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setEnv(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setExceptionHandler(Consumer<Throwable>) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
setExceptionHandler(Consumer<Throwable>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
Sets the exception handler for exceptions raised on the transport layer.
setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setHeartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setHttpProxy(Proxy) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setHttpSsl(HttpSslSupplier) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setHttpTimeout(HttpTimeout) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setInitializationTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
SetLevelRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SetLevelRequest
 
setLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Sets the minimum logging level for messages received from the server.
setLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.client.McpSyncClient
Client can set the minimum logging level it wants to receive from the server.
setLoggingLevel(McpSchema.LoggingLevel) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
设置日志级别
setLoggingLevel(McpSchema.LoggingLevel) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
设置日志级别
setMcpHandler(McpStatelessServerHandler) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
 
setMcpHandler(McpStatelessServerHandler) - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
 
setMinLoggingLevel(McpSchema.LoggingLevel) - Method in interface io.modelcontextprotocol.spec.McpLoggableSession
Set the minimum logging level for the client.
setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpServerSession
 
setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
 
setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
 
setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
 
setName(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setRequestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setServerParameters(McpServerParameters) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
 
setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
setSessionFactory(McpStreamableServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
 
setSessionFactory(McpServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
Sets the session factory that will be used to create sessions for new clients.
setSessionFactory(McpStreamableServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
Sets the session factory that will be used to create sessions for new clients.
setStdErrorHandler(Consumer<String>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Sets the handler for processing transport-level errors.
setTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setTransport(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setType(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
setVersion(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
shutdown() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
Shuts down the scheduler and releases resources.
size(Long) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
size(Long) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
size() - Method in class org.noear.solon.ai.mcp.client.McpProviders
数量
speedPriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
SSE - Static variable in interface org.noear.solon.ai.mcp.McpChannel
 
sseEndpoint(String) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Sets the SSE endpoint path.
sseEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the endpoint path where clients will establish SSE connections.
sseEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
start() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
Starts regular keepAlive calls with sessions supplier.
start(AppContext) - Method in class org.noear.solon.ai.mcp.integration.McpPlugin
 
start() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
startSession(McpSchema.InitializeRequest) - Method in class io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory
 
startSession(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerSession.Factory
Given an initialize request, create a composite for the session initialization
StatelessAsyncSpecification(McpStatelessServerTransport) - Constructor for class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
 
StatelessSyncSpecification(McpStatelessServerTransport) - Constructor for class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
 
STDIO - Static variable in interface org.noear.solon.ai.mcp.McpChannel
 
StdioClientTransport - Class in io.modelcontextprotocol.client.transport
Implementation of the MCP Stdio transport that communicates with a server process using standard input/output streams.
StdioClientTransport(ServerParameters) - Constructor for class io.modelcontextprotocol.client.transport.StdioClientTransport
Creates a new StdioClientTransport with the specified parameters and default ObjectMapper.
StdioClientTransport(ServerParameters, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.StdioClientTransport
Creates a new StdioClientTransport with the specified parameters and ObjectMapper.
StdioServerTransportProvider - Class in io.modelcontextprotocol.server.transport
Implementation of the MCP Stdio transport provider for servers that communicates using standard input/output streams.
StdioServerTransportProvider() - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
Creates a new StdioServerTransportProvider with a default ObjectMapper and System streams.
StdioServerTransportProvider(ObjectMapper) - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
Creates a new StdioServerTransportProvider with the specified ObjectMapper and System streams.
StdioServerTransportProvider(ObjectMapper, InputStream, OutputStream) - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
Creates a new StdioServerTransportProvider with the specified ObjectMapper and streams.
stop() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
Stops the currently running keepAlive scheduler.
stop() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
stopReason(McpSchema.CreateMessageResult.StopReason) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
stopSequences(List<String>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
STREAMABLE - Static variable in interface org.noear.solon.ai.mcp.McpChannel
 
StreamableServerAsyncSpecification(McpStreamableServerTransportProvider) - Constructor for class io.modelcontextprotocol.server.McpServer.StreamableServerAsyncSpecification
 
streamId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
 
streamId() - Method in interface io.modelcontextprotocol.spec.McpTransportStream
An internal stream identifier used to distinguish streams while debugging.
structuredContent(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
 
structuredContent(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
 
SubscribeRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.SubscribeRequest
 
subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Subscribes to changes in a specific resource.
subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Subscriptions.
sync(McpClientTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
Start building a synchronous MCP client with the specified transport layer.
sync(McpServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building a synchronous MCP server that provides blocking operations.
sync(McpStreamableServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building a synchronous MCP server that provides blocking operations.
sync(McpStatelessServerTransport) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building a synchronous MCP server that provides blocking operations.
Sync(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpServerFeatures.SyncToolSpecification>, Map<String, McpServerFeatures.SyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpServerFeatures.SyncPromptSpecification>, Map<McpSchema.CompleteReference, McpServerFeatures.SyncCompletionSpecification>, List<BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>>, String) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.Sync
Create an instance and validate the arguments.
Sync(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpStatelessServerFeatures.SyncToolSpecification>, Map<String, McpStatelessServerFeatures.SyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpStatelessServerFeatures.SyncPromptSpecification>, Map<McpSchema.CompleteReference, McpStatelessServerFeatures.SyncCompletionSpecification>, String) - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.Sync
Create an instance and validate the arguments.
SyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncCompletionSpecification
 
SyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncCompletionSpecification
 
SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification
 
SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncPromptSpecification
 
SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification
 
SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncResourceSpecification
 
SyncSpecification() - Constructor for class io.modelcontextprotocol.server.McpServer.SyncSpecification
 
SyncToolSpecification(McpSchema.Tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult>) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification
Deprecated.
SyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification
 
systemPrompt(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 

T

temperature(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
textContent(List<String>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
Sets the text content for the tool result.
TextContent(McpSchema.Annotations, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextContent
 
TextContent(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextContent
 
TextContent(List<McpSchema.Role>, Double, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextContent
Deprecated.
Only exists for backwards-compatibility purposes. Use TextContent#TextContent(Annotations, String) instead.
TextResourceContents(String, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextResourceContents
 
title(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
title(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
title(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
 
title() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
标题
title(String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明提示语标题
title() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
title() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
title() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
标题
title(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明资源标题
title() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
title() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
toHttpHandler(SolonApp) - Method in interface io.modelcontextprotocol.server.transport.IMcpHttpServerTransport
 
toHttpHandler(SolonApp) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
toHttpHandler(SolonApp) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
 
toHttpHandler(SolonApp) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
 
tool(McpSchema.Tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Deprecated.
Use McpServer.AsyncSpecification.toolCall(McpSchema.Tool, BiFunction) instead for tool calls that require a request object.
tool(McpSchema.Tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Deprecated.
Use McpServer.SyncSpecification.toolCall(McpSchema.Tool, BiFunction) instead for tool calls that require a request object.
tool(McpSchema.Tool) - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification.Builder
Sets the tool definition.
tool(McpSchema.Tool) - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification.Builder
Sets the tool definition.
tool(McpSchema.Tool) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
Sets the tool definition.
tool(McpSchema.Tool) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
Sets the tool definition.
Tool(String, String, McpSchema.JsonSchema, McpSchema.ToolAnnotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Tool.builder() instead.
Tool(String, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Tool.builder() instead.
Tool(String, String, String, McpSchema.ToolAnnotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Tool.builder() instead.
Tool(String, String, String, String, McpSchema.ToolAnnotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Tool.builder() instead.
Tool(String, String, String, String, String, McpSchema.ToolAnnotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
Deprecated.
Only exists for backwards-compatibility purposes. Use McpSchema.Tool.builder() instead.
ToolAnnotations() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ToolAnnotations
 
toolCall(McpSchema.Tool, BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds a single tool with its implementation handler to the server.
toolCall(McpSchema.Tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Adds a single tool with its implementation handler to the server.
toolCall(McpSchema.Tool, BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Adds a single tool with its implementation handler to the server.
toolCall(McpSchema.Tool, BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds a single tool with its implementation handler to the server.
ToolCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ToolCapabilities
 
ToolMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
工具服务端管理
ToolMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
tools(List<McpServerFeatures.AsyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.AsyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(List<McpStatelessServerFeatures.AsyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpStatelessServerFeatures.AsyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(List<McpStatelessServerFeatures.SyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpStatelessServerFeatures.SyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(List<McpServerFeatures.SyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.SyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
toolsChangeConsumer(Function<List<McpSchema.Tool>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when the available tools change.
toolsChangeConsumer(Consumer<List<McpSchema.Tool>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified when the available tools change.
toString() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
toString() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
toString() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
transportContext() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Provides the McpTransportContext associated with the transport layer.
transportContext() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Provides the McpTransportContext associated with the transport layer.
type() - Method in interface io.modelcontextprotocol.spec.McpSchema.Content
 

U

unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Unmarshalls data from a generic Object into the specified type using the configured ObjectMapper.
unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
 
unmarshalFrom(Object, TypeReference<T>) - Method in interface io.modelcontextprotocol.spec.McpTransport
Unmarshals the given data into an object of the specified type.
UnsubscribeRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.UnsubscribeRequest
 
unsubscribeResource(McpSchema.UnsubscribeRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Cancels an existing subscription to a resource.
unsubscribeResource(McpSchema.UnsubscribeRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/unsubscribe request.
uri(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
 
uri(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
 
uri() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
资源地址描述
uri(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明资源地址
uri() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
uri() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
uriTemplateManagerFactory(McpUriTemplateManagerFactory) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the URI template manager factory to use for creating URI templates.
uriTemplateManagerFactory(McpUriTemplateManagerFactory) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
Sets the URI template manager factory to use for creating URI templates.
uriTemplateManagerFactory(McpUriTemplateManagerFactory) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
Sets the URI template manager factory to use for creating URI templates.
uriTemplateManagerFactory(McpUriTemplateManagerFactory) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the URI template manager factory to use for creating URI templates.
url(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
userAgent() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
Utils - Class in io.modelcontextprotocol.util
Miscellaneous utility methods.
Utils() - Constructor for class io.modelcontextprotocol.util.Utils
 

V

validate(Map<String, Object>, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
 
validate(Map<String, Object>, Map<String, Object>) - Method in interface io.modelcontextprotocol.spec.JsonSchemaValidator
Validates the structured content against the provided JSON schema.
ValidationResponse(boolean, String, String) - Constructor for class io.modelcontextprotocol.spec.JsonSchemaValidator.ValidationResponse
Represents the result of a validation operation.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.ContextInclusionStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.StopReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.ElicitResult.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.Role
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.ContextInclusionStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.StopReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.ElicitResult.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.Role
Returns an array containing the constants of this enum type, in the order they are declared.
version(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
version(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
版本号

W

webClientBuilder(HttpUtilsBuilder) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
Configure the HttpUtilsBuilder to construct the HttpUtils.
WebRxSseClientTransport - Class in io.modelcontextprotocol.client.transport
Server-Sent Events (SSE) implementation of the McpTransport that follows the MCP HTTP with SSE transport specification.
WebRxSseClientTransport(HttpUtilsBuilder) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Constructs a new SseClientTransport with the specified WebClient builder.
WebRxSseClientTransport(HttpUtilsBuilder, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
WebRxSseClientTransport(HttpUtilsBuilder, ObjectMapper, String) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Constructs a new SseClientTransport with the specified WebClient builder and ObjectMapper.
WebRxSseClientTransport.Builder - Class in io.modelcontextprotocol.client.transport
WebRxSseServerTransportProvider - Class in io.modelcontextprotocol.server.transport
Server-side implementation of the Model Context Protocol (MCP) transport layer using HTTP with Server-Sent Events (SSE) through Spring WebMVC.
WebRxSseServerTransportProvider(ObjectMapper, String, String, String, McpTransportContextExtractor<Context>, Duration) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Deprecated.
Use the builder WebRxSseServerTransportProvider.builder() instead for better configuration options.
WebRxSseServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
Builder for creating instances of WebMvcSseServerTransportProvider.
WebRxStatelessServerTransport - Class in io.modelcontextprotocol.server.transport
Implementation of a WebMVC based McpStatelessServerTransport.
WebRxStatelessServerTransport.Builder - Class in io.modelcontextprotocol.server.transport
Builder for creating instances of WebRxStatelessServerTransport.
WebRxStreamableHttpTransport - Class in io.modelcontextprotocol.client.transport
An implementation of the Streamable HTTP protocol as defined by the 2025-03-26 version of the MCP specification.
WebRxStreamableHttpTransport.Builder - Class in io.modelcontextprotocol.client.transport
WebRxStreamableServerTransportProvider - Class in io.modelcontextprotocol.server.transport
Server-side implementation of the Model Context Protocol (MCP) streamable transport layer using HTTP with Server-Sent Events (SSE) through Spring WebMVC.
WebRxStreamableServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
Builder for creating instances of WebRxStreamableServerTransportProvider.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2025. All rights reserved.