github mark3labs/mcp-go v0.6.0

latest releases: v0.44.0-beta.1, v0.43.2, v0.43.1...
12 months ago

Changelog 🚀

Added ✨

  • New example server implementation in examples/everything/main.go showing comprehensive server features
  • New prompts.go module with flexible prompt configuration API
  • New resources.go module with resource configuration helpers
  • Helper functions for creating and configuring prompts and resources using functional options pattern
  • Improved resource template handling with regex-based URI matching

Changed 🔄

  • Refactored resource handling to use structured types and interfaces
  • Updated resource handlers to accept full request context
  • Improved server initialization and configuration options
  • Enhanced documentation with better examples and clearer explanations
  • Reorganized example code structure for better organization

Removed 🗑️

  • Removed older calculator example implementation
  • Removed some redundant code examples from documentation
  • Cleaned up unused helper functions
  • Removed outdated server implementations

Fixed 🐛

  • Fixed resource template URI pattern matching
  • Improved error handling in server responses
  • Fixed documentation formatting and examples
  • Fixed inconsistencies in server capabilities handling

Developer Experience 👩‍💻

  • Added more comprehensive examples and documentation
  • Improved API ergonomics with builder-style configuration
  • Better type safety and error handling
  • Clearer separation of concerns in server implementation

Documentation 📚

  • Added detailed examples for resources and prompts
  • Improved explanation of server capabilities
  • Updated code examples to use new helper functions
  • Enhanced readability of documentation

The changes represent a significant improvement in the API design and implementation, making it more flexible and easier to use while maintaining backwards compatibility.

Don't miss a new mcp-go release

NewReleases is sending notifications on new releases.