1. Conduid
  2. Developer Tools
  3. Github MCP Server Go
MCP server · Developer Tools

Github MCP Server Go

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

Unclaimed MIT last commit a year ago devtools
49Fair

Scored 10 hours ago · breakdown

About Github MCP Server Go

Github MCP Server Go is an MCP server published by metoro-io in the Developer Tools category: an unofficial implementation of an mcp server for github in go. Used internally at Metoro.

The repository has 5 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/metoro-io/github-mcp-server-go

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (16)

add_issue_commentAdd a comment to an existing issue

Parameters not published.

create_branchCreate a new branch in a GitHub repository

Parameters not published.

create_issueCreate a new issue in a GitHub repository

Parameters not published.

create_or_update_fileCreate or update a single file in a GitHub repository

Parameters not published.

create_repositoryCreate a new GitHub repository in your account

Parameters not published.

fork_repositoryFork a GitHub repository to your account or specified organization

Parameters not published.

get_file_contentsGet the contents of a file or directory from a GitHub repository

Parameters not published.

get_issueGet details of a specific issue in a GitHub repository

Parameters not published.

list_commitsGet list of commits of a branch in a GitHub repository

Parameters not published.

list_issuesList issues in a GitHub repository with filtering options

Parameters not published.

Show all 16 tools
push_filesPush multiple files to a GitHub repository in a single commit

Parameters not published.

search_codeSearch for code across GitHub repositories

Parameters not published.

search_issuesSearch for issues and pull requests across GitHub repositories

Parameters not published.

search_repositoriesSearch for GitHub repositories

Parameters not published.

search_usersSearch for users on GitHub

Parameters not published.

update_issueUpdate an existing issue in a GitHub repository

Parameters not published.

Ask AI

✦

Ask AI about Github MCP Server Go

Powered by Claude · Grounded in docs

I know everything about Github MCP Server Go. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 10 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.5v0.0.5
v0.0.4v0.0.4
v0.0.3v0.0.3
v0.0.2v0.0.2
v0.0.1v0.0.1

README

GitHub MCP Server in Go

A Go implementation of the GitHub Model Context Protocol (MCP) server. This implementation allows AI assistants to interact with the GitHub API to perform operations such as creating repositories, managing branches, manipulating files, and more.

Prerequisites

  • Go 1.21 or higher
  • A GitHub personal access token with appropriate permissions

Installation

go get github.com/metoro-io/github-mcp-server-go

Authentication

The server supports two methods of authentication:

Environment Variable Authentication

Set your GitHub personal access token as an environment variable:

export GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token

HTTP Header Authentication

The server can also extract authentication tokens from HTTP requests. You can pass your GitHub token via the Authorization header:

Authorization: Bearer your_github_token

or simply:

Authorization: your_github_token

Context Passthrough

For HTTP handlers, the server supports both:

  1. The standard http_request context value for HTTP requests.
  2. The ginContext value when using the Gin framework.

This enables seamless integration with different web frameworks while maintaining a consistent authentication mechanism.

Usage

  1. Set your GitHub personal access token (as described in the Authentication section).

  2. Run the server:

go run main.go

Available Tools

The server provides the following tools:

  • search_repositories: Search for GitHub repositories
  • create_repository: Create a new GitHub repository in your account
  • fork_repository: Fork a GitHub repository to your account or specified organization
  • create_branch: Create a new branch in a GitHub repository
  • get_file_contents: Get the contents of a file or directory from a GitHub repository
  • create_or_update_file: Create or update a single file in a GitHub repository
  • push_files: Push multiple files to a GitHub repository in a single commit
  • create_issue: Create a new issue in a GitHub repository
  • get_issue: Get details of a specific issue in a GitHub repository
  • list_issues: List issues in a GitHub repository with filtering options
  • update_issue: Update an existing issue in a GitHub repository
  • add_issue_comment: Add a comment to an existing issue
  • list_commits: Get list of commits of a branch in a GitHub repository
  • search_code: Search for code across GitHub repositories
  • search_issues: Search for issues and pull requests across GitHub repositories
  • search_users: Search for users on GitHub

Development

Project Structure

  • main.go: Entry point for the application
  • common/: Common utilities and error handling
  • operations/: GitHub API operations implementation
  • tools/: MCP tool definitions and handlers

Building from Source

go build -o github-mcp-server

Running Tests

go test ./...

License

This project is licensed under the MIT License.

README fetched from the repository 10 hours ago. The original is authoritative.

Questions

About Github MCP Server Go

How do I install Github MCP Server Go?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Github MCP Server Go safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Github MCP Server Go still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.