Skip to main content
Glama

GitHub MCP Server

by ShyaM-SqS
  • Linux
  • Apple

MCP: GitHub MCP Server

This project exposes GitHub repository actions (like listing PRs, issues, creating issues, and merging PRs) as OpenAPI endpoints using FastAPI.
It is designed to be deployed as a Managed Control Plane (MCP) server for use with an LLM agent orchestration framework.


Features

  • List open pull requests for a repo
  • List open issues
  • Create new issues
  • Merge pull requests

Tech Stack

  • Python 3.12
  • FastAPI
  • Docker
  • Google Cloud Run
  • GitHub REST API

Project Structure

MCP/ ├── server.py ├── requirements.txt ├── Dockerfile ├── .gitignore ├── .env (NOT committed, use Cloud Run env vars)

Setup & Run Locally

  1. Clone the repo:
    git clone https://github.com/ShyaM-SqS/MCP.git cd MCP
  2. Create a virtual environment:
    python -m venv .venv
  3. Activate your environment:
    # Windows PowerShell .venv\Scripts\Activate # Or on Mac/Linux source .venv/bin/activate
  4. Install dependencies:
    pip install -r requirements.txt
  5. Create a .env file with your GitHub token:
    GITHUB_TOKEN=<your_personal_access_token>
  6. Run the server locally:
    uvicorn server:app --reload --host 0.0.0.0 --port 8080

Deployment

  • Build and push your container image to Artifact Registry, Docker Hub, or Cloud Build.
  • Deploy to Google Cloud Run.
  • Pass GITHUB_TOKEN securely as an environment variable in your Cloud Run service configuration.

License

Apache 2.0

-
security - not tested
F
license - not found
-
quality - not tested

Exposes GitHub repository actions (listing PRs/issues, creating issues, merging PRs) as OpenAPI endpoints using FastAPI, designed for LLM agent orchestration frameworks.

  1. Features
    1. Tech Stack
      1. Project Structure
        1. Setup & Run Locally
          1. Deployment
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables LLMs to interact with GitHub issues by providing details as tasks, allowing for seamless integration and task management through GitHub's platform.
                Last updated -
                1
                276
                13
                JavaScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                Enables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.
                Last updated -
                9
                1
                TypeScript
              • A
                security
                F
                license
                A
                quality
                An MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.
                Last updated -
                9
                2
                37
                TypeScript
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables LLM agents to manage GitHub repositories, issues, pull requests, branches, files, and releases through a standardized interface.
                Last updated -
                8
                TypeScript
                Apache 2.0

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/ShyaM-SqS/MCP'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server