Skip to content

Sync MCP managed auth options - #173

Merged
masnwilliams merged 5 commits into
mainfrom
hypeship/sync-managed-auth-options
Sep 1, 2026
Merged

Sync MCP managed auth options#173
masnwilliams merged 5 commits into
mainfrom
hypeship/sync-managed-auth-options

Conversation

@masnwilliams

@masnwilliams masnwilliams commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • update the Kernel SDK from 0.90.0 to 0.97.0 and the managed-auth React package from 0.4.1 to 0.5.1
  • expose current managed-auth connection update, timeline, health-check, automatic re-auth, browser, proxy, telemetry, search, and canonical interaction submission options through manage_auth_connections
  • send managed-auth browser configuration through the current nested API shape and regenerate the secure MCP App with canonical interaction support

Verification

  • CLERK_SECRET_KEY=test-secret-key bun test (266 passing)
  • bunx tsc --noEmit --incremental false
  • bun run check:managed-auth-app
  • bun run build with local placeholder build-time OAuth/Clerk values
  • Prettier check on all changed source and documentation files

bun run format:check still reports the pre-existing formatting mismatch in AGENTS.md; this PR does not modify that file.


Note

Medium Risk
Dependency upgrades on the managed-auth stack can change API behavior for login flows and telemetry; risk is mainly integration drift rather than broad refactors in this diff.

Overview
Bumps @onkernel/sdk to ^0.97.0 and @onkernel/managed-auth-react to 0.5.1 (with matching bun.lock entries) so the MCP server tracks the current Kernel managed-auth APIs.

README now describes the expanded manage_auth_connections surface—update, timeline inspection, health-check and automatic re-auth settings, managed-auth browser configuration, and canonical interaction-bound submissions—and notes that programmatic create, update, and login route browser telemetry through the nested browser.telemetry API shape while keeping defaults when MCP omits those parameters.

Reviewed by Cursor Bugbot for commit 5e5976c. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mcp Ready Ready Preview Sep 1, 2026 2:29am UTC

@socket-security

socket-security Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​onkernel/​sdk@​0.90.0 ⏵ 0.97.082 +1100100 +199 +1100
Updated@​onkernel/​managed-auth-react@​0.4.1 ⏵ 0.5.183 +710010094 +1100

View full report

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3595eeb. Configure here.

Comment thread src/lib/mcp/tools/auth-connections.ts

@rgarcia rgarcia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed — overall looks solid. two input-contract issues worth addressing:

Findings

  • src/lib/mcp/tools/auth-connections.ts:78-100 — credential updates are supported by the new update handler, but all four credential parameter descriptions still say (create). change them to (create, update) so MCP clients know the update capability exists.

  • src/lib/mcp/tools/auth-connections.ts:477-527 — submit validation is partial: canonical input can still be combined with legacy parameters, and interaction_id can accompany legacy-only input, both of which the API rejects. complete these canonical-vs-legacy shape checks and add parameterized tests; leave flow-state and value validation to the API.

@masnwilliams

Copy link
Copy Markdown
Collaborator Author

addressed both review findings in 1a53248: credential inputs now advertise update support, and MCP submit validation mirrors the API’s canonical/legacy shape contract with parameterized coverage. full suite passes (277 tests), and BugBot is green on the latest commit.

@masnwilliams
masnwilliams merged commit 5ceeed4 into main Sep 1, 2026
10 checks passed
@masnwilliams
masnwilliams deleted the hypeship/sync-managed-auth-options branch September 1, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants