MCPcopy
hub / github.com/modelcontextprotocol/registry / GitHubATProvider

Struct GitHubATProvider

cmd/publisher/auth/github-at.go:44–49  ·  view source on GitHub ↗

GitHubATProvider implements the Provider interface using GitHub's device flow

Source from the content-addressed store, hash-verified

42
43// GitHubATProvider implements the Provider interface using GitHub's device flow
44type GitHubATProvider struct {
45 clientID string
46 registryURL string
47 providedToken string // Token provided via --token flag or MCP_GITHUB_TOKEN env var
48 githubToken string // In-memory GitHub token set by Login()
49}
50
51// ServerHealthResponse represents the response from the health endpoint
52type ServerHealthResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected