Sign inSign up

anantanandgupta/github-pro-mcp

By anantanandgupta

Updated 4 months ago

Image
0

197

anantanandgupta/github-pro-mcp repository overview

github-pro-mcp

An MCP (Model Context Protocol) server providing comprehensive GitHub API access via hybrid REST + GraphQL — 34 tools across 8 domains.

Supported Architectures

  • linux/amd64
  • linux/arm64

Quick Start

docker run -i --rm \
  -e GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token_here \
  anantanandgupta/github-pro-mcp

Configuration

Required
VariableDescription
GITHUB_PERSONAL_ACCESS_TOKENGitHub PAT with appropriate scopes
Optional
VariableDefaultDescription
GITHUB_HOSTFor GHES: https://{hostname}/api/v3
GITHUB_OWNERPin server to a single owner (rejects mismatched calls)
GITHUB_REPOPin server to a single repository (rejects mismatched calls)
GITHUB_RETRY_MAX_ATTEMPTS3Max retries for transient errors
GITHUB_RETRY_BACKOFF_MS1000Initial retry backoff (ms)
GITHUB_CIRCUIT_BREAKER_THRESHOLD5Failures before circuit opens
GITHUB_CIRCUIT_BREAKER_RESET_MS30000Circuit recovery timeout (ms)
GITHUB_RETRY_BACKOFF_FACTOR2Exponential backoff multiplier
GITHUB_OWNER_TYPE_CACHE_MS300000Cache TTL for owner type lookups (5 min)
GITHUB_THROTTLE_ON_RATE_LIMITretryPrimary rate limit strategy: retry or queue
GITHUB_THROTTLE_ON_SECONDARY_RATE_LIMITretrySecondary rate limit strategy: retry or queue
GITHUB_LOG_LEVELerrorLog level: error, warn, info, debug

Usage with opencode

{
  "mcp": {
    "github_pro": {
      "type": "local",
      "command": ["docker", "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "anantanandgupta/github-pro-mcp"],
      "environment": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_TOKEN}"
      }
    }
  }
}

Issues & Support

Report issues and feature requests at: https://github.com/anantanandgupta/mcp-servers

Tag summary

Content type

Image

Digest

sha256:24598602e

Size

61.3 MB

Last updated

4 months ago

docker pull anantanandgupta/github-pro-mcp