GitHub MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_PERSONAL_ACCESS_TOKEN | No | Your GitHub Personal Access Token for authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_repositoriesA | Search for GitHub repositories. Returns a concise list with essential information. Use 'get_repository' for detailed information about a specific repository. |
| search_codeA | Search for code across GitHub repositories. Returns a concise list with file paths and repositories. Use 'get_file_contents' for full file content. |
| search_usersC | Search for GitHub users. |
| get_issueB | Get details of a specific issue in a GitHub repository. |
| add_issue_commentB | Add a comment to a specific issue in a GitHub repository. |
| search_issuesC | Search for issues in GitHub repositories. |
| create_issueB | Create a new issue in a GitHub repository. |
| list_issuesC | List issues in a GitHub repository. |
| update_issueB | Update an existing issue in a GitHub repository. |
| get_issue_commentsB | Get comments for a specific issue in a GitHub repository. |
| get_repositoryB | Get detailed information about a GitHub repository including README and file structure |
| get_commitB | Get details for a commit from a GitHub repository |
| list_commitsC | Get list of commits of a branch in a GitHub repository |
| list_branchesB | List branches in a GitHub repository |
| create_or_update_fileB | Create or update a single file in a GitHub repository. If updating an existing file, you must provide the current SHA of the file (the full 40-character SHA, not a shortened version). |
| create_repositoryB | Create a new GitHub repository in your account |
| get_file_contentsB | Get the contents of a file from a GitHub repository |
| fork_repositoryB | Fork a GitHub repository to your account or specified organization |
| create_branchB | Create a new branch in a GitHub repository |
| list_tagsB | List git tags in a GitHub repository |
| get_tagA | Get details about a specific git tag in a GitHub repository (supports both annotated and lightweight tags) |
| push_filesB | Push multiple files to a GitHub repository in a single commit |
| get_pull_requestB | Get details of a specific pull request in a GitHub repository. |
| update_pull_requestC | Update an existing pull request in a GitHub repository. |
| list_pull_requestsC | List pull requests in a GitHub repository. |
| merge_pull_requestB | Merge a pull request in a GitHub repository. |
| get_pull_request_filesA | Get the files changed in a specific pull request. |
| get_pull_request_statusB | Get the status of a specific pull request. |
| update_pull_request_branchB | Update the branch of a pull request with the latest changes from the base branch |
| get_pull_request_commentsC | Get comments for a specific pull request |
| create_pull_requestB | Create a new pull request in a GitHub repository. |
| get_pull_request_review_commentsB | Get review comments (line-by-line code comments) for a specific pull request. |
| create_pull_request_review_commentB | Create a review comment (line-by-line code comment) on a pull request. |
| helloA | A simple test tool to verify that the MCP server is working correctly |
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/hithereiamaliff/mcp-github'
If you have feedback or need assistance with the MCP directory API, please join our Discord server