A Model Context Protocol (MCP) server built in TypeScript that integrates with GitHub's API, enabling AI assistants to manage repositories, issues
A Model Context Protocol (MCP) server built in TypeScript that integrates with GitHub's API, enabling AI assistants to manage repositories, issues, pull requests, and code while providing a structured interface for LLM agents to perform. The github mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
A Model Context Protocol (MCP) server that provides tools for interacting with the GitHub API. This server allows LLM agents manage GitHub repositories, issues, pull requests, branches, files, and releases through a standardized interface.
github-mcp-server implements the Model Context Protocol (MCP), enabling standardized communication between LLMs and external systems through:
Everything the assistant can do here goes through one of these:
get_repository — Get detailed information about a specific repository Parameters: owner, repolist_repositories — List repositories for the authenticated user Parameters: type (optional), sort (optional)create_repository — Create a new GitHub repository Parameters: name, description (optional), private (optional)list_branches — List branches in a repository Parameters: owner, repo, protected (optional), per_page (optional)create_branch — Create a new branch Parameters: owner, repo, branch, shadelete_branch — Delete a branch Parameters: owner, repo, branchcreate_issue — Create a new issue in a repository Parameters: owner, repo, title, body (optional), labels (optional)list_issues — List issues in a repository Parameters: owner, repo, state (optional), labels (optional)create_pull_request — Create a new pull request Parameters: owner, repo, title, head, base, body (optional)merge_pull_request — Merge a pull request Parameters: owner, repo, pull_number, commit_title (optional), commit_message (optional), merge_method (optional)update_pull_request — Update an existing pull request Parameters: owner, repo, pull_number, title (optional), body (optional), state (optional), base (optional)list_pull_requests — List pull requests in a repository Parameters: owner, repo, state (optional), head (optional), base (optional), sort (optional), direction (optional)You will need 3 environment variables: GITHUB_TOKEN, LOG_LEVEL, SERVER_NAME. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. GitHub's toolset — get_repository, list_repositories, create_repository and 11 more — is a fair guide to whether it matches your workflow. It is maintained by cyanheads; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| get_repository | Get detailed information about a specific repository Parameters: owner, repo |
| list_repositories | List repositories for the authenticated user Parameters: type (optional), sort (optional) |
| create_repository | Create a new GitHub repository Parameters: name, description (optional), private (optional) |
| list_branches | List branches in a repository Parameters: owner, repo, protected (optional), per_page (optional) |
| create_branch | Create a new branch Parameters: owner, repo, branch, sha |
| delete_branch | Delete a branch Parameters: owner, repo, branch |
| create_issue | Create a new issue in a repository Parameters: owner, repo, title, body (optional), labels (optional) |
| list_issues | List issues in a repository Parameters: owner, repo, state (optional), labels (optional) |
| create_pull_request | Create a new pull request Parameters: owner, repo, title, head, base, body (optional) |
| merge_pull_request | Merge a pull request Parameters: owner, repo, pull_number, commit_title (optional), commit_message (optional), merge_method (optional) |
| update_pull_request | Update an existing pull request Parameters: owner, repo, pull_number, title (optional), body (optional), state (optional), base (optional), maintainer_can_modify (optional) |
| list_pull_requests | List pull requests in a repository Parameters: owner, repo, state (optional), head (optional), base (optional), sort (optional), direction (optional) |
| update_file | Create or update a file in a repository Parameters: owner, repo, path, message, content, sha (optional), branch (optional) |
| create_release | Create a new release Parameters: owner, repo, tag_name, name (optional), body (optional), draft (optional), prerelease (optional) |
{
"mcpServers": {
"github": {
"command": "node",
"args": ["/path/to/github-mcp-server/build/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_personal_access_token",
"LOG_LEVEL": "info",
"SERVER_NAME": "github-mcp-server"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| LOG_LEVEL | Configuration value read at startup. | Optional |
| SERVER_NAME | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.