Skip to content

v0.1.7: Bug fixes, code simplification, mcp-ts-core ^0.9.9

Choose a tag to compare

@cyanheads cyanheads released this 24 May 22:17
v0.1.7
cf02c13

Bug fixes, code simplification, mcp-ts-core ^0.9.9

Two resource files passed cause: err in the wrong argument position to notFound() — it landed in the data object instead of the options bag, silently dropping the error cause from the envelope.

Fixed:

  • worldbank-country.resource and worldbank-indicator.resource — cause: err moved to third arg (options) of notFound()

Changed:

  • worldbank-search-indicators — missing-filter guard now throws missing_filter (ValidationError) instead of no_match (NotFound)
  • worldbank-get-data — invalid_params error contract corrected to ValidationError code
  • worldbank-service — consolidated imports, collapsed duplicate clientFilterTerm pagination guard, removed nullish fallback on items, bucket pattern for Map grouping

Dependency bumps:

  • @cyanheads/mcp-ts-core ^0.9.7 → ^0.9.9

32 tests pass; bun run devcheck clean.