mcp-github

mcp-github

1

The GitHub MCP Server is a Model Context Protocol server that allows AI assistants to perform operations on GitHub such as managing repositories, handling issues, and searching code. It requires Node.js and a GitHub Personal Access Token for authentication.

GitHub MCP Server

A Model Context Protocol (MCP) server designed for interacting with GitHub, enabling AI assistants to manage repositories, perform file operations, track issues, and more.

Features

  • Repository Operations: Create and fork repositories.
  • File Operations: Create, update, read files, and push commits.
  • Issue Management: Handle issues, list, update, and comment.
  • Pull Requests: Ability to create.
  • Branch Management: Create branches.
  • Search Capabilities: Search through code, repositories, and users.
  • Commit History: List commits.

Setup

  • Requires Node.js 18+ and a GitHub Personal Access Token.
  • Clone the repo, install dependencies, and build the project.

Configuration

  • Use a GitHub Personal Access Token as an environment variable.

Usage

  • Run locally using the node command or deploy with Smithery, utilizing the included Dockerfile and smithery.yaml.