drio
Open app

Github MCP Server

Source

A model context protocol server for GitHub API

Catalog onlyCatalog onlySTDIO

Overview

Github MCP Server is a Model Context Protocol server designed to facilitate integration with the GitHub API, enabling large language models (LLMs) to interact with GitHub seamlessly.

To use the Github MCP Server, you need to create a personal access token for your GitHub account, configure the server settings in your local environment, and run the server using the provided commands.

  • Integration with GitHub through Model Context Protocol (MCP) - Tools for searching repositories, issues, commits, code, users, topics, and labels - Ability to list and get details of issues and pull requests from repositories
  1. Automating repository searches and issue tracking in GitHub.
  2. Facilitating LLMs to retrieve and analyze GitHub data.
  3. Enhancing development workflows by integrating GitHub functionalities into applications.

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

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

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is a Model Context Protocol?

MCP is a protocol that allows for structured interactions between models and APIs, enhancing the capabilities of LLMs.

How do I create a personal access token?

You can create a personal access token by following the guide provided in the GitHub documentation.

Is there any cost associated with using Github MCP Server?

No, the Github MCP Server is free to use, but you need a GitHub account to access the API.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1821,"uuid":"7870e0eb-9883-403c-86aa-58dde7e25c31","name":"github-mcp-server","title":"Github MCP Server","description":"A model context protocol server for GitHub API","avatar_url":"https://avatars.githubusercontent.com/u/62164346?v=4","created_at":"2025-03-05T05:33:09.930Z","updated_at":"2025-03-12T10:20:55.427Z","status":"created","author_name":"ParasSolanki","author_avatar_url":"https://avatars.githubusercontent.com/u/62164346?v=4","tags":"typescript,modelcontextprotocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ParasSolanki/github-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"1\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-06 20:58:32\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]