Skip to content

v0.4.0

Compare
Choose a tag to compare
@benjamincburns benjamincburns released this 04 Apr 03:27
· 4 commits to main since this release

Breaking Changes

  • Configuration system completely revamped - now uses object-based config, instead of file-based
    • Config structure is based on on emergent mcpServers config "standard" used by Claude, Claude Code, and many other MCP clients
  • MultiServerMCPClient constructor now requires a connections record or complete server config, and no longer auto-loads from mcp.json
  • Several methods that were sync are now async (e.g., getTools(), getClient())
  • Removed multiple configuration methods (fromConfigFile, addConfigFromFile, etc.)
  • Added Zod validation for configurations with improved error reporting
  • Changed tool naming convention for MultiServerMCPClient with new prefix options, aligned with naming conventions used by Claude Code

New Features

  • Support for rich content responses including text, images, and embedded resources
  • Added debug logging with the debug package
  • Improved error handling with distinct error types
  • More robust type safety throughout the codebase

Documentation

  • Completely restructured README with clearer examples and organization
  • Added detailed sections on configuration options, error handling, and response types
  • Simplified examples focused on real-world use cases

Merged Pull Requests

Full Changelog: v0.3.4...v0.4.0