Direct answer
GitHub MCP Server connects a coding agent to GitHub, so it can read code, manage issues and pull requests, and follow Actions runs. It runs over the remote URL https://api.githubcopilot.com/mcp/ or local stdio through Docker or the binary, needs GitHub OAuth or a personal access token, and exposes 92 tools.

What GitHub MCP Server does
GitHub MCP Server connects a coding agent to GitHub, so it can read code, manage issues and pull requests, and follow Actions runs. GitHub hosts a remote version, and you can run the same server locally from a Docker image or a release binary.
GitHub maintains it. It is licensed under MIT.
How a coding agent uses GitHub MCP Server
The agent asks, GitHub MCP Server acts, and the result comes back into the session.

- The agent asks: Open a pull request with this fix and watch CI
- GitHub MCP Server acts: Pushes the branch, opens the PR and reads the Actions run
- The result comes back: The pull request link and the job logs
Install GitHub MCP Server in Claude Code
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'Install GitHub MCP Server in Cursor
{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer YOUR_GITHUB_PAT"
}
}
}
}Install GitHub MCP Server in VS Code
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Install GitHub MCP Server in Codex
codex mcp add github --url https://api.githubcopilot.com/mcp/ --bearer-token-env-var GITHUB_PAT_TOKENThe 92 tools GitHub MCP Server gives your agent
GitHub MCP Server lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.
- actions_get
- actions_list
- actions_run_trigger
- get_job_logs
- get_code_quality_finding
- get_code_scanning_alert
- list_code_scanning_alerts
- get_me
- get_team_members
- get_teams
- ui_get
- assign_copilot_to_issue
- request_copilot_review
- assign_copilot_to_issue_with_intent
- get_dependabot_alert
- list_dependabot_alerts
- discussion_comment_write
- get_discussion
- get_discussion_comments
- list_discussion_categories
- list_discussions
- create_gist
- get_gist
- list_gists
- update_gist
- get_repository_tree
- create_repository_ruleset
- custom_properties_read
- custom_properties_write
- repository_ruleset_read
- add_issue_comment
- get_label
- issue_read
- issue_write
- list_issue_fields
- list_issue_types
- list_issues
- search_issues
- sub_issue_write
- update_issue_comment
- label_write
- list_label
- dismiss_notification
- get_notification_details
- list_notifications
- manage_notification_subscription
- manage_repository_notification_subscription
- mark_all_notifications_read
- search_orgs
- projects_get
- projects_list
- projects_write
- add_comment_to_pending_review
- add_reply_to_pull_request_comment
- create_pull_request
- list_pull_requests
- merge_pull_request
- pull_request_read
- pull_request_review_write
- search_pull_requests
- update_pull_request
- update_pull_request_branch
- create_branch
- create_or_update_file
- create_repository
- delete_file
- delete_repository
- fork_repository
- get_commit
- get_file_contents
- get_latest_release
- get_release_by_tag
- get_tag
- list_branches
- list_commits
- list_releases
- list_repository_collaborators
- list_tags
- push_files
- search_code
- search_commits
- search_repositories
- get_secret_scanning_alert
- list_secret_scanning_alerts
- get_global_security_advisory
- list_global_security_advisories
- list_org_repository_security_advisories
- list_repository_security_advisories
- list_starred_repositories
- star_repository
- unstar_repository
- search_users
Settings worth knowing in GitHub MCP Server
| Setting | What it changes | Server |
|---|---|---|
--toolsets / GITHUB_TOOLSETS | What it changes Enabling or disabling specific groups of functionalities | Server GitHub MCP Server |
--tools / GITHUB_TOOLS | What it changes Configure specific tools | Server GitHub MCP Server |
--read-only / GITHUB_READ_ONLY=1 | What it changes This will only offer read-only tools, preventing any modifications to repositories, issues, pull requests, etc. | Server GitHub MCP Server |
--lockdown-mode / GITHUB_LOCKDOWN_MODE=1 | What it changes Lockdown mode limits the content that the server will surface from public repositories. | Server GitHub MCP Server |
X-MCP-Toolsets / X-MCP-Readonly headers | What it changes Remote server headers to select toolsets or read-only mode | Server GitHub MCP Server |
Sign-in, limits and caveats for GitHub MCP Server
Sign-in: OAuth (browser login on first use; remote server in hosts that support it, and local server on github.com) or a GitHub Personal Access Token (GITHUB_PERSONAL_ACCESS_TOKEN locally, Authorization: Bearer header remotely). The Cursor guide says the remote server currently requires a PAT in Cursor.
Limits and price: The server is open source under MIT and free to run. GitHub's documentation for the server states no separate price or usage limit.
- The local server in a container needs Docker installed and running.
- Remote server needs an MCP host with remote server support (VS Code 1.101+ for remote MCP and OAuth); each host must configure a GitHub App or OAuth App for OAuth, otherwise use a PAT.
- Lockdown mode is a best-effort content filter, not an authorization boundary.
Use GitHub MCP Server for interface work
An agent building UI can read the repository with get_file_contents, open and update pull requests with create_pull_request and pull_request_read, and follow CI checks with actions_list and get_job_logs; it has no browser or rendering tools of its own.
Steal this workflow
Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.
Read the guide "GitHub MCP Server: install, tools and limits" at https://better-design.com/blog/github-mcp-server and help me apply it to my project.
GitHub MCP Server connects a coding agent to GitHub, so it can read code, manage issues and pull requests, and follow Actions runs. It runs over the remote URL https://api.githubcopilot.com/mcp/ or local stdio through Docker or the binary, needs GitHub OAuth or a personal access token, and exposes 92 tools.
Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.
Questions
What does GitHub MCP Server do?
GitHub MCP Server connects a coding agent to GitHub, so it can read code, manage issues and pull requests, and follow Actions runs. GitHub hosts a remote version, and you can run the same server locally from a Docker image or a release binary.
Does GitHub MCP Server need an API key or sign-in?
OAuth (browser login on first use; remote server in hosts that support it, and local server on github.com) or a GitHub Personal Access Token (GITHUB_PERSONAL_ACCESS_TOKEN locally, Authorization: Bearer header remotely). The Cursor guide says the remote server currently requires a PAT in Cursor.
Is GitHub MCP Server free?
The server is open source under MIT and free to run. GitHub's documentation for the server states no separate price or usage limit.
Which coding agents can use GitHub MCP Server?
Its documentation shows a setup for Claude Code, Cursor, VS Code, Codex. Any client that speaks MCP over the remote URL https://api.githubcopilot.com/mcp/ or local stdio through Docker or the binary can connect.
Where these GitHub MCP Server facts come from
Each fact on this page comes from GitHub MCP Server's own repository, documentation or package registry, read on November 12, 2026.
- GitHub: github.com/github/github-mcp-server/blob/main/README.md
- GitHub: github.com/github/github-mcp-server/blob/main/docs/installation-guides
- GitHub: github.com/github/github-mcp-server/blob/main/docs/installation-guides
- GitHub: github.com/github/github-mcp-server/blob/main/docs/installation-guides
- GitHub: github.com/github/github-mcp-server/blob/main/docs/remote-server.md
- GitHub: github.com/github/github-mcp-server/releases
Related
Add design rules next to it
GitHub MCP Server gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.