Back to Home
legido-ai icon

mcp-github-app-auth

Verified Safe

by legido-ai

Overview

Provides a Model Context Protocol (MCP) server for GitHub operations, primarily focused on securely obtaining temporary GitHub App authentication tokens for various Git and GitHub API actions.

Installation

Run Command
docker run -i --rm -e GITHUB_APP_ID="$GITHUB_APP_ID" -e GITHUB_PRIVATE_KEY="$GITHUB_PRIVATE_KEY" -e GITHUB_INSTALLATION_ID="$GITHUB_INSTALLATION_ID" ghcr.io/legido-ai/mcp-github-app-auth:latest

Environment Variables

  • GITHUB_APP_ID
  • GITHUB_PRIVATE_KEY
  • GITHUB_INSTALLATION_ID
  • GITHUB_API_HOST

Security Notes

The core server logic handles environment variables for credentials and uses `subprocess.run` with list arguments for Git commands, which is generally safe. However, the `mcp_test.sh` script uses `eval "$SERVER_CMD"` where `SERVER_CMD` is constructed using environment variables. This creates a shell injection vulnerability if `GITHUB_PRIVATE_KEY` or other `GITHUB_*` environment variables contain malicious shell metacharacters. While this `eval` is confined to a testing script and not the primary server execution path (e.g., direct `python` execution or the recommended `docker run` from the README), it represents a significant security oversight in the repository's practices. There are no hardcoded secrets or obfuscation found. Network communication relies on standard HTTPS with GitHub API.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens75
Stars0
Forks0
Last Update2025-11-30

Tags

GitHub AppMCP ServerAuthenticationGit OperationsGitHub API