GitHub MCP Server logo

GitHub MCP Server

by AriesBerries

The GitHub MCP Server bridges the MCP protocol and GitHub's API. It allows you to control GitHub repositories and related resources using the MCP protocol.

View on GitHub

Last updated: N/A

GitHub MCP Server

An MCP (Master Control Program) server implementation for GitHub integration.

Description

The GitHub MCP Server provides a bridge between the MCP protocol and GitHub's API, allowing you to control GitHub repositories, issues, pull requests, and more using the MCP protocol.

Features

  • MCP protocol version 2.1 support
  • GitHub API integration
  • Repository management
  • Issue and pull request handling
  • Webhook processing
  • Secure authentication

Installation

# Clone the repository
git clone https://github.com/AriesBerries/github-mcp-server.git
cd github-mcp-server

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Start the server
npm start

Usage

The server exposes the following MCP protocol endpoints:

  • /mcp/connect - Establish a new MCP connection
  • /mcp/authenticate - Authenticate an MCP session
  • /mcp/command - Execute MCP commands
  • /mcp/disconnect - Close an MCP session

License

MIT