Skip to content

v0.4.6

@nyo16 nyo16 tagged this 16 Nov 16:24
Clean DSL for defining MCP servers plus streamlined documentation.

New Features:
- Clean DSL for declarative server definitions
  * tool/prompt/resource macros
  * Automatic JSON Schema generation
  * Helper functions (text, json, error, system, user, assistant)
  * Support for inline functions, MFA handlers, function captures
  * Parameters: enums, defaults, required fields, type validation
- Comprehensive authentication system
  * 5 strategies: bearer_token, api_key, custom function, MFA, database
  * CORS preflight bypass
  * Case-insensitive bearer token support
- Extended telemetry coverage
  * Resource reads, prompt retrievals, auth verification
  * Complete observability

Documentation:
- Streamlined README (53% reduction - now 298 lines)
- Focused on DSL as primary approach
- Clean CHANGELOG (48% reduction - now 99 lines)
- Version and test badges added
- Examples updated to use DSL
- Example links point to GitHub (not local paths)

Tests:
- 193 tests passing
- 36 DSL tests (all features)
- 26 auth tests (all strategies)
- 16 telemetry tests
- Full coverage of claimed features

Breaking Changes:
- None (DSL is optional, manual mode still works with dsl: false)

Migration:
- Existing servers continue to work
- New servers should use DSL for cleaner code
Assets 2
Loading