MCP.so
Sign In
Servers

GitHub MCP Server in Go

@metoro-io

An unofficial implementation of an mcp server for github in go. Used internally at Metoro.

Overview

What is GitHub MCP Server in Go?

A Go implementation of the GitHub Model Context Protocol server that enables AI assistants to interact with the GitHub API for repository, branch, file, issue, and search operations.

How to use GitHub MCP Server in Go?

Install with go get github.com/metoro-io/github-mcp-server-go, set a GitHub personal access token via environment variable (GITHUB_PERSONAL_ACCESS_TOKEN) or HTTP Authorization header, and run with go run main.go.

Key features of GitHub MCP Server in Go?

  • Search repositories, code, issues, and users
  • Create, fork, and manage repositories
  • Create and manage branches
  • Get, create, update, and push files
  • Create, get, list, update issues and add comments
  • List commits on a branch

Use cases of GitHub MCP Server in Go?

  • AI assistant performing repository management tasks
  • Automated code searches across public repositories
  • Issue tracking and comment management via AI
  • Branch creation and file manipulation for CI/CD workflows

FAQ from GitHub MCP Server in Go

How do I install the server?

Run go get github.com/metoro-io/github-mcp-server-go and have Go 1.21 or higher installed.

What authentication methods are supported?

Environment variable (GITHUB_PERSONAL_ACCESS_TOKEN) or HTTP Authorization header (Bearer or raw token). Context passthrough is supported for Gin and standard HTTP handlers.

What are the runtime requirements?

Go 1.21 or higher and a GitHub personal access token with appropriate permissions.

What tools does the server provide?

16 tools covering search, repository, branch, file, issue, commit, and user operations.

What transport does the server use?

HTTP, supporting both standard handlers and Gin framework for authentication.

More from Version Control