Skip to content

GitHub plugin missing README with authentication setup instructions #285

Description

@heytcass

Summary

The GitHub plugin in external_plugins/github/ lacks documentation explaining how to authenticate, leaving users unable to use the plugin without external research.

Current State

The plugin directory structure:

external_plugins/github/
├── .claude-plugin/
│   └── plugin.json
└── .mcp.json

The plugin requires GITHUB_PERSONAL_ACCESS_TOKEN environment variable (per .mcp.json), but:

  • No README file exists
  • No setup instructions provided
  • Users see "not authenticated" with no guidance
  • Authentication appears broken when clicking UI's "Authenticate" button (see related issue in claude-code repo)

Expected Documentation

A README.md should include:

  1. Authentication Setup

    # Create GitHub Personal Access Token
    # Visit: https://github.com/settings/tokens
    
    # Add to shell profile (~/.zshrc or ~/.bash_profile):
    export GITHUB_PERSONAL_ACCESS_TOKEN="ghp_your_token_here"
    
    # Restart Claude Code or reload terminal
  2. Required Token Scopes

    • List minimum required scopes
    • Explain what permissions are needed for different operations
  3. Verification Steps

    • How to verify the plugin is working
    • Expected behavior after setup
  4. Troubleshooting

    • Common issues (env var not set, wrong scopes, etc.)
    • How to check if token is being read

Impact

  • Discoverability: Users can't figure out how to authenticate without:
    • Reading plugin source code
    • External documentation searches
    • Trial and error
  • User Experience: Appears broken out-of-box

Plugin Reference

  • Location: external_plugins/github/
  • .mcp.json configuration:
    {
      "github": {
        "type": "http",
        "url": "https://api.githubcopilot.com/mcp/",
        "headers": {
          "Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}"
        }
      }
    }

Suggested Solution

Add external_plugins/github/README.md following the pattern of other documented plugins in the marketplace. Include clear setup instructions, required environment variables, and troubleshooting guidance.

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions