- cacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- 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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolRequest
-
- CallToolResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CallToolResult
-
- capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the client capabilities that will be advertised to the server during
connection initialization.
- capabilities(McpSchema.ClientCapabilities) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the client capabilities that will be advertised to the server during
connection initialization.
- capabilities(McpSchema.ServerCapabilities) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
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
-
通道
- checkSealed(McpSchema.JSONRPCMessage) - Static method in interface io.modelcontextprotocol.spec.McpSchema.JSONRPCMessage
-
- 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.McpSyncServer
-
Close the server immediately.
- close() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider.StdioMcpSessionTransport
-
- close() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
-
- close() - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Closes the session immediately, potentially interrupting pending operations.
- close() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- close() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
-
Immediately closes all the transports with connected clients and releases any
associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpSession
-
Closes the session and releases any associated resources.
- close() - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Closes the transport connection and releases any associated resources.
- close() - Method in class io.modelcontextprotocol.spec.StatelessMcpSession
-
- 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
-
Gracefully closes the transport connection.
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Gracefully closes the server, allowing any in-progress operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Close the server gracefully.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider.StdioMcpSessionTransport
-
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
Initiates a graceful shutdown of all the sessions.
- closeGracefully() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
-
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Closes the session gracefully, allowing pending operations to complete.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
-
Gracefully closes all the transports with connected clients and releases any
associated resources asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpSession
-
Closes the session and releases any associated resources asynchronously.
- closeGracefully() - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Closes the transport connection and releases any associated resources
asynchronously.
- closeGracefully() - Method in class io.modelcontextprotocol.spec.StatelessMcpSession
-
- CompleteArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteArgument
-
- CompleteCompletion() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult.CompleteCompletion
-
- CompleteRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest
-
- CompleteResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteResult
-
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Starts the server process and initializes the message processing streams.
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Establishes the SSE connection with the server and sets up message handling.
- connect(Function<Mono<McpSchema.JSONRPCMessage>, Mono<McpSchema.JSONRPCMessage>>) - Method in interface io.modelcontextprotocol.spec.McpClientTransport
-
- 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(McpSchema.Content) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.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
-
- 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.
- 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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
-
- CreateMessageResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
-
- getAnnotations() - Method in interface io.modelcontextprotocol.spec.McpSchema.Annotated
-
- getApiKey() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getApiUrl() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getArgs() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
-
- getArgs() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getAsyncServer() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Get the underlying async server instance.
- getCacheSeconds() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- 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.McpServerParameters
-
- getContext() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
-
- getEnv() - Method in class io.modelcontextprotocol.client.transport.ServerParameters
-
- getEnv() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getErrorSink() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
- getHeaders() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- 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.McpClientSession
-
- getId() - Method in class io.modelcontextprotocol.spec.McpServerSession
-
Retrieve the session id.
- getId() - Method in interface io.modelcontextprotocol.spec.McpSession
-
Retrieve the session id.
- getId() - Method in class io.modelcontextprotocol.spec.StatelessMcpSession
-
- getInitializationTimeout() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getJsonrpc() - Method in class io.modelcontextprotocol.spec.McpSchema.JSONRPCBatchRequest
-
- getJsonrpc() - Method in class io.modelcontextprotocol.spec.McpSchema.JSONRPCBatchResponse
-
- getJsonrpc() - Method in interface io.modelcontextprotocol.spec.McpSchema.JSONRPCMessage
-
- getJsonRpcError() - Method in exception io.modelcontextprotocol.spec.McpError
-
- getMessageEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- getMessageEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
MESSAGE 端点
- getMethodNotFoundError(String) - Static method in class io.modelcontextprotocol.spec.McpClientSession
-
- getMimeType() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
-
The MIME type of this resource.
- getName() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getName() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
名字
- getProcessBuilder() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Creates and returns a new ProcessBuilder instance.
- getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a specific prompt by its ID.
- getPrompt(McpSchema.GetPromptRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- 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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.GetPromptRequest
-
- GetPromptResult() - 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.McpSyncServer
-
Get the server capabilities that define the supported features and functionality.
- getServerInfo() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Get the server implementation information.
- getServerInfo() - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Get the server implementation information.
- getServerParameters() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getSession() - Method in class io.modelcontextprotocol.server.McpAsyncServerExchange
-
- getSession() - Method in class io.modelcontextprotocol.server.McpSyncServerExchange
-
- getSseEndpoint() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- getSseEndpoint() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
SSE 端点
- getTemplate() - Method in class io.modelcontextprotocol.util.UriTemplate
-
- getTimeout() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- 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 io.modelcontextprotocol.spec.McpServerSession
-
- getTransport() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getType() - Method in interface io.modelcontextprotocol.spec.McpSchema.CompleteRequest.PromptOrResourceReference
-
- getType() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getUri() - Method in interface io.modelcontextprotocol.spec.McpSchema.ResourceContents
-
The URI of this resource.
- getUrl() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- getVersion() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- getVersion() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
版本
- LATEST_PROTOCOL_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- level() - Method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
-
- level(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
-
- listPrompts() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all prompts provided by the server.
- listPrompts(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of prompts provided by the server.
- listPrompts(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- listPrompts() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
- ListPromptsResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListPromptsResult
-
- listResources() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all resources provided by the server.
- listResources(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of resources provided by the server.
- listResources(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a resources/list request.
- listResources() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Send a resources/list request.
- ListResourcesResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourcesResult
-
- listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all resource templates provided by the server.
- listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of resource templates provided by the server.
- listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Resource templates allow servers to expose parameterized resources using URI
templates.
- listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Request a list of resource templates the server has.
- ListResourceTemplatesResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourceTemplatesResult
-
- listRoots() - Method in class io.modelcontextprotocol.server.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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListRootsResult
-
- listTools() - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves the list of all tools provided by the server.
- listTools(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Retrieves a paginated list of tools provided by the server.
- listTools() - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves the list of all tools provided by the server.
- listTools(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Retrieves a paginated list of tools provided by the server.
- ListToolsResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListToolsResult
-
- logger(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
-
- logging() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- LoggingCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.LoggingCapabilities
-
- loggingConsumer(Function<McpSchema.LoggingMessageNotification, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when logging messages are received from the
server.
- loggingConsumer(Consumer<McpSchema.LoggingMessageNotification>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified when logging messages are received from the
server.
- loggingConsumers(List<Function<McpSchema.LoggingMessageNotification, Mono<Void>>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds multiple consumers to be notified when logging messages are received from
the server.
- loggingConsumers(List<Consumer<McpSchema.LoggingMessageNotification>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds multiple consumers to be notified when logging messages are received from
the server.
- LoggingMessageNotification() - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
-
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Send a logging message notification to all connected clients.
- loggingNotification(McpSchema.LoggingMessageNotification) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Send a logging message notification to all clients.
- matchesTemplate(String) - Method in class io.modelcontextprotocol.util.UriTemplate
-
Checks if a given URI matches the compiled template pattern.
- maxTokens(int) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- McpAsyncClient - Class in io.modelcontextprotocol.client
-
The Model Context Protocol (MCP) client implementation that provides asynchronous
communication with MCP servers using Project Reactor's Mono and Flux types.
- McpAsyncServer - Class in io.modelcontextprotocol.server
-
The Model Context Protocol (MCP) server implementation that provides asynchronous
communication using Project Reactor's Mono and Flux types.
- McpAsyncServerExchange - Class in io.modelcontextprotocol.server
-
Represents an asynchronous exchange with a Model Context Protocol (MCP) client.
- McpAsyncServerExchange(McpServerSession, McpSchema.ClientCapabilities, McpSchema.Implementation) - Constructor for class io.modelcontextprotocol.server.McpAsyncServerExchange
-
Create a new asynchronous exchange with the client.
- McpChannel - Interface in org.noear.solon.ai.mcp
-
Mcp 通道
- McpClient - Interface in io.modelcontextprotocol.client
-
Factory class for creating Model Context Protocol (MCP) clients.
- McpClient.AsyncSpec - Class in io.modelcontextprotocol.client
-
Asynchronous client specification.
- McpClient.SyncSpec - Class in io.modelcontextprotocol.client
-
Synchronous client specification.
- McpClientProperties - Class in org.noear.solon.ai.mcp.client
-
Mcp 客户端属性
- McpClientProperties() - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
-
- McpClientProperties(String) - Constructor for class org.noear.solon.ai.mcp.client.McpClientProperties
-
- 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
-
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
-
Marker interface for the client-side MCP transport.
- McpError - Exception in io.modelcontextprotocol.spec
-
- McpError(McpSchema.JSONRPCResponse.JSONRPCError) - Constructor for exception io.modelcontextprotocol.spec.McpError
-
- McpError(Object) - Constructor for exception io.modelcontextprotocol.spec.McpError
-
- McpException - Exception in org.noear.solon.ai.mcp.exception
-
- McpException(String) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpException(String, Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpException(Throwable) - Constructor for exception org.noear.solon.ai.mcp.exception.McpException
-
- McpPlugin - Class in org.noear.solon.ai.mcp.integration
-
Mcp 插件
- McpPlugin() - Constructor for class org.noear.solon.ai.mcp.integration.McpPlugin
-
- McpProperties - Class in org.noear.solon.ai.mcp.integration
-
Mcp 属性(仅用于配置提示)
- McpProperties() - Constructor for class org.noear.solon.ai.mcp.integration.McpProperties
-
- 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
-
- McpSchema - Class in io.modelcontextprotocol.spec
-
- McpSchema.Annotated - Interface in io.modelcontextprotocol.spec
-
Base for objects that include optional annotations for the client.
- McpSchema.Annotations - Class in io.modelcontextprotocol.spec
-
Optional annotations for the client.
- McpSchema.BlobResourceContents - Class in io.modelcontextprotocol.spec
-
Binary contents of a resource.
- McpSchema.CallToolRequest - Class in io.modelcontextprotocol.spec
-
Used by the client to call a tool provided by the server.
- McpSchema.CallToolResult - Class in io.modelcontextprotocol.spec
-
The server's response to a tools/call request from the client.
- McpSchema.ClientCapabilities - Class in io.modelcontextprotocol.spec
-
Clients can implement additional features to enrich connected MCP servers with
additional capabilities.
- McpSchema.ClientCapabilities.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ClientCapabilities.RootCapabilities - Class in io.modelcontextprotocol.spec
-
Roots define the boundaries of where servers can operate within the filesystem,
allowing them to understand which directories and files they have access to.
- McpSchema.ClientCapabilities.Sampling - Class in io.modelcontextprotocol.spec
-
Provides a standardized way for servers to request LLM
sampling ("completions" or "generations") from language
models via clients.
- McpSchema.CompleteRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.CompleteArgument - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.PromptOrResourceReference - Interface in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.PromptReference - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteRequest.ResourceReference - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.CompleteResult.CompleteCompletion - Class in io.modelcontextprotocol.spec
-
- McpSchema.Content - Interface in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageRequest.ContextInclusionStrategy - Enum in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.CreateMessageResult.StopReason - Enum in io.modelcontextprotocol.spec
-
- McpSchema.EmbeddedResource - Class in io.modelcontextprotocol.spec
-
- McpSchema.ErrorCodes - Class in io.modelcontextprotocol.spec
-
Standard error codes used in MCP JSON-RPC responses.
- McpSchema.GetPromptRequest - Class in io.modelcontextprotocol.spec
-
Used by the client to get a prompt provided by the server.
- McpSchema.GetPromptResult - Class in io.modelcontextprotocol.spec
-
The server's response to a prompts/get request from the client.
- McpSchema.ImageContent - Class in io.modelcontextprotocol.spec
-
- McpSchema.Implementation - Class in io.modelcontextprotocol.spec
-
- McpSchema.InitializeRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.InitializeResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCBatchRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCBatchResponse - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCMessage - Interface in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCMessage.SealedControl - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCNotification - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCResponse - Class in io.modelcontextprotocol.spec
-
- McpSchema.JSONRPCResponse.JSONRPCError - Class in io.modelcontextprotocol.spec
-
- McpSchema.JsonSchema - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListPromptsResult - Class in io.modelcontextprotocol.spec
-
The server's response to a prompts/list request from the client.
- McpSchema.ListResourcesResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListResourceTemplatesResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ListRootsResult - Class in io.modelcontextprotocol.spec
-
The client's response to a roots/list request from the server.
- McpSchema.ListToolsResult - Class in io.modelcontextprotocol.spec
-
The server's response to a tools/list request from the client.
- McpSchema.LoggingLevel - Enum in io.modelcontextprotocol.spec
-
- McpSchema.LoggingMessageNotification - Class in io.modelcontextprotocol.spec
-
The Model Context Protocol (MCP) provides a standardized way for servers to send
structured log messages to clients.
- McpSchema.LoggingMessageNotification.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelHint - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelPreferences - Class in io.modelcontextprotocol.spec
-
- McpSchema.ModelPreferences.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.PaginatedRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.PaginatedResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.ProgressNotification - Class in io.modelcontextprotocol.spec
-
- McpSchema.Prompt - Class in io.modelcontextprotocol.spec
-
A prompt or prompt template that the server offers.
- McpSchema.PromptArgument - Class in io.modelcontextprotocol.spec
-
Describes an argument that a prompt can accept.
- McpSchema.PromptMessage - Class in io.modelcontextprotocol.spec
-
Describes a message returned as part of a prompt.
- McpSchema.ReadResourceRequest - Class in io.modelcontextprotocol.spec
-
- McpSchema.ReadResourceResult - Class in io.modelcontextprotocol.spec
-
- McpSchema.Request - Interface in io.modelcontextprotocol.spec
-
- McpSchema.Resource - Class in io.modelcontextprotocol.spec
-
A known resource that the server is capable of reading.
- McpSchema.ResourceContents - Interface in io.modelcontextprotocol.spec
-
The contents of a specific resource or sub-resource.
- McpSchema.ResourceTemplate - Class in io.modelcontextprotocol.spec
-
Resource templates allow servers to expose parameterized resources using URI
templates.
- McpSchema.Role - Enum in io.modelcontextprotocol.spec
-
- McpSchema.Root - Class in io.modelcontextprotocol.spec
-
Represents a root directory or file that the server can operate on.
- McpSchema.SamplingMessage - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.Builder - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.LoggingCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.PromptCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.ResourceCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.ServerCapabilities.ToolCapabilities - Class in io.modelcontextprotocol.spec
-
- McpSchema.SubscribeRequest - Class in io.modelcontextprotocol.spec
-
Sent from the client to request resources/updated notifications from the server
whenever a particular resource changes.
- McpSchema.TextContent - Class in io.modelcontextprotocol.spec
-
- McpSchema.TextResourceContents - Class in io.modelcontextprotocol.spec
-
Text contents of a resource.
- McpSchema.Tool - Class in io.modelcontextprotocol.spec
-
Represents a tool that the server provides.
- McpSchema.UnsubscribeRequest - Class in io.modelcontextprotocol.spec
-
- McpServer - Interface in io.modelcontextprotocol.server
-
Factory class for creating Model Context Protocol (MCP) servers.
- McpServer.AsyncSpecification - Class in io.modelcontextprotocol.server
-
Asynchronous server specification.
- McpServer.SyncSpecification - 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.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.AsyncResourceTemplateSpecification - Class in io.modelcontextprotocol.server
-
- McpServerFeatures.AsyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its asynchronous handler function.
- McpServerFeatures.Sync - Class in io.modelcontextprotocol.server
-
Synchronous server features specification.
- McpServerFeatures.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.SyncResourceTemplateSpecification - Class in io.modelcontextprotocol.server
-
Specification of a resource template with its synchronous handler function.
- McpServerFeatures.SyncToolSpecification - Class in io.modelcontextprotocol.server
-
Specification of a tool with its synchronous handler function.
- 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 Control Protocol (MCP) session on the server side.
- McpServerSession(String, McpServerTransport, McpServerSession.InitRequestHandler, McpServerSession.InitNotificationHandler, Map<String, McpServerSession.RequestHandler<?>>, Map<String, McpServerSession.NotificationHandler>) - Constructor for class io.modelcontextprotocol.spec.McpServerSession
-
Creates a new server session with the given parameters and the transport to use.
- McpServerSession.Factory - Interface in io.modelcontextprotocol.spec
-
Factory for creating server sessions which delegate to a provided 1:1 transport
with a connected client.
- McpServerSession.InitNotificationHandler - Interface in io.modelcontextprotocol.spec
-
Notification handler for the initialization notification from the client.
- McpServerSession.InitRequestHandler - Interface in io.modelcontextprotocol.spec
-
Request handler for the initialization request.
- McpServerSession.MethodNotFoundError - Class in io.modelcontextprotocol.spec
-
- McpServerSession.NotificationHandler - Interface in io.modelcontextprotocol.spec
-
A handler for client-initiated notifications.
- McpServerSession.RequestHandler<T> - Interface in io.modelcontextprotocol.spec
-
A handler for client-initiated requests.
- McpServerTransport - Interface in io.modelcontextprotocol.spec
-
Marker interface for the server-side MCP transport.
- McpServerTransportProvider - Interface in io.modelcontextprotocol.spec
-
The core building block providing the server-side MCP transport.
- McpSession - Interface in io.modelcontextprotocol.spec
-
Represents a Model Control Protocol (MCP) session that handles communication between
clients and the server.
- McpSyncClient - Class in io.modelcontextprotocol.client
-
A synchronous client implementation for the Model Context Protocol (MCP) that wraps an
McpAsyncClient to provide blocking operations.
- McpSyncServer - Class in io.modelcontextprotocol.server
-
A synchronous implementation of the Model Context Protocol (MCP) server that wraps
McpAsyncServer to provide blocking operations.
- McpSyncServer(McpAsyncServer) - Constructor for class io.modelcontextprotocol.server.McpSyncServer
-
Creates a new synchronous server that wraps the provided async server.
- McpSyncServerExchange - Class in io.modelcontextprotocol.server
-
Represents a synchronous exchange with a Model Context Protocol (MCP) client.
- McpSyncServerExchange(McpAsyncServerExchange) - Constructor for class io.modelcontextprotocol.server.McpSyncServerExchange
-
Create a new synchronous exchange with the client using the provided asynchronous
implementation as a delegate.
- McpTransport - Interface in io.modelcontextprotocol.spec
-
Defines the asynchronous transport layer for the Model Context Protocol (MCP).
- message(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- MESSAGE_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
Event type for JSON-RPC messages sent through the SSE connection.
- messageEndpoint(String) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
-
Sets the endpoint URI where clients should send their JSON-RPC messages.
- messageEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
Message 端点
- messages(List<McpSchema.SamplingMessage>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- metadata(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- METHOD_INITIALIZE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_LOGGING_SET_LEVEL - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOT_FOUND - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
-
The method does not exist / is not available.
- METHOD_NOTIFICATION_INITIALIZED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_PROMPTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_RESOURCES_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_ROOTS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_NOTIFICATION_TOOLS_LIST_CHANGED - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PING - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PROMPT_GET - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_PROMPT_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_READ - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_SUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_TEMPLATES_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_RESOURCES_UNSUBSCRIBE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_ROOTS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_SAMPLING_CREATE_MESSAGE - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_TOOLS_CALL - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- METHOD_TOOLS_LIST - Static variable in class io.modelcontextprotocol.spec.McpSchema
-
- 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
-
- 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() - 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
-
- 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
-
- 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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ReadResourceRequest
-
- ReadResourceResult() - 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
-
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a prompt handler at runtime.
- removePrompt(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a prompt handler.
- 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.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
-
移除资源
- removeResourceTemplate(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a resource template handler at runtime.
- removeResourceTemplate(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a resource template handler.
- removeRoot(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Removes a root from the client's root list.
- removeRoot(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Remove a root dynamically.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpAsyncServer
-
Remove a tool handler at runtime.
- removeTool(String) - Method in class io.modelcontextprotocol.server.McpSyncServer
-
Remove a tool handler.
- removeTool(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除工具
- removeTool(ToolProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
移除工具
- reopen() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
-
重新打开
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the duration to wait for server responses before timing out requests.
- requestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
-
- Resource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Resource
-
- ResourceCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ResourceCapabilities
-
- 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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.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, McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using a Map.
- resources(List<McpServerFeatures.SyncResourceSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using a List.
- resources(McpServerFeatures.SyncResourceSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Registers multiple resources with their handlers using varargs.
- resources(Boolean, Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
-
- resourcesChangeConsumer(Function<List<McpSchema.Resource>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Adds a consumer to be notified when the available resources change.
- resourcesChangeConsumer(Consumer<List<McpSchema.Resource>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Adds a consumer to be notified when the available resources change.
- ResourceTemplate() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ResourceTemplate
-
- resourceTemplates(List<McpServerFeatures.AsyncResourceTemplateSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpServerFeatures.AsyncResourceTemplateSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
-
Sets the resource templates using varargs for convenience.
- resourceTemplates(List<McpServerFeatures.SyncResourceTemplateSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the resource templates that define patterns for dynamic resource access.
- resourceTemplates(McpServerFeatures.SyncResourceTemplateSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
-
Sets the resource templates using varargs for convenience.
- resume() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
恢复(主要用于测试)
- role(McpSchema.Role) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- Root() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Root
-
- RootCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.RootCapabilities
-
- roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the root URIs that this client can access.
- roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
-
Sets the root URIs that this client can access, using a varargs parameter for
convenience.
- roots(List<McpSchema.Root>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the root URIs that this client can access.
- roots(McpSchema.Root...) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
-
Sets the root URIs that this client can access, using a varargs parameter for
convenience.
- roots(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
-
- 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
-
- sendHeartbeat() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- sendHeartbeat() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
-
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
-
Sends a JSON-RPC message to the server.
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider.StdioMcpSessionTransport
-
- sendMessage(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
-
- sendMessage(McpSchema.JSONRPCMessage) - Method in interface io.modelcontextprotocol.spec.McpTransport
-
Sends a message to the peer asynchronously.
- sendNotification(String) - Method in class io.modelcontextprotocol.spec.McpClientSession
-
- sendNotification(String, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpClientSession
-
Sends a JSON-RPC notification.
- sendNotification(String, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpServerSession
-
- sendNotification(String) - Method in interface io.modelcontextprotocol.spec.McpSession
-
Sends a notification to the model client or server without parameters.
- sendNotification(String, Map<String, Object>) - Method in interface io.modelcontextprotocol.spec.McpSession
-
Sends a notification to the model client or server with parameters.
- sendNotification(String, Map<String, Object>) - Method in class io.modelcontextprotocol.spec.StatelessMcpSession
-
- 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.StatelessMcpSession
-
- 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.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
-
服务端参数(用于 stdio)
- 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 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.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.McpServerParameters
-
- setEnv(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters
-
- setHeaders(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- 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
-
- 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
-
设置日志级别
- setName(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setRequestTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setServerParameters(McpServerParameters) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider
-
- setSessionFactory(McpServerSession.Factory) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
-
- setSessionFactory(McpServerSession.Factory) - Method in interface io.modelcontextprotocol.spec.McpServerTransportProvider
-
Sets the session factory that will be used to create sessions for new clients.
- setStdErrorHandler(Consumer<String>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
-
Sets the handler for processing transport-level errors.
- 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.McpServerParameters
-
- setVersion(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
-
- 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 SSE endpoint path.
- sseEndpoint(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
-
SSE 端点
- start(AppContext) - Method in class org.noear.solon.ai.mcp.integration.McpPlugin
-
- start() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- StatelessMcpSession - Class in io.modelcontextprotocol.spec
-
- StatelessMcpSession(McpTransport) - Constructor for class io.modelcontextprotocol.spec.StatelessMcpSession
-
- 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.
- StdioMcpSessionTransport() - Constructor for class io.modelcontextprotocol.server.transport.StdioServerTransportProvider.StdioMcpSessionTransport
-
- 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.
- StdioServerTransportProvider.StdioMcpSessionTransport - Class in io.modelcontextprotocol.server.transport
-
Implementation of McpServerTransport for the stdio session.
- stop() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
-
- stopReason(McpSchema.CreateMessageResult.StopReason) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
-
- stopSequences(List<String>) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-
- SubscribeRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SubscribeRequest
-
- subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
-
Subscribes to changes in a specific resource.
- subscribeResource(McpSchema.SubscribeRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
-
Subscriptions.
- sync(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.
- SyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification
-
- SyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification
-
- SyncResourceTemplateSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncResourceTemplateSpecification
-
- SyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification
-
- systemPrompt(String) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
-