Skip to content

v0.0.6

Choose a tag to compare

@wille wille released this 14 Jul 10:37
· 49 commits to master since this release

Highlights

  • Zero MCP SDK dependency: @modelcontextprotocol/sdk is removed from peerDependencies - the package is now fully standalone. All types come from the local schemas (which were forked from the SDK originally). Consumers only need express and express-rate-limit. The SDK remains a devDependency for the demo example only.
  • Real-world client compatibility fix: CIMD documents and registration requests advertising grants this server does not support (for example urn:ietf:params:oauth:grant-type:jwt-bearer) are no longer rejected outright. The client is only rejected when none of its grants are supported; grant_types are stored as requested and each flow enforces its specific grant at exchange time. Production MCP client metadata documents trip the old validation, so this fix is recommended for anyone using CIMD.

New features

  • requireBearerAuth token audience validation: new resource option - when set, tokens must carry an RFC 8707 resource matching the configured identifier, and tokens without one are rejected with 401 invalid_token. OAuthServer.verifyAccessToken already enforces this when resourceServerUrl is configured; the option covers custom verifiers and per-route resources.

Other

  • The package now declares engines.node >= 18 (the CIMD fetcher uses the global fetch and AbortSignal.timeout).
  • Test suite now pins the live client metadata documents of three real MCP clients as fixtures, including an RFC 8252 ephemeral-port authorization against portless loopback redirect URIs.

Full Changelog: v0.0.5...v0.0.6