github-mcp-server
Verified Safeby crypto-ninja
Overview
Comprehensive GitHub workflow automation for AI-powered development teams, including actions monitoring, PR management, intelligent code search, and complete file management.
Installation
python -m src.github_mcpEnvironment Variables
- GITHUB_TOKEN
- GITHUB_APP_ID
- GITHUB_PRIVATE_KEY_PATH
- GITHUB_INSTALLATION_ID
- MCP_PYTHON_COMMAND
- MCP_PYTHON_ARGS
- MCP_CODE_EXECUTION_MODE
- MCP_CODE_FIRST_MODE
- MCP_WORKSPACE_ROOT
Security Notes
The server implements robust security measures, especially for its Deno-based code execution sandbox. It explicitly blocks dangerous APIs (e.g., `eval`, `Deno.run`, file write operations), prevents prototype pollution, and restricts dynamic global object access. Local file operations enforce workspace root constraints and prevent path traversal. Authentication is handled via environment variables (GITHUB_TOKEN) or GitHub App configuration, and specific write operations like `github_str_replace` and `github_delete_file` require unique matches and SHAs respectively for safety. No obvious hardcoded secrets were found.
Similar Servers
github-mcp-server
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.
octocode-mcp
The Octocode Research server enables AI agents to perform expert code forensics and deep-dive research across local filesystems (LSP, ripgrep, file I/O) and external GitHub repositories (code search, repo structure, pull requests, package search). It's optimized for architectural analysis, pattern discovery, and implementation planning.
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.
mcp-gihub-integration
This package provides a GitHub API client for integration with an MCP (Model Context Protocol) server, enabling automation of GitHub tasks.