github-mcp-server

shibdad/github-mcp-server

3.1

If you are the rightful owner of github-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This MCP server connects Claude Desktop directly to your GitHub repositories and git commands, enabling interaction with your code and repositories through natural conversation.

The GitHub MCP Server for Claude Desktop is designed to enhance the functionality of Claude Desktop by integrating it with GitHub. This integration allows users to perform various git operations and manage their GitHub repositories through conversational commands. The server supports a range of git commands such as cloning repositories, checking status, committing changes, and pushing to GitHub. It also provides functionalities to browse and create GitHub repositories. The setup requires Node.js, Git command-line tools, and a GitHub Personal Access Token for API access. Once configured, users can interact with their repositories seamlessly using Claude Desktop.

Features

  • git-clone - Clone any repository with a simple request
  • git-status - Check what's happening in your git repos
  • github-list-repos - Browse your GitHub repositories
  • github-repo-info - Get detailed information about any repository
  • git-commit - Commit changes to your repositories

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "github": {
      "command": "/bin/sh",
      "args": ["-c", "/path/to/github-mcp-server/start.sh"]
    }
  }
}

usage with Claude Desktop with GitHub Token

{
  "mcpServers": {
    "github": {
      "command": "/bin/sh",
      "args": ["-c", "/path/to/github-mcp-server/start.sh"],
      "env": {
        "GITHUB_TOKEN": "your-github-token"
      }
    }
  }
}