v2.2.0
What's Changed
- feat(pagination): Added configuration for a server-wide pagination limit, enabling more controlled data retrieval for list-based MCP operations. This limit is utilized by the
RequestProcessor
. - feat(handlers): Introduced
HandlerResolver
to provide more robust validation and resolution mechanisms for MCP element handlers, improving the reliability of element registration and invocation. - refactor(server): Modified the server listening mechanism to allow initialization and transport binding without an immediately blocking event loop. This enhances flexibility for embedding the server or managing its lifecycle in diverse application environments.
- refactor(core): Performed general cleanup and enhancements to the internal architecture and dependencies, contributing to improved code maintainability and overall system stability.
Full Changelog: 2.1.0...2.2.0