Skip to content

Conversation

@GulerSevil
Copy link

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.

Updated authentication section to clarify token usage for MCP integration.
@GulerSevil GulerSevil requested a review from a team as a code owner October 25, 2025 20:58
Copilot AI review requested due to automatic review settings October 25, 2025 20:58
Copy link
Contributor

Copilot AI left a 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.

Comment on lines +165 to +172
### 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
Copy link

Copilot AI Oct 25, 2025

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.

Suggested change
### 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

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant