MCP server for managing GitHub repositories, files, and user information

MCP server for managing GitHub repositories, files, and user information

github-mcp-tool•byjalaj-pandey

An MCP server that exposes GitHub tools for fetching user profiles, creating and deleting repositories, and creating, updating, or deleting files through the GitHub API.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Fetches public GitHub user profile information for a given username.
  • •Creates a new public or private repository with a name and description, and can delete a repository by username and repo name.
  • •Creates, updates, and deletes files in a repository, with create content automatically base64 encoded and update/delete requiring the file SHA.
  • •Centralizes GitHub API interactions across GET, POST, PUT, and DELETE, authenticated with a GitHub token and using asynchronous httpx requests.

BEST FOR

  • •Automating GitHub repository creation and deletion through an MCP-connected assistant.
  • •Managing repository file changes, such as adding, updating, or removing files, via MCP tools.
  • •Looking up public GitHub user profile details from an MCP client.

ABOUT GITHUB-MCP-TOOL

MCP server for managing GitHub repositories, files, and user information is cataloged as an MCP server attributed to jalaj-pandey. An MCP server that exposes GitHub tools for fetching user profiles, creating and deleting repositories, and creating, updating, or deleting files through the GitHub API. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for managing GitHub repositories, files, and user information are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the tool authenticate with GitHub?

It reads a GitHub token from a .env file and sets headers including User-Agent, Accept, and Authorization.

Does the tool support deleting a repository?

Yes, the delete_repo tool deletes a repository by username and repo name.

What is required to update a file in a repository?

Updating an existing file requires the file's SHA from GitHub.

Upstream README

View this exact version on GitHub

README.md · 7e9e30f18ca7 · Fetched 2026-11-13 13:26:41 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🚀 MCP Tool for GitHub

Overview

The MCP (Model Context Protocol) Tool helps manage and track model context in GitHub repositories. It allows you to document important details like model versions, datasets, metrics, and training configurations.

📦 Overview

The MCP Tool for GitHub is designed to help manage:

  • Repositories
  • Files (create/update/delete)
  • User information
  • GitHub API requests

✨ Features

🧑‍💻 1. User Info

  • git_info(username: str)
    • Fetch public GitHub user profile information.

📁 2. Repository Management

  • create_repo(repo_name: str, private: bool, description: str)

    • Create a new repository (private/public).
  • delete_repo(username: str, repo_name: str)

    • Delete a repository by username and repo name.

📄 3. File Operations in Repository

  • create_file(...)

    • Add a new file to a repository.
    • Content is automatically base64 encoded.
  • update_file(...)

    • Update an existing file.
    • Requires the file's SHA from GitHub.
  • delete_file(...)

    • Delete a file.
    • Requires SHA and commit message.

🔄 4. Request Utility

  • make_request(...)
    • Handles all API interactions (GET, POST, PUT, DELETE).
    • Authenticated via GitHub Token.
    • Centralized method to perform various actions like:
      • Create repositories
      • Upload/update/delete files
      • Fetch user/repo data

🔐 5. Authentication & Setup

  • Reads GitHub token securely from .env file.
  • Sets proper headers (User-Agent, Accept, Authorization).
  • Fully asynchronous requests using httpx.

🧰 Prerequisites


📁 .env File Format

Create a .env file in the root directory and add:

GITHUB_TOKEN=your_personal_access_token_here

🛠️ Setup & Usage

# Clone the Repo
git clone https://github.com/jalaj-pandey/github-mcp-tool.git

# Change Directory
cd github-mcp-tool

# Initialize virtual environment using uv
uv init
uv venv
.venv/Scripts/activate  # Use `source ./venv/bin/activate` on Unix/Mac

# Add dependencies
uv add mcp[cli] httpx python-dotenv

# Start MCP dev server
mcp dev main.py

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for managing GitHub repositories, files, and user information from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/github-mcp-tool)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools