GitHub MCP Server

Stabledevelopment
3200 starsTypeScriptGitHub
GitHubnpm
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-github
Examples

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

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.