MCP.so
Sign In

GitHub MCP Server

@ds231

Basic information

Category

Version Control

Transports

stdio

Author

ds231

About GitHub MCP Server

everyday series assignment

GitHub MCP Server config

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

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

GitHub MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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.

Frequently asked questions

1

What authentication is required?

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

2

What runtime does the server require?

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

3

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`.

4

How are errors handled?

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

5

Does the server support type hints?

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

Comments

More Version Control MCP servers