Skip to content

[backport] OAuth 2.1 stdio login (upstream main) [story] #13

Description

@gastrodon

Summary

Full OAuth 2.1 login support for the stdio server. Replaces the mandatory PAT with a lazy, auto-refreshing OAuth flow triggered on first tool call. Three coordinated pieces of work:

Upstream reference

Fork conflict

None. OAuth is an authentication layer entirely separate from the fork's project-management and issue-graph tooling.

Context

The stdio GitHub MCP server previously required users to provision a GitHub personal access token. OAuth 2.1 PKCE login eliminates this friction: official binaries on github.com ship with baked-in credentials, so users just run the server and complete a browser login on first use. GHES and custom-app users bring their own --oauth-client-id.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backportBackport from upstreamfeatureNew featureno-opFork already has equivalent functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions