Skip to content

v1.8.3

Latest
Compare
Choose a tag to compare
@kevwan kevwan released this 04 May 08:09
· 37 commits to master since this release
69aa7fe

🌟 Highlights

  • MCP Server SDK: Added comprehensive Model Context Protocol server SDK support with real-time communication, JSON-RPC, prompt management, and more.
  • API Route Improvements: Enhanced handling of special characters in API route paths.

🚀 Features

  • MCP server SDK:

    • Real-time Communication: Robust SSE-based system with persistent client connections
    • JSON-RPC Support: Complete implementation with proper request processing and response formatting
    • Tool System: Register custom tools with schema validation and support for various return types
    • Prompt Management: Static prompts with templating and dynamic prompts with handler functions
    • Resource Handling: Register and deliver file resources with proper MIME type support
    • Embedded Resources: Include files directly in conversation messages
    • Content Flexibility: Support for text, code, images, and binary content
    • Protocol Features: Proper initialization sequences and capability negotiation
    • Comprehensive Error Handling: Proper error reporting with appropriate error codes
    • Performance Optimizations: Configurable timeouts and efficient resource management
    • Context Awareness: All handlers receive context for timeout and cancellation support

    ⚠️ API Stability Notice: Since this is the initial release of the MCP SDK and AI technology is rapidly evolving, the APIs might change in future releases to improve developer experience and adapt to emerging industry standards.

    📚 Tutorial: For detailed documentation and usage examples, check out the MCP Tutorial

  • API Enhancements:

    • Fixed handling of special characters (like periods) in API route paths

🐛 Bug Fixes

  • Fixed marshaler bug when handling arrays

📦 Dependency Updates

  • Bumped github.com/redis/go-redis/v9 from 9.7.3 to 9.8.0

👋 Welcome to New Contributors

A warm welcome to our new contributors who made their first contributions to go-zero in this release:

🔗 Links