github mark3labs/mcp-go v0.8.0

latest releases: v0.43.2, v0.43.1, v0.43.0...
12 months ago

🚀 Changelog

✨ New Features

  • Added comprehensive notification handling system (c61624c)
    • Server can now send notifications to specific clients
    • Added notification context tracking
    • Implemented notification channels for async communication

🔄 API Changes

  • Updated handler function signatures to include context (3a777e4)
    • Tool handlers now receive context.Context and mcp.CallToolRequest
    • Prompt handlers now receive context.Context and mcp.GetPromptRequest
    • Resource handlers now receive context.Context and mcp.ReadResourceRequest

🛠️ Improvements

  • Enhanced server capabilities configuration (9d20d89)
    • Standardized resource capabilities
    • Updated prompts and tools capabilities
    • Improved initialization process

🧰 Internal Changes

  • Refactored notification handling in SSE server (459e421)
  • Updated stdio server to support notifications (d1c3cfc)
  • Added client context tracking mechanism (63c687a)
  • Improved error logging in stdio server

📚 Documentation

  • Updated example code and README with new handler signatures (63c687a)
  • Added documentation for notification handling

🎨 Code Style

  • Applied consistent formatting throughout codebase (d1c3cfc)

Don't miss a new mcp-go release

NewReleases is sending notifications on new releases.