Talk to your GitHub repos, issues, and project boards in plain English from your terminal
Project description
GitHub MCP Agent
Talk to your GitHub repos, issues, and project boards in plain English from your terminal.
You > list open issues in my raytracer repo
You > set priority of issue #42 to urgent
You > what's in progress on the project board?
You > which issues are assigned to maryam?
Install
pip install github-mcp-agent
Or with uv:
uv tool install github-mcp-agent
Setup
github-agent setup
Interactive wizard:
- GitHub token (validated immediately)
- AI provider — choose one:
- AWS Bedrock — existing profile, access keys, or SSO
- Anthropic API — API key from console.anthropic.com
- OpenAI — API key from platform.openai.com
- Google Gemini — API key from aistudio.google.com
- GitHub Copilot — uses your GitHub token, requires a Copilot subscription
- Local (Ollama) — picks from your installed models, no API key needed
- Model selection (scrollable menu)
- Pulls the GitHub MCP Docker image
Config saved to ~/.config/github-mcp-agent/.env.
Usage
github-agent # start the agent
github-agent setup # full setup wizard
github-agent provider # switch AI provider and model
github-agent model # switch model within current provider
github-agent token # update GitHub token
github-agent config # edit config file in $EDITOR
github-agent prompt # customize the system prompt in $EDITOR
github-agent -v # start with verbose tool output
Requirements
| Requirement | Notes |
|---|---|
| Python 3.10+ | |
| Docker | Must be running — used for the GitHub MCP server |
| GitHub token | Scopes: repo, read:org, project — github.com/settings/tokens |
| Provider credentials | See setup wizard |
For AWS Bedrock: enable Claude model access in the Bedrock console under Model access.
For Ollama: install from ollama.com, run ollama serve. Models with good tool-calling support: qwen2.5, llama3.1, mistral.
For GitHub Copilot: requires an active Copilot subscription (student pack, individual, or business).
How it works
You (terminal)
│
▼
github-agent (CLI)
│
├── AI model (Bedrock / Anthropic / OpenAI / Gemini / Copilot / Ollama)
│
└── GitHub MCP Server (Docker)
│
└── GitHub API
Uses the Strands Agents SDK with the GitHub MCP server.
Troubleshooting
GITHUB_TOKEN not set — run github-agent setup
Docker not running — start Docker Desktop or sudo systemctl start docker
Bedrock access denied — check IAM permissions and model access in your region
Ollama model not found — run ollama list to confirm the model name, re-run github-agent model
No module named github_mcp_agent — reinstall with uv tool install . from the project directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_mcp_agent-0.2.0.tar.gz.
File metadata
- Download URL: github_mcp_agent-0.2.0.tar.gz
- Upload date:
- Size: 198.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61f233150c88c0ee27925302984d3609636d607e34992e80feea90a40ef98e7
|
|
| MD5 |
4b4bda27b9ede13e556ae889f90bf748
|
|
| BLAKE2b-256 |
130bab096b593d53e774bd76dde65639e3670fdf1d4efb97c3cdac4b89731692
|
File details
Details for the file github_mcp_agent-0.2.0-py3-none-any.whl.
File metadata
- Download URL: github_mcp_agent-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97325d6a4afd343efff953858278353223f186e08d84a8247f94e9e132e0b2c7
|
|
| MD5 |
8cd177e4adaf3b8c31e30d0f64f707cd
|
|
| BLAKE2b-256 |
4dd8da0a4f34a086b2ee953b732e678cc71b25d4fe6d7ac8de4f3fe757d77778
|