Skip to content

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

Closed as not planned

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

  1. gastrodon commented on Jun 27, 2026

    @gastrodon
    Author

    No-op. All three sub-issues (#10 #11 #12) are already present in the fork. The full OAuth 2.1 stdio login story — core library, server wiring, build credentials, docs — is implemented. Sub-issues closed as no-ops.

  2. added
    no-opFork already has equivalent functionality
    on Jun 27, 2026
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