Repository navigation
MCP Native v0.6.0
MCP Native 0.6.0
This release completes Milestone 6 with an issuer-bound protected-HTTP OAuth host boundary, explicit consent gates and persistent host-owned grants, bounded connection lifecycle coordination, actionable host states, redacted operations, and production integration guidance.
Added
- An interactive OAuth provider and protected Streamable HTTP factory pinned to one resource and issuer, with PKCE, exact callback validation, secure-storage contracts, durable scope history, and host-approved scope escalation.
- Coverage for all 25 scored authorization client scenarios in the pinned MCP 2026-07-28 requirements fixture; the full gate covers 32 scenarios and 386 checks.
- Dependency-neutral keychain/keystore and OS authentication-session reference adapters.
- Explicit host policy gates for core dispatch, trusted direct calls, MCP Apps callbacks, and A2UI v1 delivery, plus expiring and revocable persistent consent grants.
- Bounded timeout, cancellation, retry/backoff, reconnection, offline/online, and shutdown coordination around host-owned SDK connections.
- Actionable host states, credential-safe operational events, and a production host-integration checklist.
Security
- Treats stored OAuth, pending authorization, scope history, and consent grants as untrusted, issuer/resource-bound, size-bounded data.
- Serializes OAuth state ownership, callback claim, cancellation, invalidation, and verifier cleanup to reject overlap and replay.
- Bounds complete SDK results and downstream A2UI work, and keeps lifecycle diagnostics free of credentials, server payloads, and user data.
- Requires exact host approval for reauthorization and caps insufficient-scope retries to one per request.
Install
npm install mcp-native@0.6.0 reactInstall @mcp-native/mcp@0.6.0 separately for the official SDK adapter, protected HTTP OAuth boundary, and lifecycle coordinator.
See the repository changelog, roadmap, OAuth integration guide, and host checklist for exact supported behavior and host responsibilities.