mcp-github
Verified Safeby hithereiamaliff
Overview
This server allows AI models to interact with the GitHub API through the Model Context Protocol (MCP), providing tools for repository management, code search, issue tracking, and pull request workflows.
Installation
docker compose up -d --buildEnvironment Variables
- PORT
- HOST
- GITHUB_PERSONAL_ACCESS_TOKEN
- ANALYTICS_FILE
Security Notes
Authentication relies on a GitHub Personal Access Token (PAT), which can be provided via query parameter, header, or environment variable. While query parameter transmission of tokens is generally less secure (potential logging), it's explicitly recommended for compatibility with certain MCP clients. The server uses Octokit for GitHub API interactions, reducing direct command execution risks. CORS is configured to allow all origins, typical for a public API gateway. No 'eval' or obvious code obfuscation found. Analytics dashboard HTML is generated directly by the server, not from user input, mitigating XSS risks there.
Similar Servers
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
mcp-server-for-Github
Provides comprehensive GitHub workflow automation for AI-powered development teams, including Actions monitoring, advanced PR management, intelligent code search, and complete file management.
poly-git-mcp
Provides Model Context Protocol (MCP) tools for AI assistants to manage Git repositories, issues, pull requests, and CI/CD across GitHub, GitLab, Gitea, and Bitbucket platforms.
repository-manager
Manages Git repositories (cloning, pulling, status, configuration) and serves as an Agentic AI tool for interacting with codebases, enabling semantic search and Python script execution.