Feedback

GitHub MCP Server — by jomejia23

@jomejia23 Claim

Basic information

Category
License
MIT
Transports
stdio
Author
jomejia23
Submitted by
Community
Quality
10

About GitHub MCP Server

using git_hub_mcp_server

GitHub MCP Server is a MCP server in the Version Control category listed in the AddMCP.net directory, published by jomejia23. It exposes 26 tools, including create_or_update_file, search_repositories, create_repository, get_file_contents and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "github_mcp_server": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/server-github"
            ]
        }
    }
}

GitHub MCP Server — by jomejia23 config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "github_mcp_server": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/server-github"
            ]
        }
    }
}

GitHub MCP Server — by jomejia23 tools

  • create_or_update_file — Create or update a single file in a GitHub repository
    owner:string*, repo:string*, path:string*, content:string*, message:string*, branch:string*, sha:string
  • search_repositories — Search for GitHub repositories
    query:string*, page:number, perPage:number
  • create_repository — Create a new GitHub repository in your account
    name:string*, description:string, private:boolean, autoInit:boolean
  • get_file_contents — Get the contents of a file or directory from a GitHub repository
    owner:string*, repo:string*, path:string*, branch:string
  • push_files — Push multiple files to a GitHub repository in a single commit
    owner:string*, repo:string*, branch:string*, files:array*, message:string*
  • create_issue — Create a new issue in a GitHub repository
    owner:string*, repo:string*, title:string*, body:string, assignees:array, milestone:number, labels:array
  • create_pull_request — Create a new pull request in a GitHub repository
    owner:string*, repo:string*, title:string*, body:string, head:string*, base:string*, draft:boolean, maintainer_can_modify:boolean
  • fork_repository — Fork a GitHub repository to your account or specified organization
    owner:string*, repo:string*, organization:string
  • create_branch — Create a new branch in a GitHub repository
    owner:string*, repo:string*, branch:string*, from_branch:string
  • list_commits — Get list of commits of a branch in a GitHub repository
    owner:string*, repo:string*, sha:string, page:number, perPage:number
  • list_issues — List issues in a GitHub repository with filtering options
    owner:string*, repo:string*, direction:string, labels:array, page:number, per_page:number, since:string, sort:string, state:string
  • update_issue — Update an existing issue in a GitHub repository
    owner:string*, repo:string*, issue_number:number*, title:string, body:string, assignees:array, milestone:number, labels:array, state:string
  • add_issue_comment — Add a comment to an existing issue
    owner:string*, repo:string*, issue_number:number*, body:string*
  • search_code — Search for code across GitHub repositories
    q:string*, order:string, page:number, per_page:number
  • search_issues — Search for issues and pull requests across GitHub repositories
    q:string*, order:string, page:number, per_page:number, sort:string
  • search_users — Search for users on GitHub
    q:string*, order:string, page:number, per_page:number, sort:string
  • get_issue — Get details of a specific issue in a GitHub repository.
    owner:string*, repo:string*, issue_number:number*
  • get_pull_request — Get details of a specific pull request
    owner:string*, repo:string*, pull_number:number*
  • list_pull_requests — List and filter repository pull requests
    owner:string*, repo:string*, state:string, head:string, base:string, sort:string, direction:string, per_page:number, page:number
  • create_pull_request_review — Create a review on a pull request
    owner:string*, repo:string*, pull_number:number*, commit_id:string, body:string*, event:string*, comments:array
  • merge_pull_request — Merge a pull request
    owner:string*, repo:string*, pull_number:number*, commit_title:string, commit_message:string, merge_method:string
  • get_pull_request_files — Get the list of files changed in a pull request
    owner:string*, repo:string*, pull_number:number*
  • get_pull_request_status — Get the combined status of all status checks for a pull request
    owner:string*, repo:string*, pull_number:number*
  • update_pull_request_branch — Update a pull request branch with the latest changes from the base branch
    owner:string*, repo:string*, pull_number:number*, expected_head_sha:string
  • get_pull_request_comments — Get the review comments on a pull request
    owner:string*, repo:string*, pull_number:number*
  • get_pull_request_reviews — Get the reviews on a pull request
    owner:string*, repo:string*, pull_number:number*

Overview

What is GitHub MCP Server?

The GitHub MCP Server provides a standardized way to interact with GitHub's API using the Model Context Protocol (MCP), enabling automated interactions between AI models and GitHub repositories.

How to use GitHub MCP Server?

Install the package (npm install @modelcontextprotocol/server-github), set your GitHub Personal Access Token as the environment variable GITHUB_PERSONAL_ACCESS_TOKEN, then start the server with npx @modelcontextprotocol/server-github. Configuration can be done through the claude_desktop_config.json file.

Key features of GitHub MCP Server

  • GitHub API Integration
  • Authentication using Personal Access Tokens
  • Repository Management
  • Issue and Pull Request Handling
  • File Operations
  • Branch Management

Use cases of GitHub MCP Server

  • Automate issue tracking and triage across repositories.
  • Manage pull request reviews and merges programmatically.
  • Perform file read/write operations on repository files.
  • Create, list, and switch branches via AI models.

Frequently asked questions

1 How do I install the GitHub MCP Server?

Install the npm package: npm install @modelcontextprotocol/server-github.

2 How do I configure authentication?

Set your GitHub Personal Access Token as the environment variable GITHUB_PERSONAL_ACCESS_TOKEN.

3 How do I start the GitHub MCP Server?

Run the command npx @modelcontextprotocol/server-github.

4 Where can I configure the server settings?

The server can be configured through the claude_desktop_config.json file, which should include the necessary GitHub authentication tokens and server settings.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬