Skip to content

Feat/sdk api parity - #14

Merged
jay-m-dev merged 18 commits into
mainfrom
feat/sdk-api-parity
Sep 29, 2026
Merged

jay-m-dev merged 18 commits into
mainfrom
feat/sdk-api-parity

Conversation

@jay-m-dev

Copy link
Copy Markdown
Collaborator

This pull request introduces major improvements to MCP server connection and authentication workflows in the frontend, adds OAuth callback support, and updates documentation and version badge logic. The main focus is on enabling multiple authentication modes (including OAuth) when connecting MCP servers, improving the user experience and security.

Key changes include:

MCP Server Connection & Authentication

  • Refactored ConnectMcpServerDialog to support multiple authentication modes: none, bearer token, custom headers, environment variables, and OAuth. The dialog now dynamically presents authentication options based on the selected transport and manages OAuth flows, including state handling, error reporting, and UI feedback. [1] [2] [3] [4] [5] [6] [7] [8]
  • Extended the MCP servers API client with new methods: get, update, beginOAuth, and clearCredentials, and updated create to support new authentication fields. [1] [2]

OAuth Integration

  • Added the McpOAuthCallbackPage and corresponding route to handle OAuth callback flows in the frontend. [1] [2]
  • Added environment variables for OAuth callback and frontend URLs in .env.example for correct OAuth configuration.

UI/UX Improvements

  • Updated the version badge logic to better reflect development builds and to retry indefinitely if the backend is temporarily unavailable, improving reliability during startup. [1] [2]

Documentation

  • Updated references to the correct use case documentation (publications/BDM/README.md) in the main README.md. [1] [2]

Jay Moran added 18 commits September 28, 2026 11:25
- Replace a factor's canvas baseline level instead of prepending, so
  pauses while typing in a bound field no longer accumulate levels.
- Accept either ordering of legacy two-boolean factors in the backend
  validator, matching the frontend.
- Forward payload-only outputs through deactivated nodes and payload-only
  supervisor briefs.
- SDK: expose MCP authentication status, server_env, omit-vs-clear
  credential updates, begin_oauth, and clear_credentials.
- MCP OAuth popup: broadcast callback results on a same-origin channel and
  keep waiting (with cancel) when a provider's COOP detaches the popup.
- Add callback error, credential clear/revoke, and owner-scope tests.
- Add git commit/tags to uv's cache keys so a new commit or tag rebuilds the
  project; previously uv reused its cached build and the Docker image kept
  reporting a stale version.
- Use hatch-vcs's no-guess-dev scheme so dev builds report the last real tag
  (0.7.0.post1.dev17) instead of an invented next patch; the badge shows it as
  v0.7.0+17.
- Retry the badge's version fetch instead of giving up when the backend is
  still starting.
@jay-m-dev
jay-m-dev merged commit cd62885 into main Sep 29, 2026
2 checks passed
@jay-m-dev
jay-m-dev deleted the feat/sdk-api-parity branch September 29, 2026 22:37
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.

1 participant