hub
agent-ready non-interactive
A command-line tool that makes git easier to use with GitHub.
How to install hub
brew install hub hub use case
Extend git command-line with GitHub-specific features such as cloning repositories, creating pull requests, and interacting with the GitHub API.
When to use hub
- Cloning GitHub repositories using shorthand notation (e.g., 'hub clone user/repo')
- Creating pull requests from the command line without needing a browser
- Automating GitHub API interactions in shell scripts (e.g., listing issues, creating releases)
When not to use hub
- When you need the officially maintained GitHub CLI (gh) with broader feature support and active development
- When working with non-GitHub git hosts (e.g., GitLab, Bitbucket) – hub is GitHub-specific
hub features
- · Wraps git to add GitHub-specific commands (e.g., pull-request, issue, release)
- · Clone a GitHub repository using 'user/repo' shorthand
- · Alias hub as git for transparent integration with existing git workflows
- · Directly interact with GitHub API from shell scripts
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like hub on its own.
Set up MCP →