Skip to content

Releases: la-rebelion/mcp-server

v0.2.0 - exports and d.ts declaration

07 Jan 23:41
Compare
Choose a tag to compare
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 to package.json to ensure proper module resolution. Fixing: Avoid ERR_PACKAGE_PATH_NOT_EXPORTED when importing MCPServer 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

Initial version - Alpha version

07 Jan 10:29
Compare
Choose a tag to compare
Pre-release

MCP Server, simplifying with a facade to register tools

  • MCPServer: Core server implementation to register and manage tools.
  • Tool Base Class: Abstract class for creating tools with common properties and methods.
  • Schema Integration: Utilizes zod for schema validation and zod-to-json-schema for schema conversion.

Documentation

  • README with usage instructions and UML diagram.
  • Added detailed comments and examples for better understanding.