drio
Open app

GitHub MCP Server

Source

Model Context Protocol (MCP) server for GitHub based on mcp-go

Catalog onlyCatalog onlySTDIO

Overview

github-mcp-go is a Model Context Protocol (MCP) server designed for GitHub, built using the mcp-go framework.

To use github-mcp-go, clone the repository from GitHub, set up the necessary environment, and run the server to handle Model Context Protocol requests.

  • Implements the Model Context Protocol for GitHub integration. - Built on the mcp-go framework for efficient handling of requests. - Open-source and customizable for various use cases.
  1. Integrating GitHub with applications that require context-aware interactions.
  2. Enhancing GitHub workflows with automated context management.
  3. Supporting developers in building context-aware tools for GitHub.

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-go-geropl": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-go-geropl"
      ]
    }
  }
}

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-go-geropl": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-go-geropl"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

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-go-geropl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-mcp-go-geropl"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is the Model Context Protocol?

The Model Context Protocol is a specification for managing context in applications, allowing for more intelligent interactions.

Is github-mcp-go free to use?

Yes! github-mcp-go is open-source and free to use.

How can I contribute to github-mcp-go?

You can contribute by submitting issues, pull requests, or suggestions on the GitHub repository.