Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayName ¶
DisplayName returns the registered human-readable source name.
func PrepareContext ¶
PrepareContext captures the opaque adapter context needed to preserve source scope across later refreshes.
func RefreshContext ¶
RefreshContext renews execution details while preserving the identity of a previously saved source scope. File-backed adapters need no renewal.
func SameContext ¶
SameContext reports whether two opaque contexts identify the same source scope. Execution details may differ without changing source identity.
Types ¶
type Candidate ¶
type Candidate struct {
Name string
Enabled bool
DisabledReason string
Transport string
AuthStatus string
OAuthScopes []string
OAuthClientMetadataURL string
OAuthUnsupportedReason string
Supported bool
UnsupportedReason string
Server config.ServerConfig
}
Candidate is one server offered by an external MCP configuration source.
func List ¶
List resolves candidates from one registered source. sourceContext is an opaque adapter input; file-backed clients currently interpret it as the workspace directory used to resolve project-scoped configuration.
func ListCodex ¶
ListCodex returns Codex's resolved MCP catalog, including plugin-provided servers. It invokes Codex only for this explicit import operation.
func ParseCodexCatalog ¶
ParseCodexCatalog converts Codex's resolved catalog into transport-only mcpx candidates. OAuth credentials remain owned by Codex and are never exported.