This MCP server automates GitHub workflows, providing tools for actions monitoring, PR management, intelligent code search, and file management, optimized for AI-powered development teams.
From the registry: AI-optimized GitHub MCP server: 112 tools, 98% token reduction, compact responses.
$ git clone https://github.com/crypto-ninja/mcp-server-for-Github && cd mcp-server-for-Github && pip install -e .https://github.com/crypto-ninja/mcp-server-for-GithubPlease install the `github-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Python 3.10+** — Python 3.10 or newer
- **Deno runtime** — Deno is required for the code-execution sandbox (https://deno.land/)
- **Clone and install** — Clone the repo and install the Python package Run: `git clone https://github.com/crypto-ninja/mcp-server-for-Github && cd mcp-server-for-Github && pip install -e .` (https://github.com/crypto-ninja/mcp-server-for-Github)
- **GitHub authentication** — Create a PAT with `repo` and `workflow` scopes (required for release operations) (https://github.com/settings/tokens)
Canonical MCP server config (stdio transport):
- command: `python3`
- args: ["-m","github_mcp"]
- required environment variables:
- `GITHUB_TOKEN`: GitHub personal access token with repo and workflow scopes (example: `<your-github-token>`)
- optional environment variables:
- `GITHUB_APP_ID`: GitHub App ID (optional, enables 15k req/hr rate limit) (example: `<your-app-id>`)
- `GITHUB_APP_INSTALLATION_ID`: GitHub App installation ID (example: `<your-installation-id>`)
- `GITHUB_APP_PRIVATE_KEY_PATH`: Path to GitHub App private key file (example: `<your-private-key-path>`)
- `MCP_WORKSPACE_ROOT`: Absolute path to local project root for workspace_* tools (example: `<your-project-path>`)
Note: Code-first single-tool architecture exposes `execute_code` which internally calls 112 GitHub tools. Requires Deno for the code execution sandbox.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.GITHUB_TOKENrequiredUsed for authenticating with GitHub API.MCP_WORKSPACE_ROOTrequiredSpecifies the root directory for workspace tools.Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.