Easy MCP GitHub Tools Application

by ground-creative

311 downloads
Not rated
GitHub

About

A set of powerful tools designed for seamless integration with GitHub via MCP

Details

Author
ground-creative
Downloads
311
Categories
Developer Tools

- Branch management: create and delete branches in GitHub repositories.
- Issue tracking: create, update, delete issues and manage comments.
- Commit history: fetch detailed commit information and history.
- File management: create, update, delete files and fetch contents/differences.
- Pull requests: create, manage, and merge pull requests.
- Global search: search across GitHub for repositories, issues, and code.
- Release management: retrieve and manage GitHub releases.
- OAuth authentication: secure authentication via GitHub’s OAuth service.

Install by cloning the repository into the easy MCP root folder, install Python dependencies, generate an encryption key, configure environment variables (APP_HOST, DB_PATH, CYPHER), and create a client_credentials.json file with GitHub OAuth credentials. Run the server with python3 run.py -s fastapi. Authenticate by visiting /auth/login and then include the X-ACCESS-TOKEN header in all subsequent requests.

Easy MCP GitHub Tools Application

This is a set of tools for github to be used with easy mcp server.<br>
https://github.com/ground-creative/easy-mcp-python

Key Features

- Branch Management: Easily create and delete branches in your GitHub repositories.
- Issue Tracking: Create, update, and delete issues, as well as manage comments on issues.
- Commit History: Fetch detailed commit information and commit history for any branch in your repository.
- File Management: Create, update, and delete files within your GitHub repositories, including fetching file contents and differences.
- Pull Requests: Create and manage pull requests, including merging them into target branches.
- Global Search: Perform global searches across GitHub for repositories, issues, and code.
- Release Management: Retrieve and manage releases within your GitHub repositories.
- OAuth Authentication: Securely authenticate users using GitHub's OAuth service.

Authentication

This application uses GitHub oAuth service to authenticate the user.<br>
To use this app, you must create an OAuth application on GitHub.

How To Authenticate:

1. Go to auth/login and authenticate

2. Use the paramater X-ACCESS-TOKEN with the request headers when making calls to the server.

Create GitHub Application Instructions

To use this app, you must first create an OAuth application on GitHub. Follow these steps:

1. Go to your GitHub account settings.
2. Navigate to Developer settings > OAuth Apps.
3. Click on New OAuth App.
4. Fill in the required fields:
- Application Name: Choose a name for your application.
- Homepage URL: Enter the main URL of your application (ex: https://mcp.yourdomain.com).
- Authorization callback URL: Set this to http://{Your Host}:{Your Port}/auth/callback.
5. After creating the application, you will receive a Client ID and Client Secret. Keep these credentials safe, as you will need them to add them to the client_credentials.json file.

Installation

1. Clone the repository from the root folder of the easy mcp installation:

git clone https://github.com/ground-creative/easy-mcp-github-tools-python.git app

2. Install requirements:

pip install -r app/requirements.txt

3. Generate encryption key:

python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

4. Add parameters to env file:

``
APP_HOST=Application Host ex:
https://mcp.yourdomain.com`
DB_PATH=storage/sqlite_credentials.db
CYPHER=Your Encryption Key Here

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.