Back to Home
SirKanaad26 icon

stateful-auth-for-the-github-mcp-server

Verified Safe

by SirKanaad26

Overview

Enables AI agents, assistants, and chatbots to interact with GitHub for repository management, issue/PR automation, CI/CD insights, 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 server implements a robust stateful authorization policy, locking sessions to a single repository to prevent cross-repo access within a conversation. Client IDs are hashed to avoid logging sensitive data like Personal Access Tokens (PATs). Extensive documentation details security best practices, access controls (PATs, OAuth, GitHub Apps, SSO), and a 'Lockdown Mode' for public repositories. No 'eval' or similar dangerous patterns are found in the application's core logic; the 'wasm_exec.js' is standard Go WebAssembly runtime. Test scripts may contain placeholder tokens, but the core application and documentation emphasize secure token handling.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens800
Stars0
Forks0
Last Update2026-01-19

Tags

GitHubAI AgentAutomationRepository ManagementCI/CD