Verified OfficialVendor MaintainedHosted on github.com
GitHub logo

GitHub Official MCP Server

Install Now

GitHub's official MCP Server

What is GitHub?

GitHub github's official mcp server. The official GitHub MCP server provides AI agents with standardized access to GitHub's services, enabling powerful automation and integration capabilities that enhance developer productivity and streamline workflows.

This official MCP server is maintained and verified by GitHub, ensuring reliability, security, and up-to-date functionality. Unlike community-maintained servers, this official integration provides long-term support, comprehensive documentation, and direct vendor assistance. The server is hosted on github.com, guaranteeing secure and reliable access to GitHub's services.

Whether you're building AI-powered applications, automating workflows, or enhancing your development tools, the GitHub MCP server provides a standardized way to connect AI agents with GitHub's extensive platform capabilities. This integration enables natural language interactions with GitHub, making it easier than ever to leverage GitHub's features through AI assistants like Claude, ChatGPT, and Cursor.

Installation Instructions

Installation Instructions
Add GitHub to your MCP-compatible client
https://api.githubcopilot.com/mcp
Cursor logoCursor Instructions
1

Go to Settings → Cursor Settings

2

Click "Add new global MCP Server"

3

Paste the MCP configuration into mcp.json and restart

Install with Cursor

Or manually add to your mcp.json:

{ "mcpServers": { "github": { "url": "https://api.githubcopilot.com/mcp" } } }

GitHub MCP Server Capabilities

The official GitHub MCP server enables AI agents to:

  • Access GitHub repositories and code
  • Read and analyze source code files
  • Create and manage issues and pull requests
  • Search codebases and repositories
  • Access code repositories and manage version control
  • Create and manage issues, pull requests, and code reviews

These capabilities make it easy for AI agents to work with GitHub as part of a larger automation strategy, enabling seamless integration between AI assistants and your existing tools.

Available Tools

The GitHub MCP server provides 82 tools for AI agents to interact with the platform. Use the search below to find specific tools.

Tool NameDescription
actions_getGet details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
actions_listList GitHub Actions workflows in a repository
actions_run_triggerTrigger GitHub Actions workflow actions
add_comment_to_pending_reviewAdd review comment to the requester's latest pending pull request review
add_issue_commentAdd comment to issue
assign_copilot_to_issueAssign Copilot to issue
create_branchCreate branch
create_gistCreate Gist
create_or_update_fileCreate or update file in a repository
create_pull_requestOpen new pull request
create_pull_request_with_copilotPerform task with GitHub Copilot coding agent
create_repositoryCreate repository
delete_fileDelete file from repository
dismiss_notificationDismiss notification
fork_repositoryFork repository
get_code_scanning_alertGet code scanning alert
get_commitGet commit details
get_copilot_spaceGet Copilot Space
get_dependabot_alertGet dependabot alert
get_discussionGet discussion
get_discussion_commentsGet discussion comments
get_file_contentsGet file or directory contents
get_gistGet Gist content
get_global_security_advisoryGet a global security advisory
get_job_logsGet GitHub Actions workflow job logs
get_labelGet a specific label from a repository
get_latest_releaseGet latest release
get_meGet my user profile
get_notification_detailsGet notification details
get_release_by_tagGet a release by tag name
get_repository_treeGet repository tree
get_secret_scanning_alertGet secret scanning alert
get_tagGet tag details
get_team_membersGet team members
get_teamsGet teams
github_support_docs_searchRetrieve documentation relevant to answer GitHub product and support questions
issue_readGet issue details
issue_writeCreate or update issue
label_writeWrite operations on repository labels (create, update, delete)
list_branchesList branches
list_code_scanning_alertsList code scanning alerts
list_commitsList commits
list_copilot_spacesList Copilot Spaces
list_dependabot_alertsList dependabot alerts
list_discussion_categoriesList discussion categories
list_discussionsList discussions
list_gistsList Gists
list_global_security_advisoriesList global security advisories
list_issue_typesList available issue types
list_issuesList issues
list_labelList labels from a repository
list_notificationsList notifications
list_org_repository_security_advisoriesList org repository security advisories
list_pull_requestsList pull requests
list_releasesList releases
list_repository_security_advisoriesList repository security advisories
list_secret_scanning_alertsList secret scanning alerts
list_starred_repositoriesList starred repositories
list_tagsList tags
manage_notification_subscriptionManage notification subscription
manage_repository_notification_subscriptionManage repository notification subscription
mark_all_notifications_readMark all notifications as read
merge_pull_requestMerge pull request
projects_getGet details of GitHub Projects resources
projects_listList GitHub Projects resources
projects_writeModify GitHub Project items
pull_request_readGet details for a single pull request
pull_request_review_writeWrite operations (create, submit, delete) on pull request reviews
push_filesPush files to repository
request_copilot_reviewRequest Copilot review
search_codeSearch code
search_issuesSearch issues
search_orgsSearch organizations
search_pull_requestsSearch pull requests
search_repositoriesSearch repositories
search_usersSearch users
star_repositoryStar repository
sub_issue_writeChange sub-issue
unstar_repositoryUnstar repository
update_gistUpdate Gist
update_pull_requestEdit pull request
update_pull_request_branchUpdate pull request branch with latest changes from base

Last updated: January 29, 2026 at 12:00 PM

Common Use Cases

Automated Workflow Management

AI agents can use the GitHub MCP server to automate repetitive tasks and manage workflows within GitHub's platform.

Data Retrieval and Analysis

The MCP server allows AI agents to query and retrieve data from GitHub, enabling intelligent data analysis and insights.

Integration with Development Tools

Developers can integrate GitHub capabilities directly into their AI coding assistants for seamless workflows.

Frequently Asked Questions

How do I get a GitHub API key?

Visit https://github.com, create an account, and generate an API key from your dashboard. Most tools offer a free tier to get started, making it easy to begin using the GitHub MCP server.

Is this the official GitHub MCP server?

Yes, this MCP server is officially provided and maintained by GitHub. The endpoint https://api.githubcopilot.com/mcp is hosted on their official domain github.com, ensuring reliability and security.

What permissions does GitHub MCP need?

The GitHub MCP server requires appropriate API credentials and permissions based on the operations you want to perform. Check the documentation for specific permission requirements.

Can I use GitHub MCP with multiple clients?

Yes, you can configure the same MCP server across Cursor, Claude Desktop, Cline, and other MCP-compatible clients simultaneously. Each client maintains its own configuration.

Is GitHub MCP server free?

The MCP server itself is free to use, but you may need a GitHub account and API access, which may have its own pricing tiers. Check https://github.com for current pricing information.

What can GitHub MCP server do?

The GitHub MCP server enables AI agents to access code repositories and manage development workflows. GitHub's official MCP Server This allows you to interact with GitHub's platform through natural language commands in your AI assistant.

Troubleshooting

Connection Failed

Ensure your API key is correctly configured and your network allows outbound connections to github.com. Verify that the MCP endpoint URL https://api.githubcopilot.com/mcp is accessible from your network.

Authentication Error

Verify your API key is valid and has not expired. Generate a new key from https://github.com if needed. Make sure you're using the correct authentication method as specified in the documentation.

Server Not Responding

Check GitHub's status page for any ongoing incidents. Try restarting your MCP client and verify that the server endpoint is correct. If issues persist, consult the official documentation or support channels.

Related MCP Servers

Explore other official MCP servers that work well with GitHub:

Jam bug reporting and feedback tool for developers and product teams
DeepWiki automatically generates architecture diagrams, documentation, and links to source code to help you understand unfamiliar codebases quickly
Stytch authentication and user management platform for developers

About Model Context Protocol

The Model Context Protocol (MCP) is an open standard that enables AI models to securely connect to external APIs, tools, and data sources. This official MCP server from GitHub provides standardized access to their services, allowing AI agents to interact with GitHub's platform seamlessly.

To manage all your MCP servers in one place, use Apigene's MCP Gateway, which provides centralized management, security, and governance for all your MCP server connections.

Learn more about MCP in our complete guide or browse our FAQ for common questions.

Server Information

Domain

github.com

MCP Endpoint

https://api.githubcopilot.com/mcp