Back to Home
Calvin-Francis icon

github-mcp-server-local

Verified Safe

by Calvin-Francis

Overview

Connects AI tools (agents, assistants, chatbots) directly to GitHub's platform to read repositories, manage issues and PRs, analyze code, and automate workflows through natural language interactions.

Installation

Run Command
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN="<YOUR_GITHUB_PAT>" ghcr.io/github/github-mcp-server

Environment Variables

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

Security Notes

The project extensively documents secure handling of GitHub Personal Access Tokens (PATs) via environment variables, explicitly advising against hardcoding. Input validation is performed on tool parameters, and response content (like issue/PR titles/bodies) is sanitized using `bluemonday` to mitigate injection risks. A 'lockdown mode' feature restricts content visibility in public repositories based on user push access, enhancing privacy and security. The system's reliance on GitHub's API permissions means access is inherently constrained by the authenticated user's privileges.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-19

Tags

GitHub APIAI AgentsCLIDeveloper ToolsAgentic Workflows