Skip to content

Add GitHub MCP Server token requirements reference with PAT type guidance - #9794

Closed
mnkiefer with Copilot wants to merge 5 commits into
mainfrom
copilot/compare-tools-github-actions
Closed

Add GitHub MCP Server token requirements reference with PAT type guidance#9794
mnkiefer with Copilot wants to merge 5 commits into
mainfrom
copilot/compare-tools-github-actions

Conversation

CopilotAI commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Created comprehensive reference mapping GitHub MCP Server tools to required token permissions, clarifying which operations work with default GITHUB_TOKEN versus requiring PATs, with detailed guidance on choosing between classic and fine-grained Personal Access Tokens.

New Documentation

Added specs/github-mcp-server-token-requirements.md (545 lines) covering:

  • Personal Access Token Types - Comprehensive section on classic vs fine-grained PATs:
    • Classic PATs: Account-wide scope, required for user-owned Projects V2
    • Fine-grained PATs: Repository-specific, recommended for most scenarios with better security
    • Decision table mapping common scenarios to appropriate token types
    • Security considerations and best practices for each type
  • 18 toolsets analyzed - Each tool marked with ✅ (default token), ⚠️ (explicit permission needed), or ❌ (PAT required)
  • Critical findings:
    • GitHub Projects V2: All 9 tools require PAT (project scope unavailable to GITHUB_TOKEN)
    • User-owned Projects V2: Classic PAT required (fine-grained PATs do not work)
    • Organization Projects V2: Fine-grained PAT recommended
    • Security toolsets: Code scanning, Dependabot, secret scanning all require PAT
    • Organization operations: Team/org access requires PAT with read:org
    • Read operations: Most work with default read-only permissions
    • Write operations: Require explicit permission grants (recommend safe outputs instead)

Structure

## Understanding GitHub Actions Token Permissions- Default permissions (read-only since 2023)
- Limitations and special cases
## Personal Access Token Types- Classic PATs: characteristics, when to use, security considerations
- Fine-grained PATs: characteristics, when to use, security advantages
- Decision table for common scenarios
- Best practices and documentation links
## Tool Requirements by Toolset### Actions (14 tools)- ✅ download_workflow_run_artifact
- ⚠️ cancel_workflow_run (needs actions: write)
...
### Projects (9 tools)- ❌ ALL tools require PAT (project scope unavailable)
...
## Quick Reference: Tools Requiring PAT- Organization/Team (5 tools)
- Projects V2 (ALL 9 tools)
- Security features (8+ tools)
...
## Recommendations- Read-only workflows: use defaults
- Write operations: use safe outputs
- Advanced features: configure appropriate PAT

Document cross-references existing permissions, tokens, and tools documentation with actionable configuration examples and links to GitHub's official PAT documentation.

Original prompt

Based on the GitHub MCP Server documentation and comparing to our tools: github: toolsets:, create a table to show which tools falls outside the GitHub Acations GITHUB_TOKEN and defaults.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

CopilotAIand others added 3 commits January 13, 2026 06:30
…table
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer

Copy link
Copy Markdown
Collaborator

@copilot Also consider what this means for token types (classic, fine-grained, etc.), see:
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

CopilotAI changed the title [WIP] Create comparison table for GitHub Actions toolsAdd GitHub MCP Server token requirements referenceJan 13, 2026
CopilotAI requested a review from mnkieferJanuary 13, 2026 06:46
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>

CopilotAI commented Jan 13, 2026

Copy link
Copy Markdown
ContributorAuthor

@copilot Also consider what this means for token types (classic, fine-grained, etc.), see:
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access...

Added a comprehensive "Personal Access Token Types" section covering classic vs fine-grained PATs with:

  • Characteristics and security considerations for each type
  • When to use classic PATs (required for user-owned Projects V2)
  • When to use fine-grained PATs (recommended for most scenarios)
  • Decision table mapping common scenarios to appropriate token types
  • Links to GitHub documentation and internal tokens reference

See commit 3d073f0 for the changes.

CopilotAI changed the title Add GitHub MCP Server token requirements referenceAdd GitHub MCP Server token requirements reference with PAT type guidanceJan 13, 2026
@mnkiefer

Copy link
Copy Markdown
Collaborator
  • Closing as refs change too frequently for this to be useful.

@github-actions
github-actionsBot deleted the copilot/compare-tools-github-actions branch April 2, 2026 12:09
Sign up for freeto 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.

2 participants

@mnkiefer