GitHub MCP Server in Go
@metoro-io
About GitHub MCP Server in Go
An unofficial implementation of an mcp server for github in go. Used internally at Metoro.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
16Search for GitHub repositories
Create a new GitHub repository in your account
Fork a GitHub repository to your account or specified organization
Create a new branch in a GitHub repository
Get the contents of a file or directory from a GitHub repository
Create or update a single file in a GitHub repository
Push multiple files to a GitHub repository in a single commit
Create a new issue in a GitHub repository
Get details of a specific issue in a GitHub repository
List issues in a GitHub repository with filtering options
Update an existing issue in a GitHub repository
Add a comment to an existing issue
Get list of commits of a branch in a GitHub repository
Search for code across GitHub repositories
Search for issues and pull requests across GitHub repositories
Search for users on GitHub
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.
Frequently asked questions
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.
Basic information
More Version Control MCP servers
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
GitMCP
idosalPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Gitlab Mcp Server
jmrplensOpen source GitLab MCP server for AI assistants: 2-tool dynamic find/execute over 860+ GitLab actions (1,000+ Enterprise), stdio/HTTP/OAuth, safe/read-only modes.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
Comments