# GitHub API MCP Server

Manage your GitHub repositories effortlessly. Create, update, and search for files, issues, and pull requests with ease, all while preserving your Git history. Streamline your development workflow by…

## Quick Start

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

# Browse available tools
npx -y @smithery/cli@latest tool list iamadk/github

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

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

## Tools (17)

- `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.

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

---

Source: https://github.com/iamadk/reference-servers/tree/main//src/github | License: MIT
