Skip to content

v0.1.6: mcp-ts-core ^0.9.13, TypeScript ^6, manifest user_config wiring, error code alignment

Choose a tag to compare

@cyanheads cyanheads released this 29 May 04:51
v0.1.6
a09fe7b

mcp-ts-core ^0.9.13, TypeScript ^6, manifest user_config wiring, error code alignment

Adopts @cyanheads/mcp-ts-core ^0.9.9 → ^0.9.13 and refreshes dev deps. Wires CENSUS_API_KEY into the MCPB bundle's user_config, aligns tool error codes, and adds landing.requireAuth: false for hosted deployments.

Changed:

  • HTTP body cap — inbound requests over 1 MiB rejected with 413 (MCP_HTTP_MAX_BODY_BYTES, default 1 MiB)
  • Session-init gate — stateful HTTP mode rejects non-initialize requests missing Mcp-Session-Id with 400
  • Quieter client-error logging — 401/403/400/404 responses use logger.warning, not the full error pipeline
  • GET /mcp keywords — package.json keywords now surfaced on the HTTP status endpoint
  • manifest.json — CENSUS_API_KEY wired as ${user_config.CENSUS_API_KEY}; default: "" added for optional field safety
  • Error codes — InvalidParams replaced with ValidationError across census_query_data, census_list_geographies, census_resolve_geography, census_compare_geographies
  • landing.requireAuth: false set in src/index.ts

Dependency bumps:

  • @cyanheads/mcp-ts-core ^0.9.9 → ^0.9.13
  • typescript ^5.9.3 → ^6.0.3
  • @biomejs/biome ^2.4.7 → ^2.4.16
  • @types/node ^25.6.0 → ^25.9.1
  • tsc-alias ^1.8.16 → ^1.8.17
  • vitest ^4.1.0 → ^4.1.7

50 tests pass; bun run devcheck clean.