Skip to content

SDK: expose MCP connector inventory and workspace enrollment #1467

Closed

Description

@samuv

Parent story: #1466

Goal

Expose MCP connector inventory and workspace-enrollment workflows as typed SDK operations that applications can present in their own UI.

Scope

  • Add session-scoped connector-status listing, including the state needed to distinguish ready, pending, failed, and unavailable connectors.
  • Add typed operations to connect, retry, and cancel workspace enrollment where supported by the protocol.
  • Preserve session affinity, request options, cancellation, correlation identifiers, and typed errors.
  • Expose protocol state without embedding mecatui labels, polling intervals, or overlay behavior.
  • Document the expected application flow and terminal states.

Boundaries

  • Browser opening, URL presentation, polling cadence, toast/overlay behavior, and saved-target selection remain application policy.
  • The SDK must not store credentials or reproduce server-side enrollment/authorization decisions.
  • Do not introduce a generic API for executing TUI builtins.

Acceptance criteria

  • An SDK consumer can list connector status and drive connect, retry, and cancel enrollment paths without raw descriptor calls.
  • Operations remain bound to the correct session and preserve cancellation and correlation semantics.
  • All protocol terminal and failure states have documented typed representations.
  • Tests cover transport parity, state transitions visible at the SDK boundary, cancellation, and typed failures.
  • Public API reports, examples, and the SDK changelog are updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

devexenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions