drio
Open app

GitHub MCP Server Integration

Source

Catalog onlyCatalog onlySTDIO

Overview

GitHub MCP Server Integration is a project that demonstrates a Model Context Protocol (MCP) Server that integrates with the GitHub API, allowing AI Assistants like Claude or OpenAI GPT to interact with GitHub using MCP.

To use the GitHub MCP Server, deploy it on Railway, set up your GitHub Personal Access Token (PAT), and interact with the API endpoints using natural language prompts through AI Assistants.

  • MCP-compliant server with OpenAPI documentation. - Secure interaction with GitHub using a personal access token. - AI Assistants can fetch user details, list repositories, and create issues on repositories.
  1. Fetching GitHub user profile information.
  2. Listing repositories for a specific user.
  3. Creating issues in GitHub repositories through AI prompts.

Add to your AI client

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

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

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

How do I authenticate with GitHub?

You need to use a GitHub Personal Access Token (PAT) with `repo` permissions.

Can I deploy this server locally?

Yes! You can run the FastAPI server locally after setting up the required dependencies and environment variables.

What programming language is used for this project?

The project is built using Python with the FastAPI framework.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2977,"uuid":"fb06b7ec-78f7-4399-9660-6cb07ff91da5","name":"github-mcp-server","title":"GitHub MCP Server Integration","description":"","avatar_url":"https://avatars.githubusercontent.com/u/142078269?v=4","created_at":"2025-03-16T09:47:06.490Z","updated_at":"2025-03-16T09:56:04.252Z","status":"created","author_name":"faheema15","author_avatar_url":"https://avatars.githubusercontent.com/u/142078269?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/faheema15/github-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-16 14:25:43\"}","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"}]]}]