-
Couldn't load subscription status.
- Fork 37
Clarify token requirements for MCP integration #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated authentication section to clarify token usage for MCP integration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR clarifies the authentication requirements for MCP integration by documenting that GitHub App installation tokens (ghs_…) are accepted as an alternative to Personal Access Tokens, and emphasizes that the built-in GITHUB_TOKEN is not supported.
Key changes:
- Added explicit documentation of two authentication options (PAT and GitHub App installation tokens)
- Restructured the MCP section with dedicated authentication and configuration subsections
- Updated inline comments and parameter descriptions to reflect token flexibility
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### Authentication | ||
| You can authenticate the MCP server with **either**: | ||
| 1. **Personal Access Token (PAT)** – user-scoped token | ||
| 2. **GitHub App Installation Token** (`ghs_…`) – short-lived, app-scoped token | ||
| > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server. | ||
| Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design. | ||
|
|
||
| ### Enabling MCP in the action |
Copilot
AI
Oct 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading hierarchy is inconsistent. This should be '## Enabling MCP in the action' (H2) to match the level of '### Authentication' (H3), or '### Authentication' should be '#### Authentication' (H4) if this is meant to be H3.
| ### Authentication | |
| You can authenticate the MCP server with **either**: | |
| 1. **Personal Access Token (PAT)** – user-scoped token | |
| 2. **GitHub App Installation Token** (`ghs_…`) – short-lived, app-scoped token | |
| > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server. | |
| Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design. | |
| ### Enabling MCP in the action | |
| #### Authentication | |
| You can authenticate the MCP server with **either**: | |
| 1. **Personal Access Token (PAT)** – user-scoped token | |
| 2. **GitHub App Installation Token** (`ghs_…`) – short-lived, app-scoped token | |
| > The built-in `GITHUB_TOKEN` is **not** accepted by the MCP server. | |
| Using a **GitHub App installation token** is recommended in most CI environments because it is short-lived and least-privilege by design. | |
| #### Enabling MCP in the action |
This PR updates the MCP section to state that the GitHub-hosted MCP server accepts GitHub App installation tokens (ghs_…) as an alternative to Personal Access Tokens.