Skip to content
Github logo

Github

Verified

Connects AI tools directly to GitHub for code and workflow access.

MCP ServerDeveloper ToolsLocal (stdio) 30.7k
View on GitHub
Updated 2026-06-15

What is the Github MCP server?

GitHub's official MCP server enables AI agents to interact with repositories, pull requests, issues, and GitHub Actions. It provides structured access to code analysis, security alerts, and team collaboration features through standard MCP interfaces.

The local stdio variant runs as a Go-based process on the user's machine, requiring a GitHub token for authentication. It supports the same capabilities as the remote HTTP endpoint hosted at api.githubcopilot.com.

Install & connect

Set up this server, then add it to your MCP client.

Installation

Docker

Docker
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server

Full setup instructions are in the GitHub repository.

Example prompts

Once connected, try asking your AI client:

List open pull requests in the org/repo repository
Summarize the latest commit activity on the main branch
Create an issue titled 'Bug in login flow' with details from the error log
Check the status of the most recent GitHub Actions workflow run

Security & permissions

The stdio transport runs locally and requires a GitHub Personal Access Token passed via environment or configuration for API authentication.

What you can do with Github

Repository Management

Browse code, search files, analyze commits, and understand project structure across accessible repositories.

Issue & PR Automation

Create, update, and manage issues and pull requests with AI-assisted triage and code review.

CI/CD & Workflow Intelligence

Monitor GitHub Actions runs, analyze build failures, and manage releases through natural language.

How to use Github

  1. 1Clone the github-mcp-server repository and build the Go binary.
  2. 2Generate a GitHub Personal Access Token with appropriate scopes.
  3. 3Configure your MCP host to launch the binary via stdio with the token.
  4. 4Restart the host application and verify the server appears in available tools.
  5. 5Test connectivity by asking the AI client to list repositories.

Github: pros & cons

Pros

  • +Official server maintained by GitHub with broad platform coverage
  • +Supports both local stdio and remote OAuth/PAT options
  • +Enables complex multi-step workflows across repos and actions
  • +Strong documentation for multiple IDEs and hosts

Cons

  • Local version requires building from source and managing tokens
  • Remote version needs compatible hosts with OAuth support
  • Tool schemas and exact parameter lists not publicly documented in README
Did you find this helpful?

Frequently asked questions

Yes, a GitHub account and Personal Access Token or OAuth are required for authentication.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote Github

Add this badge to your website, or share the tool.

DFeatured on DhanasviGithub 2