Hub / connectors / github

Connector · Coding & Git

GitHub Official MCP

Official GitHub MCP server for reading issues, pull requests, diffs, and repository trees with a read-first default allowlist.

Verified Process-isolated MCP · SecurityGate Local 14B+ MIT githubgitissuesprmcp

How to use

Runs as a process-isolated MCP server (a separate OS process, never imported inside Prometheus). Adding a connector requires the daemon’s master token (owner devices cannot). Tool calls are double-checked against allowed_tools and still prompt in SecurityGate unless you explicitly enable autonomous mode.

~/.prometheus/config.yaml
mcp_servers:
  github:
    transport: stdio
    command: docker
    args:
      - "run"
      - "-i"
      - "--rm"
      - "-e"
      - "GITHUB_PERSONAL_ACCESS_TOKEN"
      - "ghcr.io/github/github-mcp-server:v0.12.0"
    allowed_tools:
      - get_issue
      - list_issues
      - list_pull_requests
      - get_pull_request
      - get_file_contents
      - search_code
    env:
      GITHUB_PERSONAL_ACCESS_TOKEN: "${GITHUB_PERSONAL_ACCESS_TOKEN}"

Honest disclosures

  • Runs inside an ephemeral Docker container (pinned image tag v0.12.0).
  • Default allowed_tools preset is read-only; add write tools explicitly if desired.
  • GITHUB_PERSONAL_ACCESS_TOKEN is stored write-only and never returned by /api/mcp/servers.
Inspect raw source (connectors/github.yaml)
hub_schema: 1
kind: connector
slug: github
name: GitHub Official MCP
version: 0.12.0
category: coding-git
tags: [github, git, issues, pr, mcp]
trust_tier: verified
execution_boundary: mcp_out_of_process
model_fit: local_14b
license: MIT
provenance:
  origin: upstream_mcp
  repo: https://github.com/github/github-mcp-server
  package_pin: "ghcr.io/github/github-mcp-server:v0.12.0"
  audited_at: "2026-11-26"
mcp:
  transport: stdio
  command: docker
  args:
    - run
    - -i
    - --rm
    - -e
    - GITHUB_PERSONAL_ACCESS_TOKEN
    - ghcr.io/github/github-mcp-server:v0.12.0
  allowed_tools:
    - get_issue
    - list_issues
    - list_pull_requests
    - get_pull_request
    - get_file_contents
    - search_code
  env_vars: [GITHUB_PERSONAL_ACCESS_TOKEN]
disclosures:
  - "Runs inside an ephemeral Docker container (pinned image tag v0.12.0)."
  - "Default allowed_tools preset is read-only; add write tools explicitly if desired."
  - "GITHUB_PERSONAL_ACCESS_TOKEN is stored write-only and never returned by /api/mcp/servers."
summary: "Official GitHub MCP server for reading issues, pull requests, diffs, and repository trees with a read-first default allowlist."