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

A

addEnvVar(String, String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.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.AsyncPromptRegistration) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
addPrompt(McpServerFeatures.AsyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new prompt handler at runtime.
addPrompt(McpServerFeatures.SyncPromptRegistration) - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
addPrompt(McpServerFeatures.SyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new prompt handler.
addResource(McpServerFeatures.AsyncResourceRegistration) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
addResource(McpServerFeatures.AsyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new resource handler at runtime.
addResource(McpServerFeatures.SyncResourceRegistration) - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
addResource(McpServerFeatures.SyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new resource handler.
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.
addTool(McpServerFeatures.AsyncToolRegistration) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpAsyncServer.addTool(McpServerFeatures.AsyncToolSpecification).
addTool(McpServerFeatures.AsyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new tool specification at runtime.
addTool(McpServerFeatures.SyncToolRegistration) - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpSyncServer.addTool(McpServerFeatures.SyncToolSpecification).
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
登记工具
addToolSpec(FunctionTool) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
Annotations() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Annotations
 
apiKey(String) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
apiUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
arg(String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.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.McpServerParameters.Builder
 
args(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
Assert - Class in io.modelcontextprotocol.util
Utility class providing assertion methods for parameter validation.
Assert() - Constructor for class io.modelcontextprotocol.util.Assert
 
async(ClientMcpTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
Deprecated.
This method will be removed in 0.9.0. Use McpClient.async(McpClientTransport)
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(ServerMcpTransport) - Static method in interface io.modelcontextprotocol.server.McpServer
Deprecated.
This method will be removed in 0.9.0. Use McpServer.async(McpServerTransportProvider) instead.
AsyncPromptRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptRegistration
Deprecated.
 
AsyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification
 
AsyncResourceRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceRegistration
Deprecated.
 
AsyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceSpecification
 
AsyncToolRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolRegistration
Deprecated.
 
AsyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
 
awaitForExit() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Waits for the server process to exit.

B

BlobResourceContents() - 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.server.McpServer.AsyncSpec
Deprecated.
Builds an asynchronous MCP server that provides non-blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Builds an asynchronous MCP server that provides non-blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Builds a synchronous MCP server that provides blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Builds a synchronous MCP server that provides blocking operations.
build() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Builds a new instance of WebRxSseServerTransportProvider with the configured settings.
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.LoggingMessageNotification.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
build() - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.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 base URI.
builder() - Static method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.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.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.ServerCapabilities
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
builder() - Static method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
 
Builder() - Constructor for class org.noear.solon.ai.mcp.client.McpClientToolProvider.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.McpServerEndpointProvider
 

C

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.McpClientToolProvider
调用工具
callToolAsImage(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
调用工具并转为图像
callToolAsText(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
调用工具并转为文本
CallToolRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
 
CallToolResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
 
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.AsyncSpec
Deprecated.
Sets the server capabilities that will be advertised to clients 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.SyncSpec
Deprecated.
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.McpClientToolProvider.Builder
 
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.
ClientMcpTransport - Interface in io.modelcontextprotocol.spec
Deprecated.
This class will be removed in 0.9.0. Use McpClientTransport.
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.McpSyncServer
Close the server immediately.
close() - Method in class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
Closes the session immediately, potentially interrupting pending operations.
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.McpServerTransportProvider
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.McpTransport
Closes the transport connection and releases any associated resources.
close() - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
关闭
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
Gracefully closes the transport connection.
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.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 all the sessions.
closeGracefully() - Method in class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
Closes the session gracefully, allowing pending operations to complete.
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.McpServerTransportProvider
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.McpTransport
Closes the transport connection and releases any associated resources asynchronously.
CompleteArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteArgument
 
CompleteCompletion() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult.CompleteCompletion
 
CompleteRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
 
CompleteResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult
 
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 the SSE connection with the server and sets up message handling.
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
 
connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in interface io.modelcontextprotocol.spec.McpTransport
Deprecated.
This is only relevant for client-side transports and will be removed from this interface in 0.9.0.
content(McpSchema.Content) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
costPriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
create(McpServerTransport) - Method in interface io.modelcontextprotocol.spec.McpServerSession.Factory
Creates a new 1:1 representation of the client-server interaction.
createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
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.McpSyncServer
Deprecated.
createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
Create a new message using the sampling capabilities of the client.
CreateMessageRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
 
CreateMessageResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
 

D

data(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
DEFAULT_SSE_ENDPOINT - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Default SSE endpoint path as specified by the MCP transport specification.
DefaultMcpSession - Class in io.modelcontextprotocol.spec
Deprecated.
This method will be removed in 0.9.0. Use McpClientSession instead
DefaultMcpSession(Duration, McpTransport, Map<String, DefaultMcpSession.RequestHandler<?>>, Map<String, DefaultMcpSession.NotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
Creates a new DefaultMcpSession with the specified configuration and handlers.
DefaultMcpSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
Deprecated.
 
DefaultMcpSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
Deprecated.
Functional interface for handling incoming JSON-RPC notifications.
DefaultMcpSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
Deprecated.
Functional interface for handling incoming JSON-RPC requests.
deserializeJsonRpcMessage(ObjectMapper, String) - Static method in class io.modelcontextprotocol.spec.McpSchema
Deserializes a JSON string into a JSONRPCMessage object.

E

EmbeddedResource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
 
ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
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.McpServerParameters.Builder
 
ErrorCodes() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
 
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
 

F

fromMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
根据 mcpServers 配置加载客户端
fromSync(McpServerFeatures.SyncToolSpecification) - Static method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
 

G

getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.Annotated
 
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.McpServerParameters
 
getAsyncServer() - Method in class io.modelcontextprotocol.server.McpSyncServer
Get the underlying async server instance.
getChannel() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getClient() - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
获取客户端
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.McpAsyncServer
Deprecated.
This will be removed in 0.9.0. Use McpAsyncServerExchange.getClientCapabilities().
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.McpSyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpSyncServerExchange.getClientCapabilities().
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.McpAsyncServer
Deprecated.
This will be removed in 0.9.0. Use McpAsyncServerExchange.getClientInfo().
getClientInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
Get the client implementation information.
getClientInfo() - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpSyncServerExchange.getClientInfo().
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.McpServerParameters
 
getEnv() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
 
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
 
getHeartbeatInterval() - 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.
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
 
getMessageEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
getMethodNotFoundError(String) - Static method in class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
 
getMethodNotFoundError(String) - Static method in class io.modelcontextprotocol.spec.McpClientSession
 
getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
The MIME type of this resource.
getName() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getName() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
名字
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
 
GetPromptRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptRequest
 
GetPromptResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptResult
 
getRequestTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
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.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.McpSyncServer
Get the server implementation information.
getServerParameters() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
getSseEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
getSseEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
端点
getTools() - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
获取函数工具(可用于模型绑定)
getTools(String) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider
获取函数工具(可用于模型绑定)
getType() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteRequest.PromptOrResourceReference
 
getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
The URI of this resource.
getVersion() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 

H

handle(Object) - Method in interface io.modelcontextprotocol.spec.DefaultMcpSession.NotificationHandler
Deprecated.
Handles an incoming notification with the given parameters.
handle(Object) - Method in interface io.modelcontextprotocol.spec.DefaultMcpSession.RequestHandler
Deprecated.
Handles an incoming request with the given parameters.
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
Handles the initialization request.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.NotificationHandler
Handles a notification from the client.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.RequestHandler
Handles a request from the client.
handleMessage(Context) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Handles incoming JSON-RPC messages from clients.
handleOutbound(Function<Flux<McpSchema.JSONRPCMessage>, Flux<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
handleSseConnection(Context) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Handles new SSE connection requests from clients.
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.Utils
Check whether the given String contains actual text.
headerSet(String, String) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
headerSet(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
heartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.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
 
httpTimeout(HttpTimeout) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 

I

ImageContent() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ImageContent
 
Implementation() - 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.
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.McpClientToolProvider.Builder
 
initialize() - Method in class io.modelcontextprotocol.client.McpAsyncClient
The initialization phase MUST 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.
initializedSink - Variable in class io.modelcontextprotocol.client.McpAsyncClient
 
InitializeRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeRequest
 
InitializeResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeResult
 
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.
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
 
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.
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.

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
 

L

LATEST_PROTOCOL_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
level() - Method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
 
level(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
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(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
 
listPrompts() - Method in class io.modelcontextprotocol.client.McpSyncClient
 
ListPromptsResult() - 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(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/list request.
listResources() - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/list request.
ListResourcesResult() - 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(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Resource templates allow servers to expose parameterized resources using URI templates.
listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpSyncClient
Request a list of resource templates the server has.
ListResourceTemplatesResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourceTemplatesResult
 
listRoots() - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
This will be removed in 0.9.0. Use McpAsyncServerExchange.listRoots().
listRoots(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Deprecated.
This will be removed in 0.9.0. Use McpAsyncServerExchange.listRoots(String).
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.McpSyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpSyncServerExchange.listRoots().
listRoots(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Deprecated.
This method will be removed in 0.9.0. Use McpSyncServerExchange.listRoots(String).
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() - 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() - 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
 
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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
 
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Send a logging message notification to all connected clients.
loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Send a logging message notification to all clients.

M

maxTokens(int) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
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.
McpAsyncServerExchange - Class in io.modelcontextprotocol.server
Represents an asynchronous exchange with a Model Context Protocol (MCP) client.
McpAsyncServerExchange(McpServerSession, McpSchema.ClientCapabilities, McpSchema.Implementation) - 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
 
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, McpTransport, Map<String, McpClientSession.RequestHandler<?>>, Map<String, McpClientSession.NotificationHandler>) - 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.
McpClientToolProvider - Class in org.noear.solon.ai.mcp.client
Mcp 连接工具提供者
McpClientToolProvider(Properties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientToolProvider
用于支持注入
McpClientToolProvider(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientToolProvider
用于简单构建
McpClientToolProvider(McpClientProperties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientToolProvider
 
McpClientToolProvider.Builder - Class in org.noear.solon.ai.mcp.client
 
McpClientTransport - Interface in io.modelcontextprotocol.spec
Marker interface for the client-side MCP transport.
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
 
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
 
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
 
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.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.CallToolResult - Class in io.modelcontextprotocol.spec
The server's response to a tools/call request from the client.
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.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.CompleteRequest - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.CompleteArgument - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.PromptOrResourceReference - Interface in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.PromptReference - Class in io.modelcontextprotocol.spec
 
McpSchema.CompleteRequest.ResourceReference - 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.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.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.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.ResourceContents - Interface in io.modelcontextprotocol.spec
The contents of a specific resource or sub-resource.
McpSchema.ResourceTemplate - Class in io.modelcontextprotocol.spec
Resource templates allow servers to expose parameterized resources using URI templates.
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.LoggingCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.PromptCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.ResourceCapabilities - Class in io.modelcontextprotocol.spec
 
McpSchema.ServerCapabilities.ToolCapabilities - Class in io.modelcontextprotocol.spec
 
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.UnsubscribeRequest - Class in io.modelcontextprotocol.spec
 
McpServer - Interface in io.modelcontextprotocol.server
Factory class for creating Model Context Protocol (MCP) servers.
McpServer.AsyncSpec - Class in io.modelcontextprotocol.server
Deprecated. 
McpServer.AsyncSpecification - Class in io.modelcontextprotocol.server
Asynchronous server specification.
McpServer.SyncSpec - Class in io.modelcontextprotocol.server
Deprecated. 
McpServer.SyncSpecification - Class in io.modelcontextprotocol.server
Synchronous server specification.
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.AsyncPromptRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.AsyncPromptSpecification.
McpServerFeatures.AsyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its asynchronous handler function.
McpServerFeatures.AsyncResourceRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.AsyncResourceSpecification.
McpServerFeatures.AsyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its asynchronous handler function.
McpServerFeatures.AsyncToolRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.AsyncToolSpecification.
McpServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its asynchronous handler function.
McpServerFeatures.Sync - Class in io.modelcontextprotocol.server
Synchronous server features specification.
McpServerFeatures.SyncPromptRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.SyncPromptSpecification.
McpServerFeatures.SyncPromptSpecification - Class in io.modelcontextprotocol.server
Specification of a prompt template with its synchronous handler function.
McpServerFeatures.SyncResourceRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.SyncResourceSpecification.
McpServerFeatures.SyncResourceSpecification - Class in io.modelcontextprotocol.server
Specification of a resource with its synchronous handler function.
McpServerFeatures.SyncToolRegistration - Class in io.modelcontextprotocol.server
Deprecated.
This class is deprecated and will be removed in 0.9.0. Use McpServerFeatures.SyncToolSpecification.
McpServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
Specification of a tool with its synchronous handler function.
McpServerParameters - Class in org.noear.solon.ai.mcp.client
 
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 Control Protocol (MCP) session on the server side.
McpServerSession(String, McpServerTransport, McpServerSession.InitRequestHandler, McpServerSession.InitNotificationHandler, Map<String, McpServerSession.RequestHandler<?>>, Map<String, McpServerSession.NotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
Creates a new server session with the given parameters and the transport to use.
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
Request handler for the initialization request.
McpServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
 
McpServerSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
A handler for client-initiated notifications.
McpServerSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
A handler for client-initiated requests.
McpServerTransport - Interface in io.modelcontextprotocol.spec
Marker interface for the server-side MCP transport.
McpServerTransportProvider - Interface in io.modelcontextprotocol.spec
The core building block providing the server-side MCP transport.
McpSession - Interface in io.modelcontextprotocol.spec
Represents a Model Control Protocol (MCP) session that handles communication between clients and the server.
McpSyncClient - Class in io.modelcontextprotocol.client
A synchronous client implementation for the Model Context Protocol (MCP) that wraps an McpAsyncClient to provide blocking operations.
McpSyncClient(McpAsyncClient) - Constructor for class io.modelcontextprotocol.client.McpSyncClient
Deprecated.
This method will be removed in 0.9.0. Use McpClient.sync(McpClientTransport) to obtain an instance.
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.
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).
message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
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 URI where clients should send their JSON-RPC messages.
messages(List<McpSchema.SamplingMessage>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
metadata(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
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_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_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
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.DefaultMcpSession.MethodNotFoundError
Deprecated.
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpClientSession.MethodNotFoundError
 
MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpServerSession.MethodNotFoundError
 
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
 

N

name(String) - Method in class org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
name(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
名字
notEmpty(Collection<?>, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that the collection is not null and not empty.
notifyClients(String, Map<String, Object>) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
 
notifyClients(String, Map<String, Object>) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Broadcasts a JSON-RPC message to all connected clients through their SSE connections.
notifyClients(String, Map<String, Object>) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
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.
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.
notifyToolsListChanged() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
通知工具变化
notNull(Object, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that an object is not null.

O

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
JSON object mapper for message serialization/deserialization
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.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 ObjectMapper to use for JSON serialization/deserialization of MCP messages.
of(String) - Static method in class io.modelcontextprotocol.spec.McpSchema.ModelHint
 
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
 

P

PaginatedRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
 
PaginatedResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedResult
 
PARSE_ERROR - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Invalid JSON was received by the server.
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.
postStart() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
ProgressNotification() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ProgressNotification
 
Prompt() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
 
PromptArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptArgument
 
PromptCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.PromptCapabilities
 
PromptMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptMessage
 
PromptReference() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.PromptReference
 
prompts(Map<String, McpServerFeatures.AsyncPromptRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple prompts with their handlers using a Map.
prompts(List<McpServerFeatures.AsyncPromptRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple prompts with their handlers using a List.
prompts(McpServerFeatures.AsyncPromptRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple prompts with their handlers using varargs.
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, McpServerFeatures.SyncPromptRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple prompts with their handlers using a Map.
prompts(List<McpServerFeatures.SyncPromptRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple prompts with their handlers using a List.
prompts(McpServerFeatures.SyncPromptRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
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.

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.
ReadResourceRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceRequest
 
ReadResourceResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceResult
 
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Remove a prompt handler at runtime.
removePrompt(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Remove a prompt handler.
removeResource(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Remove a resource handler at runtime.
removeResource(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
Remove a resource handler.
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.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.McpClientToolProvider
重新打开
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 org.noear.solon.ai.mcp.client.McpClientToolProvider.Builder
 
Resource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Resource
 
ResourceCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ResourceCapabilities
 
ResourceReference() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.ResourceReference
 
resources(Map<String, McpServerFeatures.AsyncResourceRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple resources with their handlers using a Map.
resources(List<McpServerFeatures.AsyncResourceRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple resources with their handlers using a List.
resources(McpServerFeatures.AsyncResourceRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple resources with their handlers using varargs.
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, McpServerFeatures.SyncResourceRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple resources with their handlers using a Map.
resources(List<McpServerFeatures.SyncResourceRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple resources with their handlers using a List.
resources(McpServerFeatures.SyncResourceRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
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.
ResourceTemplate() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
 
resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Sets the resource templates using varargs for convenience.
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.SyncSpec
Deprecated.
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
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.
resume() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
恢复(主要用于测试)
role(McpSchema.Role) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
Root() - 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
 
rootsChangeConsumer(Function<List<McpSchema.Root>, Mono<Void>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers a consumer that will be notified when the list of roots changes.
rootsChangeConsumer(Consumer<List<McpSchema.Root>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers a consumer that will be notified when the list of roots changes.
rootsChangeConsumers(List<Function<List<McpSchema.Root>, Mono<Void>>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple consumers that will be notified when the list of roots changes.
rootsChangeConsumers(Function<List<McpSchema.Root>, Mono<Void>>...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Registers multiple consumers that will be notified when the list of roots changes using varargs.
rootsChangeConsumers(List<Consumer<List<McpSchema.Root>>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple consumers that will be notified when the list of roots changes.
rootsChangeConsumers(Consumer<List<McpSchema.Root>>...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Registers multiple consumers that will be notified when the list of roots changes using varargs.
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
 
sendHeartbeat() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
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.
sendMessage(McpSchema.JSONRPCMessage) - Method in interface io.modelcontextprotocol.spec.McpTransport
Sends a message to the peer asynchronously.
sendNotification(String, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
Sends a JSON-RPC notification.
sendNotification(String, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpClientSession
Sends a JSON-RPC notification.
sendNotification(String, Map<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, Map<String, Object>) - Method in interface io.modelcontextprotocol.spec.McpSession
Sends a notification to the model client or server with parameters.
sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.DefaultMcpSession
Deprecated.
Sends a JSON-RPC request and returns the response.
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.
ServerCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
 
serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Sets the server implementation information using name and version strings.
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.SyncSpec
Deprecated.
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
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.
ServerMcpTransport - Interface in io.modelcontextprotocol.spec
Deprecated.
This class will be removed in 0.9.0. Use McpServerTransport.
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.McpClientToolProvider.Builder
服务端参数(用于 stdio)
ServerParameters.Builder - Class in io.modelcontextprotocol.client.transport
 
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.McpServerParameters
 
setChannel(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.McpServerParameters
 
setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
setHeartbeatInterval(Duration) - 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
 
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.
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(McpServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
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.
setVersion(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
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 SSE endpoint path.
sseEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
SSE 端点
start(AppContext) - Method in class org.noear.solon.ai.mcp.integration.McpPlugin
 
start() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
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 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
 
SubscribeRequest() - 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(ClientMcpTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
Deprecated.
This method will be removed in 0.9.0. Use McpClient.sync(McpClientTransport)
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(ServerMcpTransport) - Static method in interface io.modelcontextprotocol.server.McpServer
Deprecated.
This method will be removed in 0.9.0. Use McpServer.sync(McpServerTransportProvider) instead.
SyncPromptRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptRegistration
Deprecated.
 
SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification
 
SyncResourceRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceRegistration
Deprecated.
 
SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification
 
SyncToolRegistration() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncToolRegistration
Deprecated.
 
SyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.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(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextContent
 
TextResourceContents() - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextResourceContents
 
toCompletableFuture(Future<T>) - Static method in class io.modelcontextprotocol.util.Utils
 
toCompletableFutureDiscard(Future<?>) - Static method in class io.modelcontextprotocol.util.Utils
 
toHttpHandler(SolonApp) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
tool(McpSchema.Tool, Function<Map<String, Object>, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Adds a single tool with its implementation handler to the server.
tool(McpSchema.Tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds a single tool with its implementation handler to the server.
tool(McpSchema.Tool, Function<Map<String, Object>, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Adds a single tool with its implementation handler to the server.
tool(McpSchema.Tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds a single tool with its implementation handler to the server.
Tool(String, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
 
ToolCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ToolCapabilities
 
tools(List<McpServerFeatures.AsyncToolRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.AsyncToolRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpec
Deprecated.
Adds multiple tools with their handlers to the server using varargs.
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<McpServerFeatures.SyncToolRegistration>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.SyncToolRegistration...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpec
Deprecated.
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.
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptRegistration
Deprecated.
 
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceRegistration
Deprecated.
 
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolRegistration
Deprecated.
 
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptRegistration
Deprecated.
 
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceRegistration
Deprecated.
 
toSpecification() - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolRegistration
Deprecated.
 
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
Unmarshals data to the specified type using the configured object mapper.
unmarshalFrom(Object, TypeReference<T>) - Method in interface io.modelcontextprotocol.spec.McpTransport
Unmarshals the given data into an object of the specified type.
UnsubscribeRequest() - 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.
Utils - Class in io.modelcontextprotocol.util
Miscellaneous utility methods.
Utils() - Constructor for class io.modelcontextprotocol.util.Utils
 

V

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.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.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.McpClientToolProvider.Builder
 
version(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
版本号

W

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
Creates a new transport instance with default HTTP client and object mapper.
WebRxSseClientTransport(HttpUtilsBuilder, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new transport instance with custom HTTP client builder and object mapper.
WebRxSseClientTransport(HttpUtilsBuilder, String, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new transport instance with custom HTTP client builder and object mapper.
WebRxSseClientTransport.Builder - Class in io.modelcontextprotocol.client.transport
WebRxSseServerTransportProvider - Class in io.modelcontextprotocol.server.transport
Server-side implementation of the MCP (Model Context Protocol) HTTP transport using Server-Sent Events (SSE).
WebRxSseServerTransportProvider(ObjectMapper, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Constructs a new WebFlux SSE server transport provider instance.
WebRxSseServerTransportProvider(ObjectMapper, String) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Constructs a new WebFlux SSE server transport provider instance with the default SSE endpoint.
WebRxSseServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
Builder for creating instances of WebRxSseServerTransportProvider.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2025. All rights reserved.