Interact with GitHub's issue tracking system through MCP, enabling AI to manage and respond to issues.

What is GitHub MCP?

GitHub MCP enables Cursor to communicate with GitHub's API directly through the Model Context Protocol. This integration lets AI assistants in Cursor access and manage GitHub resources without requiring you to switch contexts.

Setting Up GitHub MCP

Step 1: Access MCP Settings

Open Cursor and navigate to Settings → Features → MCP section to manage your Model Context Protocol connections.

Step 2: Add GitHub Server

Click the “+ Add New MCP Server” button and fill in the configuration details for GitHub.

Step 3: Configure Connection

Enter the following information:

  • Name: GitHub
  • Type: Select the appropriate transport (usually SSE)
  • URL: Enter the GitHub MCP endpoint
  • API Key: Add your GitHub API key if required

Step 4: Verify Connection

After adding the server, it should appear in your MCP servers list. Click the refresh button to confirm the tools are available.

Using GitHub with Cursor

Once you've set up the GitHub MCP connection, Cursor can interact with GitHub services directly. Here's how to use it:

  • Automatic detection: Cursor will recognize when your prompts relate to GitHub and will suggest using the appropriate tools.
  • Direct reference: You can explicitly mention GitHub in your prompts to activate the integration.
  • Task approval: When Cursor wants to use GitHub MCP, it will request your approval before executing the action.

Example Use Cases

Here are some ways you can leverage the GitHub MCP integration:

  • Ask Cursor to fetch information from your GitHub account
  • Request Cursor to perform routine GitHub operations
  • Use Cursor to analyze and work with your GitHub data directly

Note:

MCP tools may not be compatible with all AI models in Cursor. For best results, use with Claude models which have the strongest MCP support.

Search tools

Modal for searching tools