领先一步
VMware 提供培训和认证,助力您加速前进。
了解更多我们很高兴地宣布 Spring AI MCP 0.6.0 里程碑版本发布。
McpClient.using() - 请改用 McpClient.sync() 或 McpClient.async()McpServer.using() - 请改用 McpServer.sync() 或 McpServer.async()McpServer.ToolRegistration - 请改用 McpServerFeatures.SyncToolRegistration 或 McpServerFeatures.AsyncToolRegistrationMcpServer.ResourceRegistration - 请改用 McpServerFeatures.SyncResourceRegistration 或 McpServerFeatures.AsyncResourceRegistrationMcpServer.PromptRegistration - 请改用 McpServerFeatures.SyncPromptRegistration 或 McpServerFeatures.AsyncPromptRegistrationToolHelper.toToolRegistration() - 请改用 ToolHelper.toSyncToolRegistration()请遵循 0.6.0 迁移指南了解新的 API 变更。
// Synchronous client API
McpClient.sync(transport).build();
// Asynchronous client API
McpClient.async(transport).build();