GitHub MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | Yes | GitHub Personal Access Token for authentication | |
| GITHUB_USERNAME | No | GitHub username (optional, default: 'git') | git |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| git-add-allA | Adds all files to the staging area |
| git-addB | Adds a specific file to the staging area |
| git-removeA | Removes a specific file from the staging area |
| git-remove-allB | Removes all files from the staging area |
| git-statusB | Displays the status of the git repository |
| git-commitC | Commits staged files |
| git-pushC | Pushes committed files to the remote repository |
| git-pullC | Pulls changes from the remote repository |
| git-branchB | Lists all branches or creates a new branch |
| git-checkoutB | Switches to a branch or creates and switches to a new branch |
| git-logB | Shows commit history |
| git-diffB | Shows differences between commits, branches, or working directory |
| git-stashB | Stashes current changes |
| git-stash-popC | Applies the most recent stash |
| git-resetC | Resets repository to a specific commit or state |
| git-cloneC | Clones a repository |
| git-initB | Initializes a new Git repository |
| git-remote-listB | Lists all remote repositories |
| git-remote-addC | Adds a remote repository |
| git-remote-removeB | Removes a remote repository |
| git-remote-set-urlB | Changes the URL of an existing remote repository |
| git-flowA | Complete Git workflow: add all changes, commit with message, and push to remote |
| git-quick-commitB | Quick commit with automatic message generation based on changes |
| git-syncB | Synchronize repository: pull from remote, then push local changes |
| git-tagB | Manage Git tags: create, list, delete, or show tag details |
| git-mergeB | Merge a branch into the current branch with conflict detection |
| git-rebaseC | Rebase current branch onto another branch or commit |
| git-cherry-pickB | Apply changes from a specific commit to the current branch |
| git-blameB | Show line-by-line authorship information for a file |
| git-bisectB | Binary search through commit history to find bugs |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jungchihoon/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server