Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GITHUB_PERSONAL_ACCESS_TOKEN env var name assumes a PAT will be used #357

Open
Labels
bugSomething isn't working
@AArnott

Description

@AArnott

The GitHub MCP server must be spawned withGITHUB_PERSONAL_ACCESS_TOKEN as an environment variable set with a value to use in GitHub API calls.
But the very name of this environment variable specifies too much. Apersonal access token is an access token that is provisioned manually by the user (throughhttps://github.com/settings/tokens). This is tedious and a 'last resort' for authorizing apps.

A far preferable way to get an access token (which presumably works for this MCP server) is to use OAuth 2.0. For example, the Visual Studio keychain can produce such a token automatically for the user. But this isnot apersonal access token, but rather merely an access token.

The environment variable name suggests it must be a PAT, but in fact it's just an access token that's required.

Please consider adding support forGITHUB_ACCESS_TOKEN as an environment variable, document that, and deprecate use of the old environment variable name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp