drio
Open app

GitHub MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP Server is a Model Context Protocol (MCP) server designed for GitHub repositories, enabling AI assistants to access repository context such as files, commits, issues, and pull requests. It is built using the Python SDK and can be deployed on Heroku.

To use the GitHub MCP Server, clone the repository, set up a virtual environment, install the required dependencies, and configure your GitHub API token. You can run the server locally for development or deploy it on Heroku for production use.

  • Access to GitHub repository files and content - Retrieval of commit history - Access to issues and pull requests - Secure authentication and access control - Rate limiting and caching for GitHub API - Compatibility with MCP-enabled AI assistants
  1. Integrating AI assistants with GitHub repositories for enhanced context awareness.
  2. Automating the retrieval of repository data for analysis and reporting.
  3. Enabling AI-driven tools to interact with GitHub issues and pull requests.

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

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

Claude Code

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

.mcp.json (project root)

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is the Model Context Protocol (MCP)?

MCP is a protocol that allows AI assistants to access and understand the context of software repositories.

Is GitHub MCP Server free to use?

Yes! The server is open-source and can be used freely under the MIT License.

What are the requirements to run GitHub MCP Server?

You need Python 3.8+, GitHub API access, and a Heroku account for deployment.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2190,"uuid":"eb63dd2d-4efb-4502-afef-062441320d77","name":"mcp-server","title":"GitHub MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/111709329?v=4","created_at":"2025-03-09T04:00:00.592Z","updated_at":"2025-03-12T10:19:33.317Z","status":"created","author_name":"FixingPixels","author_avatar_url":"https://avatars.githubusercontent.com/u/111709329?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/FixingPixels/mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-07 16:42:18\"}","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"}]]}]

GitHub MCP Server — MCP Registry