An unofficial implementation of an mcp server for github in go. Used internally at Metoro.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"github-mcp-server-go": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP Security Weekly
Get CVE alerts and security updates for Github Mcp Server Go and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
go get github.com/metoro-io/github-mcp-server-go
The server supports two methods of authentication:
Set your GitHub personal access token as an environment variable:
export GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token
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
For HTTP handlers, the server supports both:
http_request context value for HTTP requests.ginContext value when using the Gin framework.This enables seamless integration with different web frameworks while maintaining a consistent authentication mechanism.
Set your GitHub personal access token (as described in the Authentication section).
Run the server:
go run main.go
The server provides the following tools:
main.go: Entry point for the applicationcommon/: Common utilities and error handlingoperations/: GitHub API operations implementationtools/: MCP tool definitions and handlersgo build -o github-mcp-server
go test ./...
This project is licensed under the MIT License.