About
Overview
The GitHub MCP Server gives AI agents full access to GitHub operations. Create and manage repositories, file issues, review and merge pull requests, search code, manage branches, and work with GitHub Actions. Uses GitHub personal access tokens for authentication.
Capabilities
Tools & Capabilities
⚡create_issue
Create a new issue in a repository
⚡create_pull_request
Create a pull request
⚡search_code
Search for code across repositories
⚡get_file_contents
Get file contents from a repository
⚡list_commits
List recent commits on a branch
⚡create_or_update_file
Create or update a file in a repository
⚡push_files
Push multiple files in a single commit
Setup
Installation
bash
Install
npx -y @modelcontextprotocol/server-githubExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your-token"
}
}
}
}Quick Info
AuthorGitHub
LanguageTypeScript
StatusStable
Stars★ 3200
Last UpdatedFeb 12, 2026