MCPInstall
git-mcp-server logo

git-mcp-server

by sidgupt12 5 stars sidgupt12/git-mcp-server

MCP server to communicate with github repo without the need to run docker

READMEmain

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!!

More Deployment & DevOps MCP servers

Similar servers from the same category.

OpsLevel

opslevel

Provides direct access to OpsLevel's developer portal data, enabling intelligent interactions with service catalogs, component metrics, and operational workflows for DevOps teams managing service infrastructure.

TextModel

KubeSphere

kubesphere

Integrates with KubeSphere APIs to enable management of Kubernetes clusters, workspaces, users, and extensions through natural language commands without navigating the web console.

Deployment & DevOps

Integrates tools for managing resources in the Cloudflare Workers Platform.

Deployment & DevOps

EdgeOne Pages

tencentedgeone

Enables rapid deployment of HTML content to Tencent's EdgeOne Pages service with integrated Functions and KV store support for edge hosting

content