drio
Open app

GitHub MCP Server

Source

github-mcp-server

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with GitHub repositories, issues, and pull requests.

To use the GitHub MCP Server, clone the repository, install the dependencies, set up your GitHub API token, and run the server. You can then access various endpoints to interact with GitHub data.

  • Repository Search: Find GitHub repositories based on search queries. - Issue Management: Get, create, and comment on issues. - Pull Request Handling: View and manage pull requests. - Repository Analysis: Get statistics and insights about repositories.
  1. Automating issue management for GitHub projects.
  2. Integrating AI assistants to provide insights on repository statistics.
  3. Facilitating repository searches for developers using AI.

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

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

Claude Code

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

.mcp.json (project root)

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can I use this server without a GitHub API token?

No, a GitHub API token is required for authentication.

Is the server open-source?

Yes, the GitHub MCP Server is open-source and available on GitHub.

How can I extend the server's functionality?

You can extend the server by adding new endpoints and implementing corresponding handler functions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2853,"uuid":"d278d1b9-0351-4274-93f1-86809931bc02","name":"GITHUB-SERVER","title":"GitHub MCP Server","description":"github-mcp-server","avatar_url":"https://avatars.githubusercontent.com/u/171959260?v=4","created_at":"2025-03-15T10:01:48.148Z","updated_at":"2025-03-15T10:13:19.379Z","status":"created","author_name":"Jehan26","author_avatar_url":"https://avatars.githubusercontent.com/u/171959260?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/Jehan26/GITHUB-SERVER","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":null,\"is_official\":false,\"latest_commit_time\":\"2025-03-15 15:16:55\"}","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"}]]}]