GitHub · github — Claude Code MCP server: creating PRs and triggering workflows
GitHub — an MCP server that gives your agent direct access to repositories, issues, pull requests, workflows and security alerts.
no license 5,908 installs updated 2025-11-19
claude mcp add --transport http github https://github.run.toolsWhat GitHub does
The server exposes over fifty tools for GitHub API operations: reading and writing files, creating branches and PRs, triggering Actions, managing issues and comments, forking repos, working with Gists and notifications. You can delegate tasks to the Copilot coding agent, which will create a PR with the required changes in the background.
Tools cover Actions (listing and triggering workflows, fetching job logs), security alerts (code scanning, Dependabot, secret scanning), discussions and releases. The server runs over HTTP at https://github.run.tools, which you add to your IDE config.
You'll need a GitHub token with appropriate scopes for authentication — without it, tools will return access errors.
What it helps with
- create a PR from a branch or delegate it to Copilot coding agent
- read an issue, add a comment or assign it to someone
- trigger a workflow, cancel a run or fetch job logs
- check Dependabot and code scanning alerts in a repository
- fork a repository, create a Gist or delete a file
Example prompts for the agent
- Create a
feature-authbranch inmyappand open a PR tomain - Show all workflow runs for
myappfrom the past week - Read issue #42 and add a comment with a fix plan
How to install GitHub
Platform CLI: remote server
claude mcp add --transport http github https://github.run.toolsPlatform CLI: remote server
codex mcp add github-github --url https://github.run.toolsConfig file
{
"mcpServers": {
"github-github": {
"url": "https://github.run.tools"
}
}
}Config file
{
"servers": {
"github-github": {
"type": "http",
"url": "https://github.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http github-github https://github.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GitHub
How to install GitHub in Claude Code?
Run claude mcp add --transport http github https://github.run.tools or claude mcp add --transport http github-github https://github.run.tools.
What does the GitHub MCP server do?
It provides tools for working with repositories, issues, PRs, Actions, security alerts and notifications through the GitHub API.
Is a token required for the GitHub MCP?
Yes, authentication requires a GitHub token with permissions for the operations your agent will perform.
Similar MCP servers
All MCP servers for Git and GitHub →GitHub by other authors comes first.