github-mcp-go

github-mcp-go

0

The GitHub MCP Server is a Model Context Protocol server enabling interaction with GitHub through a standardized interface, specifically designed to work with large language models. It provides comprehensive GitHub API access, a convenient setup process, and security controls for AI assistant configurations.

GitHub MCP Server

A Model Context Protocol (MCP) server for GitHub that enables LLMs to interact with GitHub repositories and more via a standard interface.

Features

  • Comprehensive GitHub API Access
  • Setup Command: Easy installation for AI assistants
  • Security Controls: Write access disabled by default

Planned Features

  • Diff between commits

Installation

Requires a GitHub Personal Access Token. Pre-built binaries available for download.

Usage

The server uses environment variables for authentication and includes commands for setup, running the server, and auto-approval options.

Available Tools

  • Repository Tools: Search, create, fork repos
  • Pull Request Tools: Create, get, diff PRs
  • File Tools: Get, update, push files
  • Issue Tools: Create, list, update issues
  • Branch Tools: List, create, merge branches
  • Commit Tools: Get, compare, comment on commits
  • Search Tools: Search code, issues, commits
  • GitHub Actions Tools: List workflows, runs, jobs

Releases

Follows Semantic Versioning, with binaries for Linux, macOS, and Windows.

Development

Uses table-driven tests with go-vcr for HTTP interactions.

License

MIT License.