@gemstack/mcp@0.2.1
·
16 commits
to main
since this release
Patch Changes
-
36f56e2: Quality + docs pass for mcp:
- OAuth: reject an empty bearer token (
Authorization: Bearerwith no value) up front with a401 invalid_tokeninstead of forwarding an empty string toverifyToken. - Errors thrown when a
@Handledependency fails to resolve now chain the original via{ cause }. - Documented
McpResponse.text/json/error(and when to prefererror()over throwing); neutralized framework-specific wording in the OAuth core docs. - README: completed the OAuth 2.1 section (a real
jose-basedverifyToken, and thatoauth2McpMiddleware+registerOAuth2Metadatamust both be wired), softened the origin framing.
- OAuth: reject an empty bearer token (