- cacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- callHandler(BiFunction<McpAsyncServerExchange, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification.Builder
-
Sets the call tool handler function.
- callHandler(BiFunction<McpSyncServerExchange, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification.Builder
-
Sets the call tool handler function.
- callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
-
Sets the call tool handler function.
- callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
-
Sets the call tool handler function.
- callTool(McpSchema.CallToolRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Calls a tool provided by the server.
- callTool(McpSchema.CallToolRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Calls a tool provided by the server.
- callTool(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
调用工具
- callToolAsImage(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
调用工具并转为图像
- callToolAsText(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
调用工具并转为文本
- CallToolRequest(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
-
- CallToolRequest(String, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
-
- CallToolResult(List<McpSchema.Content>, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
-
- CallToolResult(List<McpSchema.Content>, Boolean, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
-
- CallToolResult(String, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
-
- capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the client capabilities that will be advertised to the server during
connection initialization.
- capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the client capabilities that will be advertised to the server during
connection initialization.
- capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the server capabilities that will be advertised to clients during
connection initialization.
- capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the server capabilities that will be advertised to clients during
connection initialization.
- capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the server capabilities that will be advertised to clients during
connection initialization.
- capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the server capabilities that will be advertised to clients during
connection initialization.
- channel(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- channel(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
通道
- clearCache() - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
-
Clears the schema cache.
- clearCache() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
清理缓存
- ClientCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities
-
- clientInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the client implementation information that will be shared with the server
during connection initialization.
- clientInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the client implementation information that will be shared with the server
during connection initialization.
- close() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Closes the client connection immediately.
- close() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- close() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Close the server immediately.
- close() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Close the server immediately.
- close() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Close the server immediately.
- close() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Close the server immediately.
- close() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
-
- close() - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Closes the session immediately, potentially interrupting pending operations.
- close() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- close() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
-
Immediately closes all the transports with connected clients and releases any
associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpSession
-
Closes the session and releases any associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
-
Immediately closes all the transports with connected clients and releases any
associated resources.
- close() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- close() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
- close() - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
-
Immediately closes all the transports with connected clients and releases any
associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Closes the transport connection and releases any associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
-
Close and clear the monitored resources.
- close() - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
- close() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
关闭
- close() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
关闭
- closeGracefully() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Gracefully closes the client connection.
- closeGracefully() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- closeGracefully() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Gracefully closes the transport by destroying the process and disposing of the
schedulers.
- closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Implements graceful shutdown of the transport.
- closeGracefully() - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
-
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Gracefully closes the server, allowing any in-progress operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Gracefully closes the server, allowing any in-progress operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Gracefully closes the server, allowing any in-progress operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Close the server gracefully.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
Initiates a graceful shutdown of the transport.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
-
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
-
Initiates a graceful shutdown of the transport.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
-
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Closes the session gracefully, allowing pending operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
-
Gracefully closes all the transports with connected clients and releases any
associated resources asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpSession
-
Closes the session and releases any associated resources asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
-
Gracefully closes all the transports with connected clients and releases any
associated resources asynchronously.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
-
Gracefully closes all the transports with connected clients and releases any
associated resources asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Closes the transport connection and releases any associated resources
asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
-
Close and clear the monitored resources in a graceful manner.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
- command(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- CompleteArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteArgument
-
- completeCompletion(McpSchema.CompleteRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Sends a completion/complete request to generate value suggestions based on a given
reference and argument.
- completeCompletion(McpSchema.CompleteRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a completion/complete request.
- CompleteCompletion() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult.CompleteCompletion
-
- CompleteContext() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteContext
-
- CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
-
- CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument, McpSchema.CompleteRequest.CompleteContext) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
-
- CompleteRequest(McpSchema.CompleteReference, McpSchema.CompleteRequest.CompleteArgument) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
-
- CompleteResult(McpSchema.CompleteResult.CompleteCompletion) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult
-
- CompletionCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.CompletionCapabilities
-
- completions(List<McpServerFeatures.AsyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple completions with their handlers using a List.
- completions(McpServerFeatures.AsyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple completions with their handlers using varargs.
- completions(List<McpStatelessServerFeatures.AsyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple completions with their handlers using a List.
- completions(McpStatelessServerFeatures.AsyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple completions with their handlers using varargs.
- completions(List<McpStatelessServerFeatures.SyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple completions with their handlers using a List.
- completions(McpStatelessServerFeatures.SyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple completions with their handlers using varargs.
- completions(List<McpServerFeatures.SyncCompletionSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple completions with their handlers using a List.
- completions(McpServerFeatures.SyncCompletionSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple completions with their handlers using varargs.
- completions() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Starts the server process and initializes the message processing streams.
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Establishes a connection to the MCP server using Server-Sent Events (SSE).
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
-
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
-
Used to register the incoming messages' handler and potentially (eagerly) connect
to the server.
- consumeSseStream(Publisher<Tuple2<Optional<String>, Iterable<McpSchema.JSONRPCMessage>>>) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
-
- consumeSseStream(Publisher<Tuple2<Optional<String>, Iterable<McpSchema.JSONRPCMessage>>>) - Method in interface io.modelcontextprotocol.spec.McpTransportStream
-
Allows keeping track of the transport stream of events (currently an SSE stream
from Streamable HTTP specification) and enable resumability and reconnects in case
of stream errors.
- contains(String) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
-
是否包含
- contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
-
- contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
-
- contains(String) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
-
- content(List<McpSchema.Content>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
-
Sets the content list for the tool result.
- content(McpSchema.Content) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- content(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
-
- contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
-
Sets the context extractor that allows providing the MCP feature
implementations to inspect HTTP transport level metadata that was present at
HTTP request processing time.
- contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
-
Sets the context extractor that allows providing the MCP feature
implementations to inspect HTTP transport level metadata that was present at
HTTP request processing time.
- contextExtractor(McpTransportContextExtractor<Context>) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
-
Sets the context extractor that allows providing the MCP feature
implementations to inspect HTTP transport level metadata that was present at
HTTP request processing time.
- contextPath(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
- cookie(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- cookieMap() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- cookieNames() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- cookieOrDefault(String, String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- cookieValues(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- copy() - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
-
Allows copying the contents.
- copy() - Method in interface io.modelcontextprotocol.server.McpTransportContext
-
Copies the contents of the context to allow further modifications without affecting
the initial object.
- costPriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
-
- count() - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
-
数量
- count() - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
-
- count() - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
-
- count() - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
-
- create(McpServerTransport) - Method in interface io.modelcontextprotocol.spec.McpServerSession.Factory
-
Creates a new 1:1 representation of the client-server interaction.
- create(String) - Method in class io.modelcontextprotocol.util.DeafaultMcpUriTemplateManagerFactory
-
- create(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManagerFactory
-
- CREATE_MESSAGE_REQUEST_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
-
- createElicitation(McpSchema.ElicitRequest) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Creates a new elicitation.
- createElicitation(McpSchema.ElicitRequest) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Creates a new elicitation.
- createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Create a new message using the sampling capabilities of the client.
- createMessage(McpSchema.CreateMessageRequest) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Create a new message using the sampling capabilities of the client.
- CreateMessageRequest(List<McpSchema.SamplingMessage>, McpSchema.ModelPreferences, String, McpSchema.CreateMessageRequest.ContextInclusionStrategy, Double, int, List<String>, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
-
- CreateMessageResult(McpSchema.Role, McpSchema.Content, String, McpSchema.CreateMessageResult.StopReason) - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
-
- generateCacheKey(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
-
Generates a cache key for the given schema map.
- get(String) - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
-
- get(String) - Method in interface io.modelcontextprotocol.server.McpTransportContext
-
Extract a value from the context.
- getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.Annotated
-
- getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
-
- getApiKey() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getApiUrl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getArgs() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
-
- getArgs() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getArgs() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getAsyncServer() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Get the underlying async server instance.
- getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
-
- getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.ImageContent
-
- getAudience() - Method in class io.modelcontextprotocol.spec.McpSchema.TextContent
-
- getCacheSeconds() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getCacheSize() - Method in class io.modelcontextprotocol.spec.DefaultJsonSchemaValidator
-
Returns the current size of the schema cache.
- getChannel() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getChannel() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
通道
- getClient() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
获取客户端
- getClientCapabilities() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the client capabilities that define the supported features and functionality.
- getClientCapabilities() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the client capabilities that define the supported features and functionality.
- getClientCapabilities() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Get the client capabilities that define the supported features and functionality.
- getClientCapabilities() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Get the client capabilities that define the supported features and functionality.
- getClientInfo() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the client implementation information.
- getClientInfo() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the client implementation information.
- getClientInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Get the client implementation information.
- getClientInfo() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Get the client implementation information.
- getCommand() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
-
- getCommand() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getCommand() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getCurrentInitializationResult() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the current initialization result.
- getCurrentInitializationResult() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the current initialization result.
- getDescription() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
-
- getEnv() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
-
- getEnv() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getEnv() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getErrorSink() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
- getHeaders() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getHeaders() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getHeartbeatInterval() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getHttpProxy() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getHttpSsl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getHttpTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getId() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
Retrieve the session id.
- getId() - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
Return the Session ID.
- getIdentifier() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteReference
-
- getIdentifier() - Method in class io.modelcontextprotocol.spec.McpSchema.PromptReference
-
- getIdentifier() - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceReference
-
- getInitializationTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getJsonrpc() - Method in interface io.modelcontextprotocol.spec.McpSchema.JSONRPCMessage
-
- getJsonRpcError() - Method in exception io.modelcontextprotocol.spec.McpError
-
- getMcpEndpoint() - Method in interface io.modelcontextprotocol.server.transport.IMcpHttpServerTransport
-
- getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
-
- getMcpEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
-
- getMcpEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
MCP 端点
- getMessageEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Content
-
- getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Notification
-
- getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Request
-
- getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
-
- getMeta() - Method in interface io.modelcontextprotocol.spec.McpSchema.Result
-
- getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
-
- getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
-
The MIME type of this resource.
- getName() - Method in interface io.modelcontextprotocol.spec.McpSchema.BaseMetadata
-
Intended for programmatic or logical use, but used as a display name in past
specs or fallback (if title isn't present).
- getName() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getName() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
名字
- getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
-
- getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.ImageContent
-
- getPriority() - Method in class io.modelcontextprotocol.spec.McpSchema.TextContent
-
- getProcessBuilder() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Creates and returns a new ProcessBuilder instance.
- getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a specific prompt by its ID.
- getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- getPrompt(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
获取提示语
- getPromptAsMessages(String, Map<String, Object>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
获取提示语
- GetPromptRequest(String, Map<String, Object>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptRequest
-
- GetPromptResult(String, List<McpSchema.PromptMessage>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptResult
-
- getPrompts() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getPrompts(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getPrompts() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
获取提示语
- getPrompts() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- getPrompts() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
-
- getPrompts() - Method in interface org.noear.solon.ai.mcp.server.prompt.PromptProvider
-
获取提示语
- getProvider(String) - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
获取提供者
- getProviders() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
获取所有提供者
- getRequestTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getResources() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getResources(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getResources() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
获取资源
- getResources() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- getResources() - Method in class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
-
- getResources() - Method in interface org.noear.solon.ai.mcp.server.resource.ResourceProvider
-
获取资源
- getResourceTemplates() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getResourceTemplates(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
- getServer() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
获取服务端(postStart 后有效)
- getServerCapabilities() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the server capabilities that define the supported features and functionality.
- getServerCapabilities() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the server capabilities that define the supported features and functionality.
- getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Get the server capabilities that define the supported features and functionality.
- getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Get the server capabilities that define the supported features and functionality.
- getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Get the server capabilities that define the supported features and functionality.
- getServerCapabilities() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Get the server capabilities that define the supported features and functionality.
- getServerInfo() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Get the server implementation information.
- getServerInstructions() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the server instructions that provide guidance to the client on how to interact
with this server.
- getServerInstructions() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the server instructions that provide guidance to the client on how to interact
with this server.
- getServerParameters() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getSize() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
-
- getTimeout() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getTitle() - Method in interface io.modelcontextprotocol.spec.McpSchema.BaseMetadata
-
Intended for UI and end-user contexts — optimized to be human-readable and
easily understood, even by those unfamiliar with domain-specific terminology.
- getTools() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
获取函数工具(可用于模型绑定)
- getTools(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
获取函数工具(可用于模型绑定)
- getTools() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
获取工具
- getTools() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
获取所有工具
- getTransport() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getType() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteReference
-
- getType() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContent
-
- getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
-
The URI of this resource.
- getUrl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getUrl() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getVariableNames() - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
-
Extract URI variable names from a URI template.
- getVariableNames() - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
-
Extract URI variable names from this URI template.
- getVersion() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getVersion() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
版本
- LAST_EVENT_ID - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
-
Identifies events within an SSE Stream.
- lastId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
-
- lastId() - Method in interface io.modelcontextprotocol.spec.McpTransportStream
-
The last observed event identifier.
- LATEST_PROTOCOL_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
Deprecated.
- level() - Method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
-
- level(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
-
- listeningStream(McpStreamableServerTransport) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
Create a listening stream (the generic HTTP GET request without Last-Event-ID
header).
- listPrompts() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all prompts provided by the server.
- listPrompts(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of prompts provided by the server.
- listPrompts() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves the list of all prompts provided by the server.
- listPrompts(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves a paginated list of prompts provided by the server.
- ListPromptsResult(List<McpSchema.Prompt>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListPromptsResult
-
- listResources() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all resources provided by the server.
- listResources(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of resources provided by the server.
- listResources() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves the list of all resources provided by the server.
- listResources(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves a paginated list of resources provided by the server.
- ListResourcesResult(List<McpSchema.Resource>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourcesResult
-
- listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all resource templates provided by the server.
- listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of resource templates provided by the server.
- listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves the list of all resource templates provided by the server.
- listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Resource templates allow servers to expose parameterized resources using URI
templates.
- ListResourceTemplatesResult(List<McpSchema.ResourceTemplate>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourceTemplatesResult
-
- listRoots() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Retrieves the list of all roots provided by the client.
- listRoots(String) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Retrieves a paginated list of roots provided by the client.
- listRoots() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Retrieves the list of all roots provided by the client.
- listRoots(String) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Retrieves a paginated list of roots provided by the client.
- ListRootsResult(List<McpSchema.Root>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListRootsResult
-
- ListRootsResult(List<McpSchema.Root>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListRootsResult
-
- listTools() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all tools provided by the server.
- listTools(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of tools provided by the server.
- listTools() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves the list of all tools provided by the server.
- listTools(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves a paginated list of tools provided by the server.
- ListToolsResult(List<McpSchema.Tool>, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListToolsResult
-
- logger(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
-
- logging() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- LOGGING_MESSAGE_NOTIFICATION_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
-
- LoggingCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.LoggingCapabilities
-
- loggingConsumer(Function<McpSchema.LoggingMessageNotification, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when logging messages are received from the
server.
- loggingConsumer(Consumer<McpSchema.LoggingMessageNotification>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified when logging messages are received from the
server.
- loggingConsumers(List<Function<McpSchema.LoggingMessageNotification, Mono<Void>>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds multiple consumers to be notified when logging messages are received from
the server.
- loggingConsumers(List<Consumer<McpSchema.LoggingMessageNotification>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds multiple consumers to be notified when logging messages are received from
the server.
- LoggingMessageNotification(McpSchema.LoggingLevel, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
-
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Send a logging message notification to the client.
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Send a logging message notification to the client.
- markInitialized(String) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
-
- markInitialized(String) - Method in interface io.modelcontextprotocol.spec.McpTransportSession
-
Stateful operation that flips the un-initialized state to initialized if this is
the first call.
- matches(String) - Method in class io.modelcontextprotocol.util.DefaultMcpUriTemplateManager
-
Check if a URI matches the uriTemplate with variables.
- matches(String) - Method in interface io.modelcontextprotocol.util.McpUriTemplateManager
-
Indicate whether the given URI matches this template.
- maxTokens(int) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- MCP_2024_11_05 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
-
MCP protocol version for 2024-11-05.
- MCP_2025_03_26 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
-
MCP protocol version for 2025-03-26.
- MCP_2025_06_18 - Static variable in interface io.modelcontextprotocol.spec.ProtocolVersions
-
MCP protocol version for 2025-06-18.
- MCP_SESSION_ID - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
-
Identifies individual MCP sessions.
- McpAsyncClient - Class in io.modelcontextprotocol.client
-
The Model Context Protocol (MCP) client implementation that provides asynchronous
communication with MCP servers using Project Reactor's Mono and Flux types.
- McpAsyncServer - Class in io.modelcontextprotocol.server
-
The Model Context Protocol (MCP) server implementation that provides asynchronous
communication using Project Reactor's Mono and Flux types.
- McpAsyncServer(McpServerTransportProvider, ObjectMapper, McpServerFeatures.Async, Duration, McpUriTemplateManagerFactory, JsonSchemaValidator) - Constructor for class io.modelcontextprotocol.server.McpAsyncServer
-
Create a new McpAsyncServer with the given transport provider and capabilities.
- McpAsyncServer(McpStreamableServerTransportProvider, ObjectMapper, McpServerFeatures.Async, Duration, McpUriTemplateManagerFactory, JsonSchemaValidator) - Constructor for class io.modelcontextprotocol.server.McpAsyncServer
-
- McpAsyncServerExchange - Class in io.modelcontextprotocol.server
-
Represents an asynchronous exchange with a Model Context Protocol (MCP) client.
- McpAsyncServerExchange(McpSession, McpSchema.ClientCapabilities, McpSchema.Implementation) - Constructor for class io.modelcontextprotocol.server.McpAsyncServerExchange
-
- McpAsyncServerExchange(String, McpLoggableSession, McpSchema.ClientCapabilities, McpSchema.Implementation, McpTransportContext) - Constructor for class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Create a new asynchronous exchange with the client.
- McpChannel - Interface in org.noear.solon.ai.mcp
-
Mcp 通道
- McpClient - Interface in io.modelcontextprotocol.client
-
Factory class for creating Model Context Protocol (MCP) clients.
- McpClient.AsyncSpec - Class in io.modelcontextprotocol.client
-
Asynchronous client specification.
- McpClient.SyncSpec - Class in io.modelcontextprotocol.client
-
Synchronous client specification.
- McpClientProperties - Class in org.noear.solon.ai.mcp.client
-
Mcp 客户端属性
- McpClientProperties() - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
-
- McpClientProperties(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
-
- McpClientProvider - Class in org.noear.solon.ai.mcp.client
-
Mcp 客户端提供者
{@code
McpClientProvider toolProvider = McpClientProvider.builder()
.apiUrl("http://localhost:8081/sse")
.build();
ChatModel chatModel = ChatModel.of("http://127.0.0.1:11434/api/chat")
.model("deepseek-v3")
.defaultToolsAdd(toolProvider)
.build();
ChatResponse resp = chatModel.prompt("杭州天气和北京降雨量如何?")
- McpClientProvider(Properties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
-
用于支持注入
- McpClientProvider(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
-
用于简单构建
- McpClientProvider(McpClientProperties) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider
-
- McpClientProvider.Builder - Class in org.noear.solon.ai.mcp.client
-
- McpClientSession - Class in io.modelcontextprotocol.spec
-
Default implementation of the MCP (Model Context Protocol) session that manages
bidirectional JSON-RPC communication between clients and servers.
- McpClientSession(Duration, McpClientTransport, Map<String, McpClientSession.RequestHandler<?>>, Map<String, McpClientSession.NotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpClientSession
-
- McpClientSession(Duration, McpClientTransport, Map<String, McpClientSession.RequestHandler<?>>, Map<String, McpClientSession.NotificationHandler>, Function<? super Mono<Void>, ? extends Publisher<Void>>) - Constructor for class io.modelcontextprotocol.spec.McpClientSession
-
Creates a new McpClientSession with the specified configuration and handlers.
- McpClientSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
-
- McpClientSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
-
Functional interface for handling incoming JSON-RPC notifications.
- McpClientSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
-
Functional interface for handling incoming JSON-RPC requests.
- McpClientTransport - Interface in io.modelcontextprotocol.spec
-
- mcpEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- mcpEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
MCP 端点
- McpError - Exception in io.modelcontextprotocol.spec
-
- McpError(McpSchema.JSONRPCResponse.JSONRPCError) - Constructor for exception io.modelcontextprotocol.spec.McpError
-
- McpError(Object) - Constructor for exception io.modelcontextprotocol.spec.McpError
-
Deprecated.
- McpError(Object, Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpError
-
- McpError.Builder - Class in io.modelcontextprotocol.spec
-
- McpException - Exception in org.noear.solon.ai.mcp.exception
-
- McpException(String) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpException(String, Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpException(Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpInitRequestHandler - Interface in io.modelcontextprotocol.server
-
Request handler for the initialization request.
- McpLoggableSession - Interface in io.modelcontextprotocol.spec
-
An
McpSession which is capable of processing logging notifications and keeping
track of a min logging level.
- McpNotificationHandler - Interface in io.modelcontextprotocol.server
-
A handler for client-initiated notifications.
- McpPlugin - Class in org.noear.solon.ai.mcp.integration
-
Mcp 插件
- McpPlugin() - Constructor for class org.noear.solon.ai.mcp.integration.McpPlugin
-
- McpProperties - Class in org.noear.solon.ai.mcp.integration
-
Mcp 属性(仅用于配置提示)
- McpProperties() - Constructor for class org.noear.solon.ai.mcp.integration.McpProperties
-
- McpProviders - Class in org.noear.solon.ai.mcp.client
-
Mcp 提供者集合(用于对接 mcpServers 配置)
- McpProviders(Map<String, McpClientProvider>) - Constructor for class org.noear.solon.ai.mcp.client.McpProviders
-
- McpRequestHandler<T> - Interface in io.modelcontextprotocol.server
-
A handler for client-initiated requests.
- McpSchema - Class in io.modelcontextprotocol.spec
-
- McpSchema.Annotated - Interface in io.modelcontextprotocol.spec
-
Base for objects that include optional annotations for the client.
- McpSchema.Annotations - Class in io.modelcontextprotocol.spec
-
Optional annotations for the client.
- McpSchema.AudioContent - Class in io.modelcontextprotocol.spec
-
Audio provided to or from an LLM.
- McpSchema.BaseMetadata - Interface in io.modelcontextprotocol.spec
-
Base interface for metadata with name (identifier) and title (display name)
properties.
- McpSchema.BlobResourceContents - Class in io.modelcontextprotocol.spec
-
Binary contents of a resource.
- McpSchema.CallToolRequest - Class in io.modelcontextprotocol.spec
-
Used by the client to call a tool provided by the server.
- McpSchema.CallToolRequest.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.CallToolResult - Class in io.modelcontextprotocol.spec
-
The server's response to a tools/call request from the client.
- McpSchema.CallToolResult.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ClientCapabilities - Class in io.modelcontextprotocol.spec
-
Clients can implement additional features to enrich connected MCP servers with
additional capabilities.
- McpSchema.ClientCapabilities.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ClientCapabilities.Elicitation - Class in io.modelcontextprotocol.spec
-
- McpSchema.ClientCapabilities.RootCapabilities - Class in io.modelcontextprotocol.spec
-
Roots define the boundaries of where servers can operate within the filesystem,
allowing them to understand which directories and files they have access to.
- McpSchema.ClientCapabilities.Sampling - Class in io.modelcontextprotocol.spec
-
Provides a standardized way for servers to request LLM
sampling ("completions" or "generations") from language
models via clients.
- McpSchema.CompleteReference - Interface in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.CompleteArgument - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.CompleteContext - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteResult.CompleteCompletion - Class in io.modelcontextprotocol.spec
-
- McpSchema.Content - Interface in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest.ContextInclusionStrategy - Enum in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult.StopReason - Enum in io.modelcontextprotocol.spec
-
- McpSchema.ElicitRequest - Class in io.modelcontextprotocol.spec
-
A request from the server to elicit additional information from the user via the
client.
- McpSchema.ElicitRequest.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ElicitResult - Class in io.modelcontextprotocol.spec
-
The client's response to an elicitation request.
- McpSchema.ElicitResult.Action - Enum in io.modelcontextprotocol.spec
-
- McpSchema.ElicitResult.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.EmbeddedResource - Class in io.modelcontextprotocol.spec
-
- McpSchema.ErrorCodes - Class in io.modelcontextprotocol.spec
-
Standard error codes used in MCP JSON-RPC responses.
- McpSchema.GetPromptRequest - Class in io.modelcontextprotocol.spec
-
Used by the client to get a prompt provided by the server.
- McpSchema.GetPromptResult - Class in io.modelcontextprotocol.spec
-
The server's response to a prompts/get request from the client.
- McpSchema.ImageContent - Class in io.modelcontextprotocol.spec
-
- McpSchema.Implementation - Class in io.modelcontextprotocol.spec
-
- McpSchema.InitializeRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.InitializeResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCMessage - Interface in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCNotification - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCResponse - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCResponse.JSONRPCError - Class in io.modelcontextprotocol.spec
-
- McpSchema.JsonSchema - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListPromptsResult - Class in io.modelcontextprotocol.spec
-
The server's response to a prompts/list request from the client.
- McpSchema.ListResourcesResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListResourceTemplatesResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListRootsResult - Class in io.modelcontextprotocol.spec
-
The client's response to a roots/list request from the server.
- McpSchema.ListToolsResult - Class in io.modelcontextprotocol.spec
-
The server's response to a tools/list request from the client.
- McpSchema.LoggingLevel - Enum in io.modelcontextprotocol.spec
-
- McpSchema.LoggingMessageNotification - Class in io.modelcontextprotocol.spec
-
The Model Context Protocol (MCP) provides a standardized way for servers to send
structured log messages to clients.
- McpSchema.LoggingMessageNotification.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelHint - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelPreferences - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelPreferences.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.Notification - Interface in io.modelcontextprotocol.spec
-
- McpSchema.PaginatedRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.PaginatedResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ProgressNotification - Class in io.modelcontextprotocol.spec
-
- McpSchema.Prompt - Class in io.modelcontextprotocol.spec
-
A prompt or prompt template that the server offers.
- McpSchema.PromptArgument - Class in io.modelcontextprotocol.spec
-
Describes an argument that a prompt can accept.
- McpSchema.PromptMessage - Class in io.modelcontextprotocol.spec
-
Describes a message returned as part of a prompt.
- McpSchema.PromptReference - Class in io.modelcontextprotocol.spec
-
Identifies a prompt for completion requests.
- McpSchema.ReadResourceRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.ReadResourceResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.Request - Interface in io.modelcontextprotocol.spec
-
- McpSchema.Resource - Class in io.modelcontextprotocol.spec
-
A known resource that the server is capable of reading.
- McpSchema.Resource.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ResourceContent - Interface in io.modelcontextprotocol.spec
-
A common interface for resource content, which includes metadata about the resource
such as its URI, name, description, MIME type, size, and annotations.
- McpSchema.ResourceContents - Interface in io.modelcontextprotocol.spec
-
The contents of a specific resource or sub-resource.
- McpSchema.ResourceLink - Class in io.modelcontextprotocol.spec
-
A known resource that the server is capable of reading.
- McpSchema.ResourceLink.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ResourceReference - Class in io.modelcontextprotocol.spec
-
A reference to a resource or resource template definition for completion requests.
- McpSchema.ResourcesUpdatedNotification - Class in io.modelcontextprotocol.spec
-
The Model Context Protocol (MCP) provides a standardized way for servers to send
resources update message to clients.
- McpSchema.ResourceTemplate - Class in io.modelcontextprotocol.spec
-
Resource templates allow servers to expose parameterized resources using URI
templates.
- McpSchema.Result - Interface in io.modelcontextprotocol.spec
-
- McpSchema.Role - Enum in io.modelcontextprotocol.spec
-
- McpSchema.Root - Class in io.modelcontextprotocol.spec
-
Represents a root directory or file that the server can operate on.
- McpSchema.SamplingMessage - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.CompletionCapabilities - Class in io.modelcontextprotocol.spec
-
Present if the server supports argument autocompletion suggestions.
- McpSchema.ServerCapabilities.LoggingCapabilities - Class in io.modelcontextprotocol.spec
-
Present if the server supports sending log messages to the client.
- McpSchema.ServerCapabilities.PromptCapabilities - Class in io.modelcontextprotocol.spec
-
Present if the server offers any prompt templates.
- McpSchema.ServerCapabilities.ResourceCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.ToolCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.SetLevelRequest - Class in io.modelcontextprotocol.spec
-
A request from the client to the server, to enable or adjust logging.
- McpSchema.SubscribeRequest - Class in io.modelcontextprotocol.spec
-
Sent from the client to request resources/updated notifications from the server
whenever a particular resource changes.
- McpSchema.TextContent - Class in io.modelcontextprotocol.spec
-
- McpSchema.TextResourceContents - Class in io.modelcontextprotocol.spec
-
Text contents of a resource.
- McpSchema.Tool - Class in io.modelcontextprotocol.spec
-
Represents a tool that the server provides.
- McpSchema.Tool.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ToolAnnotations - Class in io.modelcontextprotocol.spec
-
Additional properties describing a Tool to clients.
- McpSchema.UnsubscribeRequest - Class in io.modelcontextprotocol.spec
-
- McpServer - Interface in io.modelcontextprotocol.server
-
Factory class for creating Model Context Protocol (MCP) servers.
- McpServer.AsyncSpecification<S extends McpServer.AsyncSpecification<S>> - Class in io.modelcontextprotocol.server
-
Asynchronous server specification.
- McpServer.SingleSessionAsyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.SingleSessionSyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.StatelessAsyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.StatelessSyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.StreamableServerAsyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.StreamableSyncSpecification - Class in io.modelcontextprotocol.server
-
- McpServer.SyncSpecification<S extends McpServer.SyncSpecification<S>> - Class in io.modelcontextprotocol.server
-
Synchronous server specification.
- McpServerContext - Class in org.noear.solon.ai.mcp.server
-
Mcp 服务端请求上下文
- McpServerContext(McpSyncServerExchange) - Constructor for class org.noear.solon.ai.mcp.server.McpServerContext
-
- McpServerEndpoint - Annotation Type in org.noear.solon.ai.mcp.server.annotation
-
Mcp 服务端点注解
- McpServerEndpointProvider - Class in org.noear.solon.ai.mcp.server
-
Mcp 服务端点提供者
- McpServerEndpointProvider(Properties) - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- McpServerEndpointProvider(McpServerProperties) - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- McpServerEndpointProvider.Builder - Class in org.noear.solon.ai.mcp.server
-
- McpServerFeatures - Class in io.modelcontextprotocol.server
-
MCP server features specification that a particular server can choose to support.
- McpServerFeatures() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures
-
- McpServerFeatures.Async - Class in io.modelcontextprotocol.server
-
Asynchronous server features specification.
- McpServerFeatures.AsyncCompletionSpecification - Class in io.modelcontextprotocol.server
-
Specification of a completion handler function with asynchronous execution support.
- McpServerFeatures.AsyncPromptSpecification - Class in io.modelcontextprotocol.server
-
Specification of a prompt template with its asynchronous handler function.
- McpServerFeatures.AsyncResourceSpecification - Class in io.modelcontextprotocol.server
-
Specification of a resource with its asynchronous handler function.
- McpServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its asynchronous handler function.
- McpServerFeatures.AsyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
-
Builder for creating AsyncToolSpecification instances.
- McpServerFeatures.Sync - Class in io.modelcontextprotocol.server
-
Synchronous server features specification.
- McpServerFeatures.SyncCompletionSpecification - Class in io.modelcontextprotocol.server
-
Specification of a completion handler function with synchronous execution support.
- McpServerFeatures.SyncPromptSpecification - Class in io.modelcontextprotocol.server
-
Specification of a prompt template with its synchronous handler function.
- McpServerFeatures.SyncResourceSpecification - Class in io.modelcontextprotocol.server
-
Specification of a resource with its synchronous handler function.
- McpServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its synchronous handler function.
- McpServerFeatures.SyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
-
Builder for creating SyncToolSpecification instances.
- McpServerManager<T> - Interface in org.noear.solon.ai.mcp.server.manager
-
服务端管理器
- McpServerParameters - Class in org.noear.solon.ai.mcp.client
-
Mcp 服务端配置参数
- McpServerParameters() - Constructor for class org.noear.solon.ai.mcp.client.McpServerParameters
-
- McpServerParameters.Builder - Class in org.noear.solon.ai.mcp.client
-
- McpServerProperties - Class in org.noear.solon.ai.mcp.server
-
Mcp 服务属性
- McpServerProperties() - Constructor for class org.noear.solon.ai.mcp.server.McpServerProperties
-
- McpServerSession - Class in io.modelcontextprotocol.spec
-
Represents a Model Context Protocol (MCP) session on the server side.
- McpServerSession(String, Duration, McpServerTransport, McpInitRequestHandler, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
-
Creates a new server session with the given parameters and the transport to use.
- McpServerSession(String, Duration, McpServerTransport, McpInitRequestHandler, McpServerSession.InitNotificationHandler, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
-
- McpServerSession.Factory - Interface in io.modelcontextprotocol.spec
-
Factory for creating server sessions which delegate to a provided 1:1 transport
with a connected client.
- McpServerSession.InitNotificationHandler - Interface in io.modelcontextprotocol.spec
-
Notification handler for the initialization notification from the client.
- McpServerSession.InitRequestHandler - Interface in io.modelcontextprotocol.spec
-
- McpServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
-
- McpServerSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
-
- McpServerSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
-
- McpServerTransport - Interface in io.modelcontextprotocol.spec
-
Marker interface for the server-side MCP transport.
- McpServerTransportProvider - Interface in io.modelcontextprotocol.spec
-
- McpServerTransportProviderBase - Interface in io.modelcontextprotocol.spec
-
The core building block providing the server-side MCP transport.
- McpSession - Interface in io.modelcontextprotocol.spec
-
Represents a Model Context Protocol (MCP) session that handles communication between
clients and the server.
- McpStatelessAsyncServer - Class in io.modelcontextprotocol.server
-
A stateless MCP server implementation for use with Streamable HTTP transport types.
- McpStatelessNotificationHandler - Interface in io.modelcontextprotocol.server
-
Handler for MCP notifications in a stateless server.
- McpStatelessRequestHandler<R> - Interface in io.modelcontextprotocol.server
-
Handler for MCP requests in a stateless server.
- McpStatelessServerFeatures - Class in io.modelcontextprotocol.server
-
MCP stateless server features specification that a particular server can choose to
support.
- McpStatelessServerFeatures() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures
-
- McpStatelessServerFeatures.Async - Class in io.modelcontextprotocol.server
-
Asynchronous server features specification.
- McpStatelessServerFeatures.AsyncCompletionSpecification - Class in io.modelcontextprotocol.server
-
Specification of a completion handler function with asynchronous execution support.
- McpStatelessServerFeatures.AsyncPromptSpecification - Class in io.modelcontextprotocol.server
-
Specification of a prompt template with its asynchronous handler function.
- McpStatelessServerFeatures.AsyncResourceSpecification - Class in io.modelcontextprotocol.server
-
Specification of a resource with its asynchronous handler function.
- McpStatelessServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its asynchronous handler function.
- McpStatelessServerFeatures.AsyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
-
Builder for creating AsyncToolSpecification instances.
- McpStatelessServerFeatures.Sync - Class in io.modelcontextprotocol.server
-
Synchronous server features specification.
- McpStatelessServerFeatures.SyncCompletionSpecification - Class in io.modelcontextprotocol.server
-
Specification of a completion handler function with synchronous execution support.
- McpStatelessServerFeatures.SyncPromptSpecification - Class in io.modelcontextprotocol.server
-
Specification of a prompt template with its synchronous handler function.
- McpStatelessServerFeatures.SyncResourceSpecification - Class in io.modelcontextprotocol.server
-
Specification of a resource with its synchronous handler function.
- McpStatelessServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its synchronous handler function.
- McpStatelessServerFeatures.SyncToolSpecification.Builder - Class in io.modelcontextprotocol.server
-
Builder for creating SyncToolSpecification instances.
- McpStatelessServerHandler - Interface in io.modelcontextprotocol.server
-
Handler for MCP requests and notifications in a Stateless Streamable HTTP Server
context.
- McpStatelessServerTransport - Interface in io.modelcontextprotocol.spec
-
- McpStatelessSyncServer - Class in io.modelcontextprotocol.server
-
A stateless MCP server implementation for use with Streamable HTTP transport types.
- McpStreamableServerSession - Class in io.modelcontextprotocol.spec
-
Representation of a Streamable HTTP server session that keeps track of mapping
server-initiated requests to the client and mapping arriving responses.
- McpStreamableServerSession(String, McpSchema.ClientCapabilities, McpSchema.Implementation, Duration, Map<String, McpRequestHandler<?>>, Map<String, McpNotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession
-
Create an instance of the streamable session.
- McpStreamableServerSession.Factory - Interface in io.modelcontextprotocol.spec
-
Factory for new Streamable HTTP MCP sessions.
- McpStreamableServerSession.InitRequestHandler - Interface in io.modelcontextprotocol.spec
-
Request handler for the initialization request.
- McpStreamableServerSession.McpStreamableServerSessionInit - Class in io.modelcontextprotocol.spec
-
- McpStreamableServerSession.McpStreamableServerSessionStream - Class in io.modelcontextprotocol.spec
-
An individual SSE stream within a Streamable HTTP context.
- McpStreamableServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
-
- McpStreamableServerSessionInit() - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionInit
-
- McpStreamableServerSessionStream(McpStreamableServerTransport) - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
Constructor accepting the dedicated transport representing the SSE stream.
- McpStreamableServerTransport - Interface in io.modelcontextprotocol.spec
-
Streamable HTTP server transport representing an individual SSE stream.
- McpStreamableServerTransportProvider - Interface in io.modelcontextprotocol.spec
-
The core building block providing the server-side MCP transport for Streamable HTTP
servers.
- McpSyncClient - Class in io.modelcontextprotocol.client
-
A synchronous client implementation for the Model Context Protocol (MCP) that wraps an
McpAsyncClient to provide blocking operations.
- McpSyncServer - Class in io.modelcontextprotocol.server
-
A synchronous implementation of the Model Context Protocol (MCP) server that wraps
McpAsyncServer to provide blocking operations.
- McpSyncServer(McpAsyncServer) - Constructor for class io.modelcontextprotocol.server.McpSyncServer
-
Creates a new synchronous server that wraps the provided async server.
- McpSyncServer(McpAsyncServer, boolean) - Constructor for class io.modelcontextprotocol.server.McpSyncServer
-
Creates a new synchronous server that wraps the provided async server.
- McpSyncServerExchange - Class in io.modelcontextprotocol.server
-
Represents a synchronous exchange with a Model Context Protocol (MCP) client.
- McpSyncServerExchange(McpAsyncServerExchange) - Constructor for class io.modelcontextprotocol.server.McpSyncServerExchange
-
Create a new synchronous exchange with the client using the provided asynchronous
implementation as a delegate.
- McpTransport - Interface in io.modelcontextprotocol.spec
-
Defines the asynchronous transport layer for the Model Context Protocol (MCP).
- McpTransportContext - Interface in io.modelcontextprotocol.server
-
Context associated with the transport layer.
- McpTransportContextExtractor<T> - Interface in io.modelcontextprotocol.server
-
The contract for extracting metadata from a generic transport request of type
T.
- McpTransportException - Exception in io.modelcontextprotocol.spec
-
Exception thrown when there is an issue with the transport layer of the Model Context
Protocol (MCP).
- McpTransportException(String) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
-
- McpTransportException(String, Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
-
- McpTransportException(Throwable) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
-
- McpTransportException(String, Throwable, boolean, boolean) - Constructor for exception io.modelcontextprotocol.spec.McpTransportException
-
- McpTransportSession<CONNECTION> - Interface in io.modelcontextprotocol.spec
-
An abstraction of the session as perceived from the MCP transport layer.
- McpTransportSessionNotFoundException - Exception in io.modelcontextprotocol.spec
-
Exception that signifies that the server does not recognize the connecting client via
the presented transport session identifier.
- McpTransportSessionNotFoundException(String, Exception) - Constructor for exception io.modelcontextprotocol.spec.McpTransportSessionNotFoundException
-
Construct an instance with a known
cause.
- McpTransportSessionNotFoundException(String) - Constructor for exception io.modelcontextprotocol.spec.McpTransportSessionNotFoundException
-
Construct an instance with the session identifier but without a
cause.
- McpTransportStream<CONNECTION> - Interface in io.modelcontextprotocol.spec
-
A representation of a stream at the transport layer of the MCP protocol.
- McpUriTemplateManager - Interface in io.modelcontextprotocol.util
-
Interface for working with URI templates.
- McpUriTemplateManagerFactory - Interface in io.modelcontextprotocol.util
-
- message(String) - Method in class io.modelcontextprotocol.spec.McpError.Builder
-
- message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
-
- message(McpSchema.ElicitResult.Action) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
-
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
-
Sets the endpoint path where clients will send their messages.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
- messageEndpointSink - Variable in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Sink for managing the message endpoint URI provided by the server.
- messages(List<McpSchema.SamplingMessage>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
-
Sets the metadata for the tool result.
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitResult.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
-
- meta(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.Tool.Builder
-
- metadata(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- METHOD_COMPLETION_COMPLETE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_ELICITATION_CREATE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_INITIALIZE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_LOGGING_SET_LEVEL - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOT_FOUND - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
-
The method does not exist / is not available.
- METHOD_NOTIFICATION_INITIALIZED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_PROGRESS - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_PROMPTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_RESOURCES_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_RESOURCES_UPDATED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_ROOTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_TOOLS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PING - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PROMPT_GET - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PROMPT_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_READ - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_SUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_TEMPLATES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_UNSUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_ROOTS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_SAMPLING_CREATE_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_TOOLS_CALL - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_TOOLS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- MethodFunctionPrompt - Class in org.noear.solon.ai.mcp.server.prompt
-
方法构建的函数提示语
- MethodFunctionPrompt(BeanWrap, Method) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
-
- MethodFunctionResource - Class in org.noear.solon.ai.mcp.server.resource
-
方法构建的函数资源
- MethodFunctionResource(BeanWrap, Method) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
-
- MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpClientSession.MethodNotFoundError
-
- MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpServerSession.MethodNotFoundError
-
- MethodNotFoundError() - Constructor for class io.modelcontextprotocol.spec.McpStreamableServerSession.MethodNotFoundError
-
- MethodPromptProvider - Class in org.noear.solon.ai.mcp.server.prompt
-
方法构建的资源提供者
- MethodPromptProvider(Object) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
-
- MethodPromptProvider(Class<?>, Object) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
-
- MethodPromptProvider(BeanWrap) - Constructor for class org.noear.solon.ai.mcp.server.prompt.MethodPromptProvider
-
- MethodResourceProvider - Class in org.noear.solon.ai.mcp.server.resource
-
方法构建的资源提供者
- MethodResourceProvider(Object) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
-
- MethodResourceProvider(Class<?>, Object) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
-
- MethodResourceProvider(BeanWrap) - Constructor for class org.noear.solon.ai.mcp.server.resource.MethodResourceProvider
-
- mimeType(String) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
-
- mimeType(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
-
- mimeType() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
-
媒体类型
- mimeType(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
-
申明媒体类型
- mimeType() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
-
- mimeType() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
-
- MissingMcpTransportSession - Class in io.modelcontextprotocol.spec
-
A
McpLoggableSession which represents a missing stream that would allow the
server to communicate with the client.
- MissingMcpTransportSession(String) - Constructor for class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
Create an instance with the Session ID specified.
- model(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- ModelHint() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelHint
-
- modelPreferences(McpSchema.ModelPreferences) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- ModelPreferences() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelPreferences
-
- mutate() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
-
Create a mutated copy of this object with the specified changes.
- PAGINATED_REQUEST_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
-
- PaginatedRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
-
- PaginatedRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
-
Creates a new paginated request with an empty cursor.
- PaginatedResult(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedResult
-
- paramAdd(String, String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
-
申明函数参数
- paramAdd(String, boolean, String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
-
申明函数参数
- params() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
-
参数
- params() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
-
- params() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
-
- PARSE_ERROR - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
-
Invalid JSON was received by the server.
- parseMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
-
根据 mcpServers 配置解析出参数
- parseMcpServers(ONode) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
-
根据 mcpServers 配置解析出参数
- pause() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
暂停(主要用于测试)
- ping() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Sends a ping request to the server.
- ping() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a synchronous ping request.
- ping() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Sends a ping request to the client.
- ping() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Sends a synchronous ping request to the client.
- postStart() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- PROGRESS_NOTIFICATION_TYPE_REF - Static variable in class io.modelcontextprotocol.client.McpAsyncClient
-
- progressConsumer(Function<McpSchema.ProgressNotification, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified of progress notifications from the server.
- progressConsumer(Consumer<McpSchema.ProgressNotification>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified of progress notifications from the server.
- progressConsumers(List<Function<McpSchema.ProgressNotification, Mono<Void>>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a multiple consumers to be notified of progress notifications from the
server.
- progressConsumers(List<Consumer<McpSchema.ProgressNotification>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a multiple consumers to be notified of progress notifications from the
server.
- progressNotification(McpSchema.ProgressNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Sends a notification to the client that the current progress status has changed for
long-running operations.
- progressNotification(McpSchema.ProgressNotification) - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Sends a notification to the client that the current progress status has changed for
long-running operations.
- ProgressNotification(String, double, Double, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ProgressNotification
-
- progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolRequest.Builder
-
- progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- progressToken(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
-
- progressToken() - Method in interface io.modelcontextprotocol.spec.McpSchema.Request
-
- Prompt(String, String, List<McpSchema.PromptArgument>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
-
- Prompt(String, String, String, List<McpSchema.PromptArgument>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
-
- PromptArgument(String, String, Boolean) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptArgument
-
- PromptCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.PromptCapabilities
-
- PromptMapping - Annotation Type in org.noear.solon.ai.annotation
-
提示语映射
- PromptMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
-
提示词服务端管理
- PromptMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
-
- PromptMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptMessage
-
- PromptProvider - Interface in org.noear.solon.ai.mcp.server.prompt
-
提示语提供者
- PromptReference(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptReference
-
- PromptReference(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptReference
-
- prompts(Map<String, McpServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple prompts with their handlers using a Map.
- prompts(List<McpServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple prompts with their handlers using a List.
- prompts(McpServerFeatures.AsyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple prompts with their handlers using varargs.
- prompts(Map<String, McpStatelessServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple prompts with their handlers using a Map.
- prompts(List<McpStatelessServerFeatures.AsyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple prompts with their handlers using a List.
- prompts(McpStatelessServerFeatures.AsyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple prompts with their handlers using varargs.
- prompts(Map<String, McpStatelessServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple prompts with their handlers using a Map.
- prompts(List<McpStatelessServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple prompts with their handlers using a List.
- prompts(McpStatelessServerFeatures.SyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple prompts with their handlers using varargs.
- prompts(Map<String, McpServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple prompts with their handlers using a Map.
- prompts(List<McpServerFeatures.SyncPromptSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple prompts with their handlers using a List.
- prompts(McpServerFeatures.SyncPromptSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple prompts with their handlers using varargs.
- prompts(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- promptsChangeConsumer(Function<List<McpSchema.Prompt>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when the available prompts change.
- promptsChangeConsumer(Consumer<List<McpSchema.Prompt>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified when the available prompts change.
- protocol() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- PROTOCOL_VERSION - Static variable in interface io.modelcontextprotocol.spec.HttpHeaders
-
Identifies the MCP protocol version.
- protocolVersions() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
- protocolVersions() - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
-
- protocolVersions() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
- protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
-
- protocolVersions() - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
-
- protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProviderBase
-
Returns the protocol version supported by this transport provider.
- protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
-
- protocolVersions() - Method in interface io.modelcontextprotocol.spec.McpTransport
-
- ProtocolVersions - Interface in io.modelcontextprotocol.spec
-
- put(String, Object) - Method in class io.modelcontextprotocol.server.DefaultMcpTransportContext
-
- put(String, Object) - Method in interface io.modelcontextprotocol.server.McpTransportContext
-
Inserts a value for a given key.
- readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Reads the content of a specific resource identified by the provided Resource
object.
- readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Reads the content of a specific resource identified by the provided request.
- readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a resources/read request.
- readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a resources/read request.
- readResource(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
读取资源
- readResourceAsText(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
读取资源
- ReadResourceRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceRequest
-
- ReadResourceResult(List<McpSchema.ResourceContents>) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceResult
-
- realIp() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- referer() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- remoteIp() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- remotePort() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- remove(McpSyncServer, String) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
-
移除
- remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
-
- remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
-
- remove(McpSyncServer, String) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
-
- removeConnection(Disposable) - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
-
- removeConnection(CONNECTION) - Method in interface io.modelcontextprotocol.spec.McpTransportSession
-
Called when the resource is terminating by itself and the transport session does
not need to track it anymore.
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a prompt handler at runtime.
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Remove a prompt handler at runtime.
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Remove a prompt handler at runtime.
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a prompt handler.
- removePrompt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除提示语
- removePrompt(PromptProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除提示语
- removeResource(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a resource handler at runtime.
- removeResource(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Remove a resource handler at runtime.
- removeResource(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Remove a resource handler at runtime.
- removeResource(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a resource handler.
- removeResource(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除资源
- removeResource(ResourceProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除资源
- removeRoot(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Removes a root from the client's root list.
- removeRoot(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Remove a root dynamically.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a tool handler at runtime.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpStatelessAsyncServer
-
Remove a tool handler at runtime.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpStatelessSyncServer
-
Remove a tool handler at runtime.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a tool handler.
- removeTool(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除工具
- removeTool(ToolProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除工具
- reopen() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
重新打开
- replay(Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- requestedSchema(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ElicitRequest.Builder
-
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- resolveUri(URI, String) - Static method in class io.modelcontextprotocol.util.Utils
-
Resolves the given endpoint URL against the base URL.
- Resource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Resource
-
- ResourceCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ResourceCapabilities
-
- ResourceLink(String, String, String, String, String, Long, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceLink
-
- ResourceLink(String, String, String, String, Long, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceLink
-
- ResourceMapping - Annotation Type in org.noear.solon.ai.annotation
-
资源映射
- ResourceMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
-
资源服务端管理
- ResourceMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
-
- ResourceProvider - Interface in org.noear.solon.ai.mcp.server.resource
-
资源提供者
- ResourceReference(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceReference
-
- resources(Map<String, McpServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple resources with their handlers using a Map.
- resources(List<McpServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple resources with their handlers using a List.
- resources(McpServerFeatures.AsyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple resources with their handlers using varargs.
- resources(Map<String, McpStatelessServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple resources with their handlers using a Map.
- resources(List<McpStatelessServerFeatures.AsyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple resources with their handlers using a List.
- resources(McpStatelessServerFeatures.AsyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Registers multiple resources with their handlers using varargs.
- resources(Map<String, McpStatelessServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple resources with their handlers using a Map.
- resources(List<McpStatelessServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple resources with their handlers using a List.
- resources(McpStatelessServerFeatures.SyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Registers multiple resources with their handlers using varargs.
- resources(Map<String, McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using a Map.
- resources(List<McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using a List.
- resources(McpServerFeatures.SyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using varargs.
- resources(Boolean, Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- resourcesChangeConsumer(Function<List<McpSchema.Resource>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when the available resources change.
- resourcesChangeConsumer(Consumer<List<McpSchema.Resource>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified when the available resources change.
- resourcesUpdateConsumer(Function<List<McpSchema.ResourceContents>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when a specific resource is updated.
- ResourcesUpdatedNotification(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourcesUpdatedNotification
-
- ResourceTemplate(String, String, String, String, String, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
-
- ResourceTemplate(String, String, String, String, McpSchema.Annotations) - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
-
- resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the resource templates using varargs for convenience.
- resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the resource templates using varargs for convenience.
- resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the resource templates using varargs for convenience.
- resourceTemplates(List<McpSchema.ResourceTemplate>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpSchema.ResourceTemplate...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the resource templates using varargs for convenience.
- responseStream(McpSchema.JSONRPCRequest, McpStreamableServerTransport) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
Provide the SSE stream of MCP messages finalized with a Response.
- resumableStreams(boolean) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport.Builder
-
Configure whether to use the stream resumability feature by keeping track of
SSE event ids.
- resume() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
恢复(主要用于测试)
- role(McpSchema.Role) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- Root(String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Root
-
- RootCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.RootCapabilities
-
- roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the root URIs that this client can access.
- roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the root URIs that this client can access, using a varargs parameter for
convenience.
- roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the root URIs that this client can access.
- roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the root URIs that this client can access, using a varargs parameter for
convenience.
- roots(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
-
- rootsChangeHandler(BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers a consumer that will be notified when the list of roots changes.
- rootsChangeHandler(BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers a consumer that will be notified when the list of roots changes.
- rootsChangeHandlers(List<BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple consumers that will be notified when the list of roots
changes.
- rootsChangeHandlers(BiFunction<McpAsyncServerExchange, List<McpSchema.Root>, Mono<Void>>...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Registers multiple consumers that will be notified when the list of roots
changes using varargs.
- rootsChangeHandlers(List<BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple consumers that will be notified when the list of roots
changes.
- rootsChangeHandlers(BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple consumers that will be notified when the list of roots
changes using varargs.
- rootsListChangedNotification() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Manually sends a roots/list_changed notification.
- rootsListChangedNotification() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a roots/list_changed notification.
- sampling(Function<McpSchema.CreateMessageRequest, Mono<McpSchema.CreateMessageResult>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets a custom sampling handler for processing message creation requests.
- sampling(Function<McpSchema.CreateMessageRequest, McpSchema.CreateMessageResult>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets a custom sampling handler for processing message creation requests.
- sampling() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
-
- Sampling() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Sampling
-
- SamplingMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SamplingMessage
-
- scheduler(Scheduler) - Method in class io.modelcontextprotocol.util.KeepAliveScheduler.Builder
-
Sets the scheduler to use for executing keepAlive calls.
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Sends a JSON-RPC message to the server using the endpoint provided during
connection.
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
-
- sendMessage(McpSchema.JSONRPCMessage, String) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransport
-
Send a message to the client with a message ID for use in the SSE event payload
- sendMessage(McpSchema.JSONRPCMessage) - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Sends a message to the peer asynchronously.
- sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Sends a JSON-RPC notification.
- sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- sendNotification(String) - Method in interface io.modelcontextprotocol.spec.McpSession
-
Sends a notification to the model client or server without parameters.
- sendNotification(String, Object) - Method in interface io.modelcontextprotocol.spec.McpSession
-
Sends a notification to the model client or server with parameters.
- sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
- sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- sendNotification(String, Object) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
- sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Sends a JSON-RPC request and returns the response.
- sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- sendRequest(String, Object, TypeReference<T>) - Method in interface io.modelcontextprotocol.spec.McpSession
-
Sends a request to the model counterparty and expects a response of type T.
- sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
- sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- sendRequest(String, Object, TypeReference<T>) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
- ServerCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
-
- serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the server implementation information that will be shared with clients
during connection initialization.
- serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the server implementation information using name and version strings.
- serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the server implementation information that will be shared with clients
during connection initialization.
- serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
Sets the server implementation information using name and version strings.
- serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the server implementation information that will be shared with clients
during connection initialization.
- serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
Sets the server implementation information using name and version strings.
- serverInfo(McpSchema.Implementation) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the server implementation information that will be shared with clients
during connection initialization.
- serverInfo(String, String) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the server implementation information using name and version strings.
- ServerParameters - Class in io.modelcontextprotocol.client.transport
-
Server parameters for stdio client.
- ServerParameters() - Constructor for class io.modelcontextprotocol.client.transport.ServerParameters
-
- serverParameters(McpServerParameters) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- ServerParameters.Builder - Class in io.modelcontextprotocol.client.transport
-
- session(String, Class<T>) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsDouble(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsDouble(String, double) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsInt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsInt(String, int) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsLong(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionAsLong(String, long) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionClear() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionId() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Provides the Session ID.
- sessionId() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
Provides the Session ID
- sessionId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportSession
-
- sessionId() - Method in interface io.modelcontextprotocol.spec.McpTransportSession
-
In case of stateful MCP servers, the value is present and contains the String
identifier for the transport-level session.
- sessionId() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
获取会话 id
- sessionOrDefault(String, T) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionRemove(String) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionReset() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionSet(String, Object) - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- sessionState() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
-
- setApiKey(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setApiUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setArgs(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setArgs(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setCacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setChannel(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setCommand(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setCommand(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setEnv(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setEnv(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setExceptionHandler(Consumer<Throwable>) - Method in class io.modelcontextprotocol.client.transport.WebRxStreamableHttpTransport
-
- setExceptionHandler(Consumer<Throwable>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
-
Sets the exception handler for exceptions raised on the transport layer.
- setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setHeartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setHttpProxy(Proxy) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setHttpSsl(HttpSslSupplier) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setHttpTimeout(HttpTimeout) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setInitializationTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- SetLevelRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SetLevelRequest
-
- setLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Sets the minimum logging level for messages received from the server.
- setLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Client can set the minimum logging level it wants to receive from the server.
- setLoggingLevel(McpSchema.LoggingLevel) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
设置日志级别
- setLoggingLevel(McpSchema.LoggingLevel) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
设置日志级别
- setMcpHandler(McpStatelessServerHandler) - Method in class io.modelcontextprotocol.server.transport.WebRxStatelessServerTransport
-
- setMcpHandler(McpStatelessServerHandler) - Method in interface io.modelcontextprotocol.spec.McpStatelessServerTransport
-
- setMinLoggingLevel(McpSchema.LoggingLevel) - Method in interface io.modelcontextprotocol.spec.McpLoggableSession
-
Set the minimum logging level for the client.
- setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession.McpStreamableServerSessionStream
-
- setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpStreamableServerSession
-
- setMinLoggingLevel(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.MissingMcpTransportSession
-
- setName(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setRequestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setServerParameters(McpServerParameters) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- setSessionFactory(McpStreamableServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebRxStreamableServerTransportProvider
-
- setSessionFactory(McpServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
-
Sets the session factory that will be used to create sessions for new clients.
- setSessionFactory(McpStreamableServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerTransportProvider
-
Sets the session factory that will be used to create sessions for new clients.
- setStdErrorHandler(Consumer<String>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Sets the handler for processing transport-level errors.
- setTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setTransport(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setType(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setVersion(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- shutdown() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
-
Shuts down the scheduler and releases resources.
- size(Long) - Method in class io.modelcontextprotocol.spec.McpSchema.Resource.Builder
-
- size(Long) - Method in class io.modelcontextprotocol.spec.McpSchema.ResourceLink.Builder
-
- size() - Method in class org.noear.solon.ai.mcp.client.McpProviders
-
数量
- speedPriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
-
- SSE - Static variable in interface org.noear.solon.ai.mcp.McpChannel
-
- sseEndpoint(String) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
-
Sets the SSE endpoint path.
- sseEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
-
Sets the endpoint path where clients will establish SSE connections.
- sseEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
- start() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
-
Starts regular keepAlive calls with sessions supplier.
- start(AppContext) - Method in class org.noear.solon.ai.mcp.integration.McpPlugin
-
- start() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- startSession(McpSchema.InitializeRequest) - Method in class io.modelcontextprotocol.spec.DefaultMcpStreamableServerSessionFactory
-
- startSession(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.spec.McpStreamableServerSession.Factory
-
Given an initialize request, create a composite for the session initialization
- StatelessAsyncSpecification(McpStatelessServerTransport) - Constructor for class io.modelcontextprotocol.server.McpServer.StatelessAsyncSpecification
-
- StatelessSyncSpecification(McpStatelessServerTransport) - Constructor for class io.modelcontextprotocol.server.McpServer.StatelessSyncSpecification
-
- STDIO - Static variable in interface org.noear.solon.ai.mcp.McpChannel
-
- StdioClientTransport - Class in io.modelcontextprotocol.client.transport
-
Implementation of the MCP Stdio transport that communicates with a server process using
standard input/output streams.
- StdioClientTransport(ServerParameters) - Constructor for class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Creates a new StdioClientTransport with the specified parameters and default
ObjectMapper.
- StdioClientTransport(ServerParameters, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Creates a new StdioClientTransport with the specified parameters and ObjectMapper.
- StdioServerTransportProvider - Class in io.modelcontextprotocol.server.transport
-
Implementation of the MCP Stdio transport provider for servers that communicates using
standard input/output streams.
- StdioServerTransportProvider() - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
Creates a new StdioServerTransportProvider with a default ObjectMapper and System
streams.
- StdioServerTransportProvider(ObjectMapper) - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
Creates a new StdioServerTransportProvider with the specified ObjectMapper and
System streams.
- StdioServerTransportProvider(ObjectMapper, InputStream, OutputStream) - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
Creates a new StdioServerTransportProvider with the specified ObjectMapper and
streams.
- stop() - Method in class io.modelcontextprotocol.util.KeepAliveScheduler
-
Stops the currently running keepAlive scheduler.
- stop() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- stopReason(McpSchema.CreateMessageResult.StopReason) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- stopSequences(List<String>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- STREAMABLE - Static variable in interface org.noear.solon.ai.mcp.McpChannel
-
- StreamableServerAsyncSpecification(McpStreamableServerTransportProvider) - Constructor for class io.modelcontextprotocol.server.McpServer.StreamableServerAsyncSpecification
-
- streamId() - Method in class io.modelcontextprotocol.spec.DefaultMcpTransportStream
-
- streamId() - Method in interface io.modelcontextprotocol.spec.McpTransportStream
-
An internal stream identifier used to distinguish streams while debugging.
- structuredContent(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
-
- structuredContent(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CallToolResult.Builder
-
- SubscribeRequest(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.SubscribeRequest
-
- subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Subscribes to changes in a specific resource.
- subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Subscriptions.
- sync(McpClientTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
-
Start building a synchronous MCP client with the specified transport layer.
- sync(McpServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
-
Starts building a synchronous MCP server that provides blocking operations.
- sync(McpStreamableServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
-
Starts building a synchronous MCP server that provides blocking operations.
- sync(McpStatelessServerTransport) - Static method in interface io.modelcontextprotocol.server.McpServer
-
Starts building a synchronous MCP server that provides blocking operations.
- Sync(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpServerFeatures.SyncToolSpecification>, Map<String, McpServerFeatures.SyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpServerFeatures.SyncPromptSpecification>, Map<McpSchema.CompleteReference, McpServerFeatures.SyncCompletionSpecification>, List<BiConsumer<McpSyncServerExchange, List<McpSchema.Root>>>, String) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.Sync
-
Create an instance and validate the arguments.
- Sync(McpSchema.Implementation, McpSchema.ServerCapabilities, List<McpStatelessServerFeatures.SyncToolSpecification>, Map<String, McpStatelessServerFeatures.SyncResourceSpecification>, List<McpSchema.ResourceTemplate>, Map<String, McpStatelessServerFeatures.SyncPromptSpecification>, Map<McpSchema.CompleteReference, McpStatelessServerFeatures.SyncCompletionSpecification>, String) - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.Sync
-
Create an instance and validate the arguments.
- SyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncCompletionSpecification
-
- SyncCompletionSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncCompletionSpecification
-
- SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification
-
- SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncPromptSpecification
-
- SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification
-
- SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncResourceSpecification
-
- SyncSpecification() - Constructor for class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
- SyncToolSpecification(McpSchema.Tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult>) - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification
-
Deprecated.
- SyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification
-
- systemPrompt(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-