領先一步
VMware 提供培訓和認證,助力您加速前進。
瞭解更多我們很高興地宣佈 Spring AI MCP 0.6.0
里程碑版本釋出。
McpClient.using()
- 請改用 McpClient.sync()
或 McpClient.async()
McpServer.using()
- 請改用 McpServer.sync()
或 McpServer.async()
McpServer.ToolRegistration
- 請改用 McpServerFeatures.SyncToolRegistration
或 McpServerFeatures.AsyncToolRegistration
McpServer.ResourceRegistration
- 請改用 McpServerFeatures.SyncResourceRegistration
或 McpServerFeatures.AsyncResourceRegistration
McpServer.PromptRegistration
- 請改用 McpServerFeatures.SyncPromptRegistration
或 McpServerFeatures.AsyncPromptRegistration
ToolHelper.toToolRegistration()
- 請改用 ToolHelper.toSyncToolRegistration()
請遵循 0.6.0 遷移指南瞭解新的 API 變更。
// Synchronous client API
McpClient.sync(transport).build();
// Asynchronous client API
McpClient.async(transport).build();