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

A

add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, T) - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
添加
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionPrompt) - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionResource) - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
add(McpSyncServer, McpServer.SyncSpecification, McpServerProperties, FunctionTool) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
addEnvVar(String, String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
addEnvVar(String, String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
addHint(String) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
addPrompt(McpServerFeatures.AsyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new prompt handler at runtime.
addPrompt(McpServerFeatures.SyncPromptSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new prompt handler.
addPrompt(FunctionPrompt) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记提示语
addPrompt(PromptProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记提示语
addResource(McpServerFeatures.AsyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new resource handler at runtime.
addResource(McpServerFeatures.SyncResourceSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new resource handler.
addResource(FunctionResource) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记资源
addResource(ResourceProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记资源
addResourceTemplate(McpServerFeatures.AsyncResourceTemplateSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new resource template handler at runtime.
addResourceTemplate(McpServerFeatures.SyncResourceTemplateSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new resource template handler.
addRoot(McpSchema.Root) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Adds a new root to the client's root list.
addRoot(McpSchema.Root) - Method in class io.modelcontextprotocol.client.McpSyncClient
Add a roots dynamically.
addTool(McpServerFeatures.AsyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpAsyncServer
Add a new tool specification at runtime.
addTool(McpServerFeatures.SyncToolSpecification) - Method in class io.modelcontextprotocol.server.McpSyncServer
Add a new tool handler.
addTool(FunctionTool) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记工具
addTool(ToolProvider) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
登记工具
all() - Method in interface org.noear.solon.ai.mcp.server.manager.McpServerManager
全部
all() - Method in class org.noear.solon.ai.mcp.server.manager.PromptMcpServerManager
 
all() - Method in class org.noear.solon.ai.mcp.server.manager.ResourceMcpServerManager
 
all() - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
Annotations() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Annotations
 
apiKey(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
apiUrl(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
arg(String) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
arg(String) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
args(String...) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
args(List<String>) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
args(String...) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
args(List<String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
Assert - Class in io.modelcontextprotocol.util
Utility class providing assertion methods for parameter validation.
Assert() - Constructor for class io.modelcontextprotocol.util.Assert
 
async(McpClientTransport) - Static method in interface io.modelcontextprotocol.client.McpClient
Start building an asynchronous MCP client with the specified transport layer.
async(McpServerTransportProvider) - Static method in interface io.modelcontextprotocol.server.McpServer
Starts building an asynchronous MCP server that provides non-blocking operations.
AsyncPromptSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification
 
AsyncResourceSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceSpecification
 
AsyncResourceTemplateSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceTemplateSpecification
 
AsyncToolSpecification() - Constructor for class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
 
awaitForExit() - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
Waits for the server process to exit.

B

BlobResourceContents() - Constructor for class io.modelcontextprotocol.spec.McpSchema.BlobResourceContents
 
build() - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Create an instance of McpAsyncClient with the provided configurations or sensible defaults.
build() - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Create an instance of McpSyncClient with the provided configurations or sensible defaults.
build() - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
build() - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Builds a new WebRxSseClientTransport instance.
build() - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Builds an asynchronous MCP server that provides non-blocking operations.
build() - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Builds a synchronous MCP server that provides blocking operations.
build() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Builds a new instance of WebRxSseServerTransportProvider with the configured settings.
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
build() - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
build() - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
build() - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
build() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
构建
builder(String) - Static method in class io.modelcontextprotocol.client.transport.ServerParameters
 
Builder(String) - Constructor for class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
builder(HttpUtilsBuilder) - Static method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new builder for WebRxSseClientTransport.
Builder(HttpUtilsBuilder) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Creates a new builder with the specified base URI.
builder() - Static method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
Builder() - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
builder() - Static method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities
 
Builder() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
builder() - Static method in class org.noear.solon.ai.mcp.client.McpClientProvider
 
Builder() - Constructor for class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
builder(String) - Static method in class org.noear.solon.ai.mcp.client.McpServerParameters
 
Builder(String) - Constructor for class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
builder() - Static method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
Builder() - Constructor for class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
 
buildJsonSchema(FunctionTool) - Method in class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 

C

cacheSeconds(int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
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
 

D

data(String) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
DEFAULT_SSE_ENDPOINT - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Default SSE endpoint path as specified by the MCP transport specification.
description() - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
描述
description(String) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明函数描述
description() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
description() - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
description() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
描述
description(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明函数描述
description() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
description() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
deserializeJsonRpcMessage(ObjectMapper, String) - Static method in class io.modelcontextprotocol.spec.McpSchema
Deserializes a JSON string into a JSONRPCMessage object.
deserializeJsonRpcMessage(ObjectMapper, JsonNode) - Static method in class io.modelcontextprotocol.spec.McpSchema
 
doHandle(Function<Map<String, Object>, Collection<ChatMessage>>) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
申明函数处理
doHandle(Function<String, Text>) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明函数处理

E

EmbeddedResource() - Constructor for class io.modelcontextprotocol.spec.McpSchema.EmbeddedResource
 
enableOutputSchema(boolean) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
启用输出架构
ENDPOINT_EVENT_TYPE - Static variable in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Event type for sending the message endpoint URI to clients.
env(Map<String, String>) - Method in class io.modelcontextprotocol.client.transport.ServerParameters.Builder
 
env(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpServerParameters.Builder
 
equals(Object) - Method in class io.modelcontextprotocol.util.UriTemplate
 
ErrorCodes() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
 
experimental(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
experimental(Map<String, Object>) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 

F

from(Class<?>, McpServerEndpoint) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
 
fromMcpServer(McpServerParameters) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 serverParameters 配置加载客户端
fromMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpClientProvider
fromMcpServers(String) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromMcpServers(ONode) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromMcpServers(Map<String, McpServerParameters>) - Static method in class org.noear.solon.ai.mcp.client.McpProviders
根据 mcpServers 配置加载客户端
fromSync(McpServerFeatures.SyncToolSpecification) - Static method in class io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification
 
FunctionPrompt - Interface in org.noear.solon.ai.mcp.server.prompt
函数提示语
FunctionPromptDesc - Class in org.noear.solon.ai.mcp.server.prompt
函数提示语描述
FunctionPromptDesc(String) - Constructor for class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
FunctionResource - Interface in org.noear.solon.ai.mcp.server.resource
函数资源
FunctionResourceDesc - Class in org.noear.solon.ai.mcp.server.resource
函数资源描述
FunctionResourceDesc(String) - Constructor for class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 

G

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
 
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
版本

H

handle(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.spec.McpClientSession
 
handle(Object) - Method in interface io.modelcontextprotocol.spec.McpClientSession.NotificationHandler
Handles an incoming notification with the given parameters.
handle(Object) - Method in interface io.modelcontextprotocol.spec.McpClientSession.RequestHandler
Handles an incoming request with the given parameters.
handle(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.spec.McpServerSession
Called by the McpServerTransportProvider once the session is determined.
handle() - Method in interface io.modelcontextprotocol.spec.McpServerSession.InitNotificationHandler
Specifies an action to take upon successful initialization.
handle(McpSchema.InitializeRequest) - Method in interface io.modelcontextprotocol.spec.McpServerSession.InitRequestHandler
Handles the initialization request.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.NotificationHandler
Handles a notification from the client.
handle(McpAsyncServerExchange, Object) - Method in interface io.modelcontextprotocol.spec.McpServerSession.RequestHandler
Handles a request from the client.
handle(McpSchema.JSONRPCMessage) - Method in interface io.modelcontextprotocol.spec.McpSession
Called by the McpServerTransportProvider once the session is determined.
handle(McpSchema.JSONRPCMessage) - Method in class io.modelcontextprotocol.spec.StatelessMcpSession
 
handle(Map<String, Object>) - Method in interface org.noear.solon.ai.mcp.server.prompt.FunctionPrompt
处理
handle(Map<String, Object>) - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
handle(Map<String, Object>) - Method in class org.noear.solon.ai.mcp.server.prompt.MethodFunctionPrompt
 
handle(String) - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
处理
handle(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
handle(String) - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
handleMessage(Context) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Handles incoming JSON-RPC messages from clients.
handleOutbound(Function<Flux<McpSchema.JSONRPCMessage>, Flux<McpSchema.JSONRPCMessage>>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
handleSseConnection(Context) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Handles new SSE connection requests from clients.
hashCode() - Method in class io.modelcontextprotocol.util.UriTemplate
 
hasPrompt(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在提示语
hasResource(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在资源
hasText(String, String) - Static method in class io.modelcontextprotocol.util.Assert
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - Static method in class io.modelcontextprotocol.util.Utils
Check whether the given String contains actual text.
hasTool(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
是否存在工具
headerSet(String, String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
headerSet(Map<String, String>) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
heartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
heartbeatInterval(Duration) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
SSE 心跳间隔
hints(List<McpSchema.ModelHint>) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
httpProxy - Variable in class org.noear.solon.ai.mcp.client.McpClientProperties
http 代理简单描述
httpProxy(Proxy) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
httpProxy(String, int) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
httpTimeout(HttpTimeout) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 

I

ImageContent() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ImageContent
 
Implementation() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Implementation
 
includeContext(McpSchema.CreateMessageRequest.ContextInclusionStrategy) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
init(McpSchema.ClientCapabilities, McpSchema.Implementation) - Method in class io.modelcontextprotocol.spec.McpServerSession
Called upon successful initialization sequence between the client and the server with the client capabilities and information.
initializationTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
 
initializationTimeout(Duration) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
 
initializationTimeout(Duration) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
initialize() - Method in class io.modelcontextprotocol.client.McpAsyncClient
The initialization phase MUST be the first interaction between client and server.
initialize() - Method in class io.modelcontextprotocol.client.McpSyncClient
The initialization phase MUST be the first interaction between client and server.
initializedSink - Variable in class io.modelcontextprotocol.client.McpAsyncClient
 
InitializeRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeRequest
 
InitializeResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.InitializeResult
 
intelligencePriority(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.ModelPreferences.Builder
 
INTERNAL_ERROR - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Internal JSON-RPC error.
INVALID_PARAMS - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
Invalid method parameter(s).
INVALID_REQUEST - Static variable in class io.modelcontextprotocol.spec.McpSchema.ErrorCodes
The JSON sent is not a valid Request object.
io.modelcontextprotocol.client - package io.modelcontextprotocol.client
 
io.modelcontextprotocol.client.transport - package io.modelcontextprotocol.client.transport
 
io.modelcontextprotocol.server - package io.modelcontextprotocol.server
 
io.modelcontextprotocol.server.transport - package io.modelcontextprotocol.server.transport
 
io.modelcontextprotocol.spec - package io.modelcontextprotocol.spec
 
io.modelcontextprotocol.util - package io.modelcontextprotocol.util
 
isBlank(String) - Static method in class io.modelcontextprotocol.util.Utils
 
isEmpty(Collection<?>) - Static method in class io.modelcontextprotocol.util.Utils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - Static method in class io.modelcontextprotocol.util.Utils
Return true if the supplied Map is null or empty.
isInitialized() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Check if the client-server connection is initialized.
isInitialized() - Method in class io.modelcontextprotocol.client.McpSyncClient
Check if the client-server connection is initialized.

J

JSONRPC_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
JSONRPCBatchRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCBatchRequest
 
JSONRPCBatchResponse() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCBatchResponse
 
JSONRPCError() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCResponse.JSONRPCError
 
JSONRPCNotification() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCNotification
 
JSONRPCRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCRequest
 
JSONRPCResponse() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JSONRPCResponse
 
JsonSchema() - Constructor for class io.modelcontextprotocol.spec.McpSchema.JsonSchema
 

L

LATEST_PROTOCOL_VERSION - Static variable in class io.modelcontextprotocol.spec.McpSchema
 
level() - Method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
 
level(McpSchema.LoggingLevel) - Method in class io.modelcontextprotocol.spec.McpSchema.LoggingMessageNotification.Builder
 
listPrompts() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all prompts provided by the server.
listPrompts(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of prompts provided by the server.
listPrompts(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
 
listPrompts() - Method in class io.modelcontextprotocol.client.McpSyncClient
 
ListPromptsResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListPromptsResult
 
listResources() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all resources provided by the server.
listResources(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of resources provided by the server.
listResources(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/list request.
listResources() - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/list request.
ListResourcesResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourcesResult
 
listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves the list of all resource templates provided by the server.
listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Retrieves a paginated list of resource templates provided by the server.
listResourceTemplates(String) - Method in class io.modelcontextprotocol.client.McpSyncClient
Resource templates allow servers to expose parameterized resources using URI templates.
listResourceTemplates() - Method in class io.modelcontextprotocol.client.McpSyncClient
Request a list of resource templates the server has.
ListResourceTemplatesResult() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ListResourceTemplatesResult
 
listRoots() - Method in class io.modelcontextprotocol.server.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.

M

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
 

N

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

O

objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport.Builder
Sets the object mapper for JSON serialization/deserialization.
objectMapper - Variable in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
JSON object mapper for message serialization/deserialization
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Sets the object mapper to use for serializing and deserializing JSON messages.
objectMapper(ObjectMapper) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.Builder
Sets the ObjectMapper to use for JSON serialization/deserialization of MCP messages.
of(String) - Static method in class io.modelcontextprotocol.spec.McpSchema.ModelHint
 
openSSE() - Method in class io.modelcontextprotocol.client.McpAsyncClient
The client may issue an HTTP GET to the MCP endpoint.
openSSE() - Method in class io.modelcontextprotocol.client.McpSyncClient
The client may issue an HTTP GET to the MCP endpoint.
openSSE() - Method in class io.modelcontextprotocol.spec.McpClientSession
The client may issue an HTTP GET to the MCP endpoint.
org.noear.solon.ai.annotation - package org.noear.solon.ai.annotation
 
org.noear.solon.ai.mcp - package org.noear.solon.ai.mcp
 
org.noear.solon.ai.mcp.client - package org.noear.solon.ai.mcp.client
 
org.noear.solon.ai.mcp.exception - package org.noear.solon.ai.mcp.exception
 
org.noear.solon.ai.mcp.integration - package org.noear.solon.ai.mcp.integration
 
org.noear.solon.ai.mcp.server - package org.noear.solon.ai.mcp.server
 
org.noear.solon.ai.mcp.server.annotation - package org.noear.solon.ai.mcp.server.annotation
 
org.noear.solon.ai.mcp.server.manager - package org.noear.solon.ai.mcp.server.manager
 
org.noear.solon.ai.mcp.server.prompt - package org.noear.solon.ai.mcp.server.prompt
 
org.noear.solon.ai.mcp.server.resource - package org.noear.solon.ai.mcp.server.resource
 

P

PaginatedRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PaginatedRequest
 
PaginatedResult() - 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.
postStart() - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider
 
ProgressNotification() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ProgressNotification
 
Prompt() - Constructor for class io.modelcontextprotocol.spec.McpSchema.Prompt
 
PromptArgument() - Constructor for class io.modelcontextprotocol.spec.McpSchema.PromptArgument
 
PromptCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.PromptCapabilities
 
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() - Constructor for class io.modelcontextprotocol.spec.McpSchema.CompleteRequest.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, 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
 

Q

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

R

readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Reads the content of a specific resource identified by the provided Resource object.
readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Reads the content of a specific resource identified by the provided request.
readResource(McpSchema.Resource) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/read request.
readResource(McpSchema.ReadResourceRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/read request.
readResource(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
读取资源
readResourceAsText(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider
读取资源
ReadResourceRequest() - 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.

S

sampling(Function<McpSchema.CreateMessageRequest, Mono<McpSchema.CreateMessageResult>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets a custom sampling handler for processing message creation requests.
sampling(Function<McpSchema.CreateMessageRequest, McpSchema.CreateMessageResult>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets a custom sampling handler for processing message creation requests.
sampling() - Method in class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Builder
 
Sampling() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ClientCapabilities.Sampling
 
SamplingMessage() - Constructor for class io.modelcontextprotocol.spec.McpSchema.SamplingMessage
 
sendHeartbeat() - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
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
 
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
 

T

temperature(Double) - Method in class io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.Builder
 
TextContent(String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextContent
 
TextResourceContents() - Constructor for class io.modelcontextprotocol.spec.McpSchema.TextResourceContents
 
toCompletableFuture(Future<T>) - Static method in class io.modelcontextprotocol.util.Utils
 
toCompletableFutureDiscard(Future<?>) - Static method in class io.modelcontextprotocol.util.Utils
 
toHttpHandler(SolonApp) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
 
tool(McpSchema.Tool, BiFunction<McpAsyncServerExchange, Map<String, Object>, Mono<McpSchema.CallToolResult>>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds a single tool with its implementation handler to the server.
tool(McpSchema.Tool, BiFunction<McpSyncServerExchange, Map<String, Object>, McpSchema.CallToolResult>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds a single tool with its implementation handler to the server.
Tool(String, String, Boolean, String, String) - Constructor for class io.modelcontextprotocol.spec.McpSchema.Tool
 
ToolCapabilities() - Constructor for class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.ToolCapabilities
 
ToolMcpServerManager - Class in org.noear.solon.ai.mcp.server.manager
工具服务端管理
ToolMcpServerManager() - Constructor for class org.noear.solon.ai.mcp.server.manager.ToolMcpServerManager
 
tools(List<McpServerFeatures.AsyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.AsyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.AsyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(List<McpServerFeatures.SyncToolSpecification>) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds multiple tools with their handlers to the server using a List.
tools(McpServerFeatures.SyncToolSpecification...) - Method in class io.modelcontextprotocol.server.McpServer.SyncSpecification
Adds multiple tools with their handlers to the server using varargs.
tools(Boolean) - Method in class io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder
 
toolsChangeConsumer(Function<List<McpSchema.Tool>, Mono<Void>>) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Adds a consumer to be notified when the available tools change.
toolsChangeConsumer(Consumer<List<McpSchema.Tool>>) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Adds a consumer to be notified when the available tools change.
toString() - Method in class io.modelcontextprotocol.util.UriTemplate
Returns the original template string.
toString() - Method in class org.noear.solon.ai.mcp.client.McpClientProperties
 
toString() - Method in class org.noear.solon.ai.mcp.server.prompt.FunctionPromptDesc
 
toString() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
type() - Method in interface io.modelcontextprotocol.spec.McpSchema.Content
 

U

unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.StdioClientTransport
 
unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Unmarshals data to the specified type using the configured object mapper.
unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.server.transport.StdioServerTransportProvider.StdioMcpSessionTransport
 
unmarshalFrom(Object, TypeReference<T>) - Method in class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
 
unmarshalFrom(Object, TypeReference<T>) - Method in interface io.modelcontextprotocol.spec.McpTransport
Unmarshals the given data into an object of the specified type.
UnsubscribeRequest() - Constructor for class io.modelcontextprotocol.spec.McpSchema.UnsubscribeRequest
 
unsubscribeResource(McpSchema.UnsubscribeRequest) - Method in class io.modelcontextprotocol.client.McpAsyncClient
Cancels an existing subscription to a resource.
unsubscribeResource(McpSchema.UnsubscribeRequest) - Method in class io.modelcontextprotocol.client.McpSyncClient
Send a resources/unsubscribe request.
uri() - Method in interface org.noear.solon.ai.mcp.server.resource.FunctionResource
资源地址描述
uri(String) - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
申明资源地址
uri() - Method in class org.noear.solon.ai.mcp.server.resource.FunctionResourceDesc
 
uri() - Method in class org.noear.solon.ai.mcp.server.resource.MethodFunctionResource
 
UriTemplate - Class in io.modelcontextprotocol.util
A utility class for validating and matching URI templates.
UriTemplate(String) - Constructor for class io.modelcontextprotocol.util.UriTemplate
Constructor to create a new UriTemplate instance.
userAgent() - Method in class org.noear.solon.ai.mcp.server.McpServerContext
 
Utils - Class in io.modelcontextprotocol.util
Miscellaneous utility methods.
Utils() - Constructor for class io.modelcontextprotocol.util.Utils
 

V

valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.ContextInclusionStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.StopReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.modelcontextprotocol.spec.McpSchema.Role
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageRequest.ContextInclusionStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.StopReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.LoggingLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.modelcontextprotocol.spec.McpSchema.Role
Returns an array containing the constants of this enum type, in the order they are declared.
version(String) - Method in class org.noear.solon.ai.mcp.client.McpClientProvider.Builder
 
version(String) - Method in class org.noear.solon.ai.mcp.server.McpServerEndpointProvider.Builder
版本号

W

WebRxMcpSessionTransport(Context, FluxSink<SseEvent>) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider.WebRxMcpSessionTransport
 
WebRxSseClientTransport - Class in io.modelcontextprotocol.client.transport
Server-Sent Events (SSE) implementation of the McpTransport that follows the MCP HTTP with SSE transport specification.
WebRxSseClientTransport(HttpUtilsBuilder) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new transport instance with default HTTP client and object mapper.
WebRxSseClientTransport(HttpUtilsBuilder, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new transport instance with custom HTTP client builder and object mapper.
WebRxSseClientTransport(HttpUtilsBuilder, String, ObjectMapper) - Constructor for class io.modelcontextprotocol.client.transport.WebRxSseClientTransport
Creates a new transport instance with custom HTTP client builder and object mapper.
WebRxSseClientTransport.Builder - Class in io.modelcontextprotocol.client.transport
WebRxSseServerTransportProvider - Class in io.modelcontextprotocol.server.transport
Server-side implementation of the MCP (Model Context Protocol) HTTP transport using Server-Sent Events (SSE).
WebRxSseServerTransportProvider(ObjectMapper, String, String) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Constructs a new WebFlux SSE server transport provider instance.
WebRxSseServerTransportProvider(ObjectMapper, String) - Constructor for class io.modelcontextprotocol.server.transport.WebRxSseServerTransportProvider
Constructs a new WebFlux SSE server transport provider instance with the default SSE endpoint.
WebRxSseServerTransportProvider.Builder - Class in io.modelcontextprotocol.server.transport
Builder for creating instances of WebRxSseServerTransportProvider.
WebRxSseServerTransportProvider.WebRxMcpSessionTransport - Class in io.modelcontextprotocol.server.transport
 
withConnectOnInit(boolean) - Method in class io.modelcontextprotocol.client.McpClient.AsyncSpec
Sets whether to connect to the server during the initialization phase (open an SSE stream).
withConnectOnInit(boolean) - Method in class io.modelcontextprotocol.client.McpClient.SyncSpec
Sets whether to connect to the server during the initialization phase (open an SSE stream).
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2025. All rights reserved.