Skip to content

VectorMCP v0.3.0 - Comprehensive Input Schema Validation

Choose a tag to compare

@sergiobayona sergiobayona released this 20 Jun 20:39
· 171 commits to main since this release

This release introduces a two-layer validation system that significantly improves
security while maintaining full backward compatibility.

✨ New Features

  • Schema Validation: Validates JSON Schema format during tool registration using
    json-schema gem
  • Input Validation: Validates user arguments against defined schemas during tool
    execution
  • Automatic Security: All tools with input_schema are automatically validated
  • Detailed Error Messages: Specific validation failure details help with
    debugging
  • Developer-Friendly: New examples/validation_demo.rb and comprehensive
    documentation

🔒 Security Improvements

  • Injection Attack Prevention: Centralized validation prevents malformed input
    from reaching tool handlers
  • Type Safety: Ensures all arguments match expected JSON Schema types and
    constraints
  • Early Error Detection: Invalid schemas caught during development, not runtime

📚 Enhanced Documentation

  • Comprehensive README section on automatic input validation
  • New validation demo example
  • Complete examples documentation
  • Security best practices guidance

🔄 Backward Compatibility

Tools without schemas continue working unchanged - this is a purely additive
enhancement.


Install: gem install vector_mcp
Changelog: Full
CHANGELOG.md