drio
Open app

GitHub MCP Server

Source

A Model Context Protocol (MCP) server built in TypeScript that integrates with GitHub's API, enabling AI assistants to manage repositories, issues, pull requests, and code while providing a structured interface for LLM agents to perform GitHub operations.

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP Server is a Model Context Protocol (MCP) server built in TypeScript that integrates with GitHub's API, enabling AI assistants to manage repositories, issues, pull requests, and code while providing a structured interface for LLM agents to perform GitHub operations.

To use GitHub MCP Server, clone the repository, install dependencies, configure your GitHub personal access token, and start the server. You can then interact with the GitHub API through the MCP interface.

  • GitHub API integration for seamless repository management. - Comprehensive management of repositories, branches, issues, pull requests, and releases. - Robust validation and error handling mechanisms. - Rate limiting to prevent API exhaustion. - Modular architecture for maintainability and scalability.
  1. Automating repository management tasks for AI assistants.
  2. Integrating GitHub operations into development tools and IDEs.
  3. Enhancing collaboration through automated issue and pull request management.

Add to your AI client

Use these steps to connect GitHub MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "github-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "github-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "github-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "github-mcp-server-cyanheads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "github-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "github-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-server-cyanheads"
      ]
    }
  }
}

FAQ

Can I use GitHub MCP Server with any GitHub account?

Yes! You can use it with any GitHub account as long as you have a personal access token with the required permissions.

Is GitHub MCP Server free to use?

Yes! GitHub MCP Server is open-source and free to use.

What programming language is GitHub MCP Server built with?

GitHub MCP Server is built using TypeScript.