# GitHub API MCP Server

Enable seamless file operations, repository management, and advanced search functionalities on GitHub. Automate your workflows with automatic branch creation and comprehensive error handling, all whi…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add lowkeyrd/servers

# Browse available tools
npx -y @smithery/cli@latest tool list lowkeyrd/servers

# Get full schema for a tool
npx -y @smithery/cli@latest tool get lowkeyrd/servers create_or_update_file

# Call a tool
npx -y @smithery/cli@latest tool call lowkeyrd/servers create_or_update_file '{}'
```

## Tools (26)

- `create_or_update_file` — Create or update a single file in a GitHub repository
- `search_repositories` — Search for GitHub repositories
- `create_repository` — Create a new GitHub repository in your account
- `get_file_contents` — Get the contents of a file or directory from a GitHub repository
- `push_files` — Push multiple files to a GitHub repository in a single commit
- `create_issue` — Create a new issue in a GitHub repository
- `create_pull_request` — Create a new pull request in a GitHub repository
- `fork_repository` — Fork a GitHub repository to your account or specified organization
- `create_branch` — Create a new branch in a GitHub repository
- `list_commits` — Get list of commits of a branch in a GitHub repository
- `list_issues` — List issues in a GitHub repository with filtering options
- `update_issue` — Update an existing issue in a GitHub repository
- `add_issue_comment` — Add a comment to an existing issue
- `search_code` — Search for code across GitHub repositories
- `search_issues` — Search for issues and pull requests across GitHub repositories
- `search_users` — Search for users on GitHub
- `get_issue` — Get details of a specific issue in a GitHub repository.
- `get_pull_request` — Get details of a specific pull request
- `list_pull_requests` — List and filter repository pull requests
- `create_pull_request_review` — Create a review on a pull request
- `merge_pull_request` — Merge a pull request
- `get_pull_request_files` — Get the list of files changed in a pull request
- `get_pull_request_status` — Get the combined status of all status checks for a pull request
- `update_pull_request_branch` — Update a pull request branch with the latest changes from the base branch
- `get_pull_request_comments` — Get the review comments on a pull request
- `get_pull_request_reviews` — Get the reviews on a pull request

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get lowkeyrd/servers <tool-name>
```

---

Source: https://github.com/lowkeyrd/servers/tree/main/src/github | License: MIT
