GitHub MCP Server 🔌 MCP server Free
GitHub's official MCP server: issues, pull requests, code, Actions and security alerts
- GitHub stars
- 33k
- Stars this week
- +132
- Forks
- 5.1k
- Licence
- MIT
- Last push
- 2026-10-02
- Maintainer
- github
claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Authorization: Bearer YOUR_GITHUB_PAT"Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.
Works with
Built on the open MCP standard, so it works in every app that supports MCP.
About GitHub MCP Server
What it does
GitHub MCP Server is GitHub's own bridge between coding agents and the GitHub platform. Once connected, an agent can read repositories and files, search code, open and update issues and pull requests, look at GitHub Actions runs to work out why a build failed, and review code scanning, secret scanning and Dependabot findings. It is written in Go and released under the MIT licence. You can use the copy GitHub hosts or run it yourself as a Docker container or a standalone binary.
Tools it gives your agent
Tools are grouped into toolsets, so you can switch on only the parts you need:
context,repos,issues,pull_requestsandusers, which are the defaultsactions, for workflows, runs, jobs and logscode_security,secret_protection,dependabotandsecurity_advisoriesdiscussions,gists,labels,notifications,orgs,projectsandgit- On the hosted server only: Copilot coding agent tools, Copilot Spaces and GitHub support docs search
Works with
The hosted server lives at api.githubcopilot.com/mcp/ and works with any client that supports remote MCP servers over HTTP. The README has setup guides for VS Code, Claude Desktop, Claude Code, Codex, Copilot CLI, Cursor, Windsurf, Zed, OpenCode and several JetBrains and other IDEs. If your client only supports local servers, run the Docker image ghcr.io/github/github-mcp-server instead. GitHub Enterprise Server users also need the local version, because GitHub does not host the server for them.
How to connect
Claude Code, hosted server with a personal access token:
claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Authorization: Bearer YOUR_GITHUB_PAT"
Claude Code, local server in Docker:
claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_PAT -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
Cost and limits
The server is free. You only need a GitHub account, and every call counts toward that account's normal GitHub API rate limits.
Safety notes
The agent can do anything your token allows, so use a fine-grained token that covers only the repositories and permissions you need. The --read-only flag removes every write tool. --lockdown-mode hides public-repo content from authors without push access, which lowers the risk of prompt injection. The README says clearly that it is a filter, not a permission boundary. OAuth sign-in is also available, and local OAuth tokens are held only in memory.
Pros
- Official and complete
- Remote or local
- Toolsets keep context small
Cons
- Broad permissions: scope your token carefully
Similar MCP servers
All developer tool MCP servers →XcodeBuildMCP 🔌 MCP serverOpen source
Build, run, test and debug iOS and macOS apps from AI agents, maintained by Sentry
Sentry MCP 🔌 MCP serverFreemium
Sentry's MCP server: pull errors, stack traces and issues into your agent
🔥 Sentry for Startups: up to $5,000 in credits (12-month expiry) for companies founded in the last 2 years with under $5M raisedMCP Reference Servers 🔌 MCP serverFree
The official reference MCP servers: fetch, filesystem, git, memory and more
Unity MCP 🔌 MCP serverOpen source
Lets AI agents drive the Unity Editor: scenes, C# scripts, assets, tests and builds
n8n-MCP 🔌 MCP serverFreemium
n8n node docs, templates and validation so agents build workflows that actually run
🔥 Startup Plan: 50% off the self-hosted Business plan (fewer than 20 employees, under €5M raised)MATLAB MCP Server 🔌 MCP serverFree
Official MathWorks server to run, test and lint MATLAB code from AI agents (needs a MATLAB licence)
More from github
Spec Kit 🤖 AgentFree
GitHub's toolkit for spec-driven development with AI coding agents
Awesome GitHub Copilot 🧩 SkillOpen source
GitHub's community collection of Copilot agents, instructions, skills and plugins