drio
Open app

MCP GitHub API Server

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP GitHub API Server is a server application that interacts with the GitHub API to fetch user repositories and their commits.

To use the MCP GitHub API Server, you need to set it up in your local environment and configure it to connect to the GitHub API. Once set up, you can make requests to fetch repositories and commits.

  • Fetch user repositories from GitHub - Retrieve commits of a specific repository
  1. Developers can use it to analyze their GitHub repositories.
  2. It can be used to create dashboards that display repository statistics.
  3. Useful for integrating GitHub data into other applications.

Add to your AI client

Use these steps to connect MCP GitHub API 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-server-sakshidwivedi017": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-sakshidwivedi017"
      ]
    }
  }
}

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

Claude Code

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

.mcp.json (project root)

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What programming language is used for MCP GitHub API Server?

The server is built using Python.

Is there any authentication required to use the GitHub API?

Yes, you need to authenticate using a GitHub token to access private repositories.

Can I modify the server for my own needs?

Yes, the server is open-source and can be modified as per your requirements.