MCP Server for GitHub - Repository management, PRs, Issues, Actions
npm install @plugix/mcp-githubMCP Server for GitHub repository management with AI assistance.
- Repository Management: List repos, branches, commits
- Issues & PRs: View and manage issues and pull requests
- Code Search: Search code across repositories
- Actions: View workflow runs and status
``bash`
npm install -g @plugix/mcp-github
Or run directly:
`bash`
npx @plugix/mcp-github
Create a .env file or set environment variables:
`bashRequired
API_TOKEN=sk_live_your_token_here
GITHUB_TOKEN=ghp_your_github_token
Usage
`bash
Start the MCP server
mcp-githubOr with environment variables
API_TOKEN=sk_live_xxx GITHUB_TOKEN=ghp_xxx mcp-github
`Available Tools
| Tool | Description |
|------|-------------|
|
list_repos | List repositories in organization |
| get_repo | Get repository details |
| list_branches | List branches in a repository |
| list_commits | Get recent commits |
| list_issues | List open issues |
| get_issue | Get issue details with comments |
| list_pull_requests | List open PRs |
| get_pull_request | Get PR details with diff |
| search_code | Search code across repos |
| list_workflows | List GitHub Actions workflows |
| get_workflow_runs` | Get recent workflow runs |- "Show me all open issues in the api repository"
- "What PRs need review?"
- "Find all files that import lodash"
- "Show me failed workflow runs from today"
- "List recent commits on the main branch"
- Uses GitHub Personal Access Token
- Token stored locally, never sent to Plugix
- Read-only by default, write operations require confirmation
MIT