Skip to content

feat(mcp): add OAuth consent flow - #1587

Merged
realcodesiman merged 2 commits into
mainfrom
feat/mcp-oauth-consent
Oct 29, 2026
Merged

realcodesiman merged 2 commits into
mainfrom
feat/mcp-oauth-consent

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • publish MCP protected-resource metadata and OAuth discovery details
  • add workspace consent storage, revocation, and builder-side grant management
  • document client setup and cover the OAuth routes, snippets, and repositories

Verification

  • pnpm lint
  • pnpm --filter builder check-types
  • pnpm --filter @chatbotx.io/business check-types
  • pnpm --filter @chatbotx.io/database check-types
  • pnpm --filter chatbotx-mcp check-types
  • targeted OAuth regression commands (all workspace tests executed by Vitest)

@github-actions github-actions Bot added the feature New feature or request label Oct 29, 2026
The grants page now lists OAuthConsent rows so a client with no live
token stays visible until revoked, and revoking deletes the consent so
the next connection shows the consent screen again. Also fixes the
/mcp rewrite to keep the /mcp prefix on the proxy destination.
@realcodesiman
realcodesiman merged commit 9d837bd into main Oct 29, 2026
14 checks passed
@realcodesiman
realcodesiman deleted the feat/mcp-oauth-consent branch October 29, 2026 23:14
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
* feat(mcp): add OAuth consent flow

* fix(mcp): list OAuth grants from consents and route MCP proxy path

The grants page now lists OAuthConsent rows so a client with no live
token stays visible until revoked, and revoking deletes the consent so
the next connection shows the consent screen again. Also fixes the
/mcp rewrite to keep the /mcp prefix on the proxy destination.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant