github-mcp-server-go

github-mcp-server-go

4

This project is a Go-based implementation of the Model Context Protocol Server for GitHub, permitting AI assistants to execute various GitHub API tasks such as repository management and file operations. It supports different authentication methods and provides multiple tools for efficient project handling.

GitHub MCP Server in Go

A Go implementation of the GitHub Model Context Protocol (MCP) server, enabling AI assistants to interact with the GitHub API. Key functionalities include creating repositories, managing branches, and manipulating files.### Prerequisites

  • Go 1.21+
  • GitHub personal access token with proper permissions

Authentication

  • Environment Variable Authentication: Use environment variables for GitHub tokens.
  • HTTP Header Authentication: Tokens can be passed via HTTP headers.

Usage

  1. Set your GitHub personal access token.
  2. Run the server.

Available Tools

  • Search repositories
  • Create repositories
  • Fork repositories
  • Manage branches
  • File operations
  • Issue management
  • Code search