Skip to content

feat(connectors): OAuth for custom MCP servers - #452

Merged
jubaoliang merged 3 commits into
TencentCloud:developfrom
huangcheng:feature/custom-mcp-oauth-probe
Aug 28, 2026
Merged

feat(connectors): OAuth for custom MCP servers#452
jubaoliang merged 3 commits into
TencentCloud:developfrom
huangcheng:feature/custom-mcp-oauth-probe

Conversation

@huangcheng

Copy link
Copy Markdown
Contributor

Summary

  • Add probe-driven OAuth discovery from custom MCP URLs (401 / WWW-Authenticate → protected resource metadata)
  • Unified POST /connectors/oauth/start for catalog connectors and custom MCP servers; legacy per-kind route kept
  • Encrypted OAuth token storage in custom MCP spec with Bearer injection for harness
  • Custom Connectors UI: save-then-probe (optional), one-click OAuth, enable vs default-open separation, instant PATCH for saved servers

Fixes #337

Test plan

  • make all / pre-commit green (2595 tests)
  • Manual: dida365 (catalog OAuth via unified oauthStart)
  • Manual: custom MCP HTTP server — save, probe, OAuth, chat tool use
  • Manual: custom MCP enable / default_open PATCH and delete

Probe-driven OAuth discovery from MCP URL, unified oauth/start API,
encrypted token storage, and Custom Connectors UI for save-then-probe
and one-click authorization.

Fixes TencentCloud#337
Merge upstream/develop; keep [Unreleased] custom MCP OAuth entry alongside
0.9.29 changelog. Apply all same-version SQL migrations in one pass so
010_kb_max_documents and 010_thread_message_projection both run.
Merge upstream/develop (TencentCloud#464 sync); combine [Unreleased] OAuth entry with
CI/Docker and schema v10 repair notes. Align migrate.py with upstream.
@jubaoliang
jubaoliang merged commit eaf0c41 into TencentCloud:develop Aug 28, 2026
3 checks passed
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