github-mcp-server-go

github-mcp-server-go

3.3

If you are the rightful owner of github-mcp-server-go and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Go implementation of the GitHub Model Context Protocol (MCP) server for interacting with the GitHub API.

The GitHub MCP Server in Go is a robust implementation designed to facilitate AI assistants in interacting with the GitHub API. It allows for a wide range of operations such as creating repositories, managing branches, and manipulating files. The server supports authentication via environment variables or HTTP headers, making it versatile for different deployment scenarios. It is built with Go, requiring version 1.21 or higher, and leverages the Gin framework for HTTP request handling. The server is equipped with a variety of tools to perform operations like searching repositories, creating branches, and managing issues, making it a comprehensive solution for GitHub API interactions.

Features

  • Environment Variable and HTTP Header Authentication
  • Integration with Gin Framework for HTTP Handling
  • Comprehensive GitHub API Operations
  • Seamless Context Passthrough for HTTP Handlers
  • Support for Multiple File Operations in a Single Commit

Tools

  1. search_repositories

    Search GitHub repository

  2. create_repository

    Create a new repository

  3. fork_repository

    Replica warehouse

  4. create_branch

    Create a branch

  5. get_file_contents

    Get the file content

  6. create_or_update_file

    Create or update a file

  7. push_files

    Batch push files

  8. create_issue

    Create a question

  9. get_issue

    Get the question details

  10. list_issues

    List the questions

  11. update_issue

    Update question

  12. add_issue_comment

    Add a question comment

  13. list_commits

    List Submissions

  14. search_code

    Search for code

  15. search_issues

    Search questions and pull requests

  16. search_users

    Search for users