接口 | 说明 |
---|---|
McpInitRequestHandler |
Request handler for the initialization request.
|
McpNotificationHandler |
A handler for client-initiated notifications.
|
McpRequestHandler<T> |
A handler for client-initiated requests.
|
McpServer |
Factory class for creating Model Context Protocol (MCP) servers.
|
McpStatelessNotificationHandler |
Handler for MCP notifications in a stateless server.
|
McpStatelessRequestHandler<R> |
Handler for MCP requests in a stateless server.
|
McpStatelessServerHandler |
Handler for MCP requests and notifications in a Stateless Streamable HTTP Server
context.
|
McpTransportContext |
Context associated with the transport layer.
|
McpTransportContextExtractor<T> |
The contract for extracting metadata from a generic transport request of type
T . |
类 | 说明 |
---|---|
DefaultMcpTransportContext |
Default implementation for
McpTransportContext which uses a Thread-safe map. |
McpAsyncServer |
The Model Context Protocol (MCP) server implementation that provides asynchronous
communication using Project Reactor's Mono and Flux types.
|
McpAsyncServerExchange |
Represents an asynchronous exchange with a Model Context Protocol (MCP) client.
|
McpServer.AsyncSpecification<S extends McpServer.AsyncSpecification<S>> |
Asynchronous server specification.
|
McpServer.SingleSessionAsyncSpecification | |
McpServer.SingleSessionSyncSpecification | |
McpServer.StatelessAsyncSpecification | |
McpServer.StatelessSyncSpecification | |
McpServer.StreamableServerAsyncSpecification | |
McpServer.StreamableSyncSpecification | |
McpServer.SyncSpecification<S extends McpServer.SyncSpecification<S>> |
Synchronous server specification.
|
McpServerFeatures |
MCP server features specification that a particular server can choose to support.
|
McpServerFeatures.Async |
Asynchronous server features specification.
|
McpServerFeatures.AsyncCompletionSpecification |
Specification of a completion handler function with asynchronous execution support.
|
McpServerFeatures.AsyncPromptSpecification |
Specification of a prompt template with its asynchronous handler function.
|
McpServerFeatures.AsyncResourceSpecification |
Specification of a resource with its asynchronous handler function.
|
McpServerFeatures.AsyncToolSpecification |
Specification of a tool with its asynchronous handler function.
|
McpServerFeatures.AsyncToolSpecification.Builder |
Builder for creating AsyncToolSpecification instances.
|
McpServerFeatures.Sync |
Synchronous server features specification.
|
McpServerFeatures.SyncCompletionSpecification |
Specification of a completion handler function with synchronous execution support.
|
McpServerFeatures.SyncPromptSpecification |
Specification of a prompt template with its synchronous handler function.
|
McpServerFeatures.SyncResourceSpecification |
Specification of a resource with its synchronous handler function.
|
McpServerFeatures.SyncToolSpecification |
Specification of a tool with its synchronous handler function.
|
McpServerFeatures.SyncToolSpecification.Builder |
Builder for creating SyncToolSpecification instances.
|
McpStatelessAsyncServer |
A stateless MCP server implementation for use with Streamable HTTP transport types.
|
McpStatelessServerFeatures |
MCP stateless server features specification that a particular server can choose to
support.
|
McpStatelessServerFeatures.Async |
Asynchronous server features specification.
|
McpStatelessServerFeatures.AsyncCompletionSpecification |
Specification of a completion handler function with asynchronous execution support.
|
McpStatelessServerFeatures.AsyncPromptSpecification |
Specification of a prompt template with its asynchronous handler function.
|
McpStatelessServerFeatures.AsyncResourceSpecification |
Specification of a resource with its asynchronous handler function.
|
McpStatelessServerFeatures.AsyncToolSpecification |
Specification of a tool with its asynchronous handler function.
|
McpStatelessServerFeatures.AsyncToolSpecification.Builder |
Builder for creating AsyncToolSpecification instances.
|
McpStatelessServerFeatures.Sync |
Synchronous server features specification.
|
McpStatelessServerFeatures.SyncCompletionSpecification |
Specification of a completion handler function with synchronous execution support.
|
McpStatelessServerFeatures.SyncPromptSpecification |
Specification of a prompt template with its synchronous handler function.
|
McpStatelessServerFeatures.SyncResourceSpecification |
Specification of a resource with its synchronous handler function.
|
McpStatelessServerFeatures.SyncToolSpecification |
Specification of a tool with its synchronous handler function.
|
McpStatelessServerFeatures.SyncToolSpecification.Builder |
Builder for creating SyncToolSpecification instances.
|
McpStatelessSyncServer |
A stateless MCP server implementation for use with Streamable HTTP transport types.
|
McpSyncServer |
A synchronous implementation of the Model Context Protocol (MCP) server that wraps
McpAsyncServer to provide blocking operations. |
McpSyncServerExchange |
Represents a synchronous exchange with a Model Context Protocol (MCP) client.
|