G

GitHub MCP

Repositories, issues, PRs, and workflows from your AI assistant

GitHub·
Featured
·No reviews yet
Repo Docs
Share:

About

Official Model Context Protocol server for GitHub. Read and search across repositories, files, issues, and pull requests; open, comment on, and manage issues and PRs; browse commits and branches; and trigger workflow runs — all from your AI assistant. Uses your GitHub personal access token for scoped access to public and private repositories.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about GitHub MCP.

What is the GitHub MCP and what can it do?
The GitHub MCP allows AI assistants to interact with GitHub. It enables reading and searching repositories, files, issues, and pull requests. AI can also open, comment on, and manage issues and PRs, browse commits, and trigger workflow runs.
How do I authenticate with the GitHub MCP?
Authentication for the GitHub MCP uses OAuth. It requires your GitHub personal access token to provide scoped access to both public and private repositories within your account.
What are some common use cases for the GitHub MCP?
Typical use cases include reviewing code, summarizing issue threads, automating pull request management, and initiating CI/CD workflows directly from your AI assistant. It streamlines development tasks by bringing GitHub functionality into the AI's context.
Does the GitHub MCP have any known limitations?
A realistic limitation is that access is determined by the scope of the provided personal access token. This means the AI assistant will only have the permissions granted to that specific token, potentially limiting certain operations in sensitive repositories.
Is there a cost associated with using the GitHub MCP?
The GitHub MCP itself is open source and free to deploy. Any costs would be associated with your GitHub plan and usage, or the platform you use to host the MCP server, as it depends on the underlying deployment.
How can I configure the GitHub MCP in an MCP client?
Configuration typically involves providing the server's endpoint URL and authorizing the OAuth flow with your GitHub account. Specific steps will vary by client, such as Claude Desktop, Cursor, or Cline, but generally involve adding a new MCP server and completing the authentication prompt.

Install GitHub MCP

Server URL

https://api.githubcopilot.com/mcp/

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/",
      "transport": "http",
      "authType": "oauth"
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

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

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.