v0.2.0 - exports and d.ts declaration
Pre-release
Pre-release
Release Notes - Version 0.2.0
New Features
- Tool Registration Validation: Added type assertions and runtime checks to ensure that only valid
Tool
instances are registered. - Enhanced Error Handling: Improved error messages for better debugging and user experience. "Local MCP servers should not log messages to stdout (standard out), as this will interfere with protocol operation." - https://modelcontextprotocol.io/docs/tools/debugging#server-side-logging
Improvements
- TypeScript Configuration: Updated
tsconfig.json
to include declaration file generation. - Build Process: Enhanced build scripts to ensure proper file permissions and output directory structure.
Bug Fixes
- Service Registration: Fixed issues with tool registration.
- File Permissions: Corrected file permission settings post-build to avoid runtime errors.
Breaking Changes
- Module Exports: Added
exports
field topackage.json
to ensure proper module resolution. Fixing: AvoidERR_PACKAGE_PATH_NOT_EXPORTED
when importingMCPServer
in external libraries, i.e.:mcp-tools
.
Documentation
- README: Updated with usage instructions, UML diagram, and contribution guidelines.
Go Rebels! ✊🏻
For more details, visit the GitHub repository or npm package page.
With ❤️ from La Rebelion Labs. 🚀
Full Changelog: v0.1.1...v0.2.0