GitHub logo

GitHub MCP Server

GitHub's official MCP server manages repositories, files, issues and pull requests, searches code, and reads and triggers GitHub Actions workflows. It is an official, vendor-maintained server. Works in Claude, Cursor, VS Code and Claude Code.

Visit GitHub
Server URLhttps://api.githubcopilot.com/mcp/
GitHub

What GitHub can do

GitHub's official MCP server manages repositories
Files, issues
Pull requests
Searches code
Reads, triggers GitHub Actions workflows

Tools GitHub exposes

10 tools · from docs

The exact tools this MCP server gives your AI.

search_repositoriesSearch GitHub repositoriesread
get_file_contentsRead a file or directory from a reporead
create_or_update_fileCreate or update a file in a repowrite
create_issueOpen a new issuewrite
list_issuesList and filter issuesread
create_pull_requestOpen a pull requestwrite
merge_pull_requestMerge a pull requestwrite
search_codeSearch code across repositoriesread
list_workflow_runsList GitHub Actions runsread
run_workflowTrigger a GitHub Actions workflowwrite

Try asking Claude

Example prompts once GitHub is connected.

Open a PR from a chat.
Triage issues.
Search a repo for where a function is defined.

Set up GitHub

Pick your client. Every snippet is copy-ready.

Settings → Connectors → Add custom connector, paste https://api.githubcopilot.com/mcp/, authenticate with OAuth 2.1.

Permissions & safety

Read & writeAuth: OAuth 2.1

Can change data via: create_or_update_filecreate_issuecreate_pull_requestmerge_pull_requestrun_workflow

Runs remotely, so requests and returned data pass through github.com.

To stay safe, connect with least-privilege scopes and use a read-only credential where the service supports one.

Troubleshooting

Authentication fails or the connector shows disconnected
Re-run the connect flow. OAuth tokens expire, so re-authorise when prompted.
401 / 403 errors on a tool call
The account lacks the scope that tool needs. Reconnect and grant the missing permission.
A tool returns nothing for your GitHub data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Open Claude, go to Settings, Connectors, Add custom connector, and paste https://api.githubcopilot.com/mcp/. Authenticate with OAuth 2.1 and it is ready in any chat.

More Coding & Developer Tools MCP servers

GitHub compared

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.