drio
Open app

GitHub MCP (Model Context Protocol) server

Source

This is a GitHub MCP server designed to enable MCP-compatible LLMs, such as Claude, to communicate with my MCP server and interact with the GitHub API.

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP is a server designed to enable Model Context Protocol (MCP) compatible large language models (LLMs), such as Claude, to communicate with the MCP server and interact with the GitHub API.

To use GitHub MCP, clone the repository, install the necessary dependencies, set up your environment variables, and run the server. You can test the server using the MCP inspector or Claude Desktop.

  • Tools for creating issues, retrieving repository information, listing issues, and searching repositories. - Prompts for generating descriptions for issues and pull requests, and enhancing GitHub API responses.
  1. Automating issue creation in GitHub repositories.
  2. Retrieving and displaying repository information programmatically.
  3. Enhancing user interactions with GitHub through LLMs.

Add to your AI client

Use these steps to connect GitHub MCP (Model Context Protocol) 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": {
    "mcp-github-ualusham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-github-ualusham"
      ]
    }
  }
}

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

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What programming language is used?

TypeScript is used for this project.

How can I test the MCP server?

You can test it using the MCP inspector or Claude Desktop.

Do I need a GitHub token?

Yes, a personal access token is required to interact with the GitHub API.