Claude GitHub MCP Server logo

Claude GitHub MCP Server

by sidgupt12

A GitHub MCP Server for Claude Desktop that allows Claude to interact with GitHub repositories. It provides functionalities to manage pull requests, repositories, and more.

View on GitHub

Last updated: N/A

What is Claude GitHub MCP Server?

This server is a GitHub MCP (Message Communication Protocol) server designed for Claude Desktop. It enables Claude to interact with GitHub repositories by listing, viewing, commenting on, merging, and closing pull requests. It also supports repository creation and deletion.

How to use Claude GitHub MCP Server?

First, install the server globally using npm install -g claude-github-mcp. Then, configure Claude Desktop with the provided JSON configuration, ensuring you replace your_github_token_here with a valid GitHub Personal Access Token. Finally, use natural language commands with Claude to interact with GitHub, such as 'Show me open PRs for microsoft/vscode'.

Key features of Claude GitHub MCP Server

  • List and view pull requests

  • Get detailed information about specific PRs

  • Comment on pull requests

  • Request reviewers for PRs

  • Merge pull requests

  • Summarize PR changes with diff highlighting

  • Create new repository

  • Delete existing repository

Use cases of Claude GitHub MCP Server

  • Automating pull request reviews and approvals

  • Managing GitHub repositories through natural language commands

  • Quickly summarizing changes in pull requests

  • Streamlining the process of requesting reviewers for pull requests

FAQ from Claude GitHub MCP Server

What is a GitHub Personal Access Token?

A GitHub Personal Access Token is a credential that allows you to access GitHub resources programmatically.

How do I get a GitHub Personal Access Token?

You can generate a Personal Access Token in your GitHub settings under 'Developer settings' -> 'Personal access tokens'.

What permissions does the Personal Access Token need?

The Personal Access Token needs appropriate permissions to access the repositories and perform the actions you want Claude to execute (e.g., repo scope for full repository access).

What Node.js version is required?

Node.js version 16 or higher is required.

Is Claude Desktop required?

Yes, Claude Desktop is required to use this MCP server.