mcpField
C
Claude GitHub MCP Server

Claude GitHub MCP Server

Local
github.com/sidgupt12Version Control5Updated 77w ago

About Claude GitHub MCP Server

Claude GitHub MCP Server lets Claude Desktop work with GitHub repositories, including pull request operations and repository management. It is installed through npm and uses a GitHub personal access token.

Key features

  1. 01List and inspect pull requests
  2. 02Summarize pull request diffs
  3. 03Comment on and merge pull requests
  4. 04Request reviewers or close pull requests
  5. 05Create and delete repositories

Use cases

  1. 01Review open pull requests in a repository
  2. 02Summarize changes before deciding on a merge
  3. 03Post comments or request reviewers
  4. 04Create or remove a GitHub repository

MCP support

It exposes GitHub pull request and repository management tools to MCP clients such as Claude Desktop. Configuration uses a GitHub personal access token.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Claude GitHub MCP Server

A GitHub MCP Server for Claude Desktop that gives Claude the ability to interact with GitHub repository.

Here's the JSON to copy
{
  "mcpServers": {
    "github-pr": {
      "command": "claude-github-mcp", 
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
      }
    }
  }
}

Quick install
npm install -g claude-github-mcp

Features

  • List and view pull requests from any GitHub repository
  • Get detailed information about specific PRs
  • Comment on pull requests
  • Request reviewers for PRs
  • Merge pull requests
  • Summarize PR changes with diff highlighting
  • Close/reject PRs with optional comments
  • Create new repository
  • Delete existing repository
Usage
  • "Show me open PRs for microsoft/vscode"
  • "Get details for PR #123 in owner/repo"
  • "Summarize the changes in PR #456 for owner/repo"
  • "Comment 'LGTM! Approving this change.' on PR #789 in owner/repo"
  • "Request alice and bob as reviewers for PR #42 in owner/repo"
  • "Merge PR #101 in owner/repo"
  • "Close PR #202 in owner/repo with reason 'This approach won't work'"
  • "Create a repo named test with files xyz and content 'test file'"
  • "Delete this repo 'repo link'"

Available Commands

  • list-prs: Lists pull requests for a repository
  • discuss-pr: Gets details about a specific PR
  • summarize-pr: Summarizes changes in a PR with diffs
  • comment-on-pr: Posts a comment on a PR
  • request-reviewers: Requests reviewers for a PR
  • merge-pr: Merges a PR
  • close-pr: Closes/rejects a PR
  • create-repository: Creates a new repository
  • delete-repository: Deletes an existing repository
Requirements
  • Node.js 16+
  • A GitHub account with an appropriate personal access token
  • Claude Desktop

Enjoy!!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.