| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.ServerCapabilities |
McpSyncClient.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
McpSchema.ServerCapabilities |
McpAsyncClient.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.ServerCapabilities |
McpStatelessAsyncServer.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
McpSchema.ServerCapabilities |
McpAsyncServer.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
McpSchema.ServerCapabilities |
McpStatelessSyncServer.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
McpSchema.ServerCapabilities |
McpSyncServer.getServerCapabilities()
Get the server capabilities that define the supported features and functionality.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.AsyncSpecification<S> |
McpServer.AsyncSpecification.capabilities(McpSchema.ServerCapabilities serverCapabilities)
Sets the server capabilities that will be advertised to clients during
connection initialization.
|
McpServer.SyncSpecification<S> |
McpServer.SyncSpecification.capabilities(McpSchema.ServerCapabilities serverCapabilities)
Sets the server capabilities that will be advertised to clients during
connection initialization.
|
McpServer.StatelessAsyncSpecification |
McpServer.StatelessAsyncSpecification.capabilities(McpSchema.ServerCapabilities serverCapabilities)
Sets the server capabilities that will be advertised to clients during
connection initialization.
|
McpServer.StatelessSyncSpecification |
McpServer.StatelessSyncSpecification.capabilities(McpSchema.ServerCapabilities serverCapabilities)
Sets the server capabilities that will be advertised to clients during
connection initialization.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.ServerCapabilities |
McpSchema.ServerCapabilities.Builder.build() |
| Constructor and Description |
|---|
InitializeResult(String protocolVersion,
McpSchema.ServerCapabilities capabilities,
McpSchema.Implementation serverInfo,
String instructions) |
Copyright © 2025. All rights reserved.