Skip to content

v0.1.1

Choose a tag to compare

@codyde codyde released this 29 Nov 11:10
· 8 commits to main since this release

What's Changed

Bug Fixes

  • Fix TypeScript variance error when passing tool arrays to createMcpServer
  • Add AnyToolDefinition type alias for proper type compatibility

Details

The generic ToolDefinition<TParams> type caused variance issues when used in arrays because the params argument in execute is in a contravariant position. This release introduces AnyToolDefinition (ToolDefinition<any>) to allow tools with different Zod schemas to be passed together.

Full Changelog: v0.1.0...v0.1.1