github/github-mcp

MCP Server

GitHub MCP Server - full GitHub API operations (repos, issues, PRs, actions)

GitHub MCP server. Full GitHub API — repos, issues, PRs, actions, code scanning, Dependabot, and more.

MCP Server

  • Package: Remote: https://api.githubcopilot.com/mcp/ (or Docker: ghcr.io/github/github-mcp-server)
  • Transport: stdio
  • Command: Remote HTTP endpoint or Docker

Authentication

GitHub PAT or OAuth

VariableRequiredDescription
GITHUB_PERSONAL_ACCESS_TOKENYesGitHub PAT (for local/Docker)

Available Tools

ToolDescription
get_file_contentsRead file
create_issueCreate issue
create_pull_requestCreate PR
list_commitsList commits
search_codeSearch code
get_code_scanning_alertsSecurity alerts

Configuration Example

toml
[[mcp.servers]]
name = "github-mcp"
type = "stdio"
command = "npx"
args = ["-y", "Remote: https://api.githubcopilot.com/mcp/ (or Docker: ghcr.io/github/github-mcp-server)"]
timeout_seconds = 60
env = { GITHUB_PERSONAL_ACCESS_TOKEN = "your-value" }
tools = []

Notes: 70+ tools. Remote server supports OAuth. Minimal token scopes recommended.