Back to Home
github icon

github-mcp-server

Verified Safe

by github

Overview

The GitHub MCP Server enables AI agents, assistants, and chatbots to interact with GitHub's platform for repository management, issue/PR automation, CI/CD intelligence, code analysis, and team collaboration through natural language.

Installation

Run Command
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server

Environment Variables

  • GITHUB_PERSONAL_ACCESS_TOKEN
  • GITHUB_HOST
  • GITHUB_TOOLSETS
  • GITHUB_TOOLS
  • GITHUB_READ_ONLY
  • GITHUB_LOCKDOWN_MODE
  • GITHUB_DYNAMIC_TOOLSETS

Security Notes

The project demonstrates strong security practices: * **Authentication & Authorization:** Emphasizes secure Personal Access Token (PAT) handling, OAuth, and GitHub App installation controls with policies for minimum scopes, token rotation, and non-committal storage. * **Input Sanitization:** Uses 'bluemonday' to sanitize HTML content, mitigating Cross-Site Scripting (XSS) risks. * **Lockdown Mode:** Provides an additional security layer for public repositories by filtering content from users without push access. * **Error Handling:** Differentiates user-actionable errors from developer errors and stores detailed error information in context for middleware analysis without exposing sensitive data. * **Dependency Audits:** Lists third-party licenses, indicating awareness of supply chain security. * **No Obvious Malicious Patterns:** No direct 'eval' or uncontrolled shell execution with untrusted input in the server's core logic. Docker execution is for deployment or testing, not part of the server's internal runtime processing of user input.

Similar Servers

Stats

Interest Score100
Security Score9
Cost ClassMedium
Avg Tokens30
Stars26078
Forks3402
Last Update2026-01-19

Tags

GitHubAI AgentLLM ToolRepository ManagementCI/CD