MCP.so
Sign In

GitHub MCP Server

@ds231

About GitHub MCP Server

everyday series assignment

Basic information

Category

Version Control

Runtime

python

Transports

stdio

Publisher

ds231

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-ds231": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is GitHub MCP Server?

GitHub MCP Server is a FastAPI server that implements the Model Context Protocol (MCP) for interacting with GitHub. It provides a RESTful API to retrieve repository details, list and create issues, and add comments. It is intended for developers who want to integrate GitHub operations into MCP-compatible applications.

How to use GitHub MCP Server?

Clone the repository, create a virtual environment, install dependencies from requirements.txt, and set a GITHUB_TOKEN in a .env file. Start the server with uvicorn server:app --reload --port 8000. Use the provided HTTP endpoints to interact with GitHub repositories.

Key features of GitHub MCP Server

  • Implements the Model Context Protocol for GitHub interactions.
  • Retrieve repository details by owner and repo name.
  • List issues for a given repository.
  • Create new issues in a repository.
  • Add comments to existing issues.

Use cases of GitHub MCP Server

  • Automate issue tracking from an MCP‑enabled assistant.
  • Integrate GitHub repository data into AI‑powered workflows.
  • Enable conversational creation of issues and comments.

FAQ from GitHub MCP Server

What authentication is required?

A GitHub Personal Access Token must be provided in a .env file as GITHUB_TOKEN.

What runtime does the server require?

Python 3 with a virtual environment and dependencies from requirements.txt. The server runs via Uvicorn.

What endpoints are available?

GET /repository/{owner}/{repo}, GET /repository/{owner}/{repo}/issues, POST /repository/{owner}/{repo}/issues, and POST /repository/{owner}/{repo}/issues/{issue_number}/comments.

How are errors handled?

Comprehensive error handling logs errors and returns appropriate HTTP status codes for all GitHub API interactions.

Does the server support type hints?

Yes, the codebase uses type hints throughout for maintainability and IDE support.

Comments

More Version Control MCP servers