GitHub MCP Server

by FixingPixels

184 downloads
Not rated
GitHub

Description

# GitHub MCP Server A Model Context Protocol (MCP) server for GitHub repositories, built using the Python SDK. ## Overview This server implements the [Model Context Protocol (MCP)](https://github.com/modelcontextprotocol/mcp) for GitHub repositories, allowing AI assistants to…

About

# GitHub MCP Server A Model Context Protocol (MCP) server for GitHub repositories, built using the Python SDK. ## Overview This server implements the [Model Context Protocol (MCP)](https://github.com/modelcontextprotocol/mcp) for GitHub repositories, allowing AI assistants to access repository context such as files…

Details

Author
FixingPixels
Downloads
184
Categories
Developer Tools

- Access repository files and content
- Retrieve commit history
- Access issues and pull requests
- Secure authentication and access control
- Rate limiting and caching for GitHub API
- Compatible with MCP-enabled AI assistants

Clone the repository, create a virtual environment, install dependencies, and set environment variables with a GitHub API token. Run locally with uvicorn src.mcp_server.main:app --reload or deploy on Heroku.

GitHub MCP Server

A Model Context Protocol (MCP) server for GitHub repositories, built using the Python SDK.

Overview

This server implements the Model Context Protocol (MCP) for GitHub repositories, allowing AI assistants to access repository context such as files, commits, issues, and pull requests. It's built using the MCP Python SDK and designed to be deployed on Heroku.

Features

- Access GitHub repository files and content
- Retrieve commit history
- Access issues and pull requests
- Secure authentication and access control
- Rate limiting and caching for GitHub API
- Compatible with MCP-enabled AI assistants

Requirements

- Python 3.8+
- GitHub API access
- Heroku account (for deployment)

Installation

1. Clone the repository:

   git clone https://github.com/FixingPixels/mcp-server.git
cd mcp-server

2. Create a virtual environment:

   python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate

3. Install dependencies:

   pip install -r requirements.txt

4. Set up environment variables:

   cp .env.example .env
# Edit .env with your GitHub API token and other settings

Usage

Local Development

uvicorn src.mcp_server.main:app --reload

Deployment

This server is designed to be deployed on Heroku. See the deployment documentation for details.

Documentation

- API Documentation
- Configuration Guide
- Deployment Guide
- Troubleshooting

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.