v0.4.0
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
- Config structure is based on on emergent
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
- break: dramatically simplify interface, add tool name prefixes by @benjamincburns in #38
- chore: update README to reflect recent changes by @benjamincburns in #53
Full Changelog: v0.3.4...v0.4.0