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.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

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.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7e9e30f18ca7 · 采集于 2026-11-13 13:26:41 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

🚀 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.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

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