Exposes GitHub repository actions as OpenAPI endpoints, allowing for listing pull requests and issues, creating new issues, and merging pull requests.
Enables deployment to Google Cloud Run for hosting the MCP server in a cloud environment.
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
Setup & Run Locally
- Clone the repo:
- Create a virtual environment:
- Activate your environment:
- Install dependencies:
- Create a
.env
file with your GitHub token: - Run the server locally:
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
This server cannot be installed
Exposes GitHub repository actions (listing PRs/issues, creating issues, merging PRs) as OpenAPI endpoints using FastAPI, designed for LLM agent orchestration frameworks.
Related MCP Servers
- AsecurityAlicenseAqualityEnables LLMs to interact with GitHub issues by providing details as tasks, allowing for seamless integration and task management through GitHub's platform.Last updated -127613JavaScriptMIT License
- -securityFlicense-qualityEnables 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 -91TypeScript
- AsecurityFlicenseAqualityAn 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 -9237TypeScript
- -securityAlicense-qualityA 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 -8TypeScriptApache 2.0