Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreWe're pleased to announce Spring AI MCP 0.6.0 milestone release.
McpClient.using() - Use McpClient.sync() or McpClient.async() insteadMcpServer.using() - Use McpServer.sync() or McpServer.async() insteadMcpServer.ToolRegistration - Use McpServerFeatures.SyncToolRegistration or McpServerFeatures.AsyncToolRegistration insteadMcpServer.ResourceRegistration - Use McpServerFeatures.SyncResourceRegistration or McpServerFeatures.AsyncResourceRegistration insteadMcpServer.PromptRegistration - Use McpServerFeatures.SyncPromptRegistration or McpServerFeatures.AsyncPromptRegistration insteadToolHelper.toToolRegistration() - Use ToolHelper.toSyncToolRegistration() insteadFollow the 0.6.0 Migration Guide for the new API changes.
// Synchronous client API
McpClient.sync(transport).build();
// Asynchronous client API
McpClient.async(transport).build();