# Connect GitHub to Your AI Agent (Universal MCP)

> Use your AI to track issues, run deployments, and audit security in GitHub — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http github https://api.universalmcp.app/mcp/github`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/github` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "github", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: GitHub | Category: DevOps & IT/Security (Microsoft) | Auth: OAuth 2.1 (1-click sign-in)
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Repositories and PRs, Actions and checks, Review comments; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=github | Guide: https://universalmcp.app/mcp/github
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (77 actions: 36 Read, 41 Write)
Perform over 70 actions across security & compliance, repositories & code, actions & automation, pull requests & reviews, issues & planning, users & access, and organizations & teams. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Security & Compliance (12):** Check Application Token (read), List Code Scanning Alerts (read), List Deploy Keys (read), List Enterprise Dependabot Alerts (read), List Enterprise Secret Alerts (read), Create Autofix Suggestion (write), Create Repository Ruleset (write), Create Security Campaign (write), Delete App Authorization (write), Delete Installation Token (write), Update Application Token (write), Update Branch Protection (write)
- **Repositories & Code (11):** Get Repository Details (read), List Repository Commits (read), List Repository Tags (read), List User Gists (read), List User Repositories (read), Search Code (read), Create Gist (write), Create Repository (write), Delete Repository (write), Update Repository Settings (write), Upload File to Repository (write)
- **Actions & Automation (10):** List App Webhook Deliveries (read), List Environment Secrets (read), List Environment Variables (read), List Organization Webhooks (read), List Workflow Runs (read), View Workflow Logs (read), Create Environment Variable (write), Create Webhook (write), Create Workflow from Template (write), Schedule Workflow Run (write)
- **Pull Requests & Reviews (9):** Get Pull Request Diff (read), List Pull Requests (read), Assign Copilot Code Review (write), Assign Reviewer to Pull Request (write), Create Pull Request (write), Create Stacked Pull Request (write), Merge Pull Request (write), Post Pull Request Comment (write), Submit Pull Request Review (write)
- **Issues & Planning (8):** List Assigned Issues (read), Search Issues and Pull Requests (read), Search Repository Labels (read), Assign Issue to Teammate (write), Create Issue (write), Create Issue Label (write), Post Issue Comment (write), Update Issue (write)
- **Users & Access (8):** Get Authenticated User (read), Get Public User Profile (read), List Account SSH Keys (read), List Notifications (read), Search Users (read), Create SSH Key (write), Update Notification Status (write), Update User Profile (write)
- **Organizations & Teams (7):** Get Organization Profile (read), List Organization Repositories (read), List Organization Teams (read), List User Organizations (read), Assign Team to Repository (write), Create Team (write), Update Organization Settings (write)
- **Projects & Insights (5):** Get Project Board (read), List Project Columns (read), Track Repository Insights (read), Delete Project Board (write), Update Project Board (write)
- **Codespaces & Copilot (4):** List Codespaces (read), Create Codespace (write), Create Copilot Agent Session (write), Delete Codespace (write)
- **Releases & Packages (3):** List Releases (read), Create Release (write), Upload Release Asset (write)

## Example Prompts for GitHub
- **Stale PR scan:** "Show every open GitHub pull request older than five days, with its reviewers, labels, and last commit time."
- **CI failure triage:** "List failing GitHub Actions runs on the main branch from today and group them by the failing job name."
- **Repo access audit:** "Summarize GitHub organization members with admin rights on payments repos who have no activity in 60 days."
- **Draft review comment:** "Draft a review comment for GitHub PR #482 and keep it unposted until I approve the wording first."
