Version Control · Developer Tools

Project Hub MCP Server logo

Project Hub MCP Server

peterparker57/project-hub-mcp-server

An MCP server providing comprehensive project management, local Git functionality, and GitHub integration capabilities. This server enables managing local projects, tracking changes, creating local commits, and synchronizing with GitHub repositories.

Install

Client configuration

{
  "mcpServers": {
    "project-hub": {
      "command": "node",
      "args": [
        "<value>"
      ],
      "env": {
        "NODE_ENV": "<NODE_ENV>",
        "DEFAULT_PRIVATE": "<DEFAULT_PRIVATE>",
        "DEFAULT_OWNER": "<DEFAULT_OWNER>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>",
        "GIT_PATH": "<GIT_PATH>"
      }
    }
  }
}

Environment variables

DEFAULT_PRIVATEDEFAULT_OWNERGITHUB_TOKENGIT_PATH
GitHub stars
2
Category
Version Control, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Project creation and management with flexible, case-insensitive, partial name search

  • Source file scanning and monitoring with customizable exclusion patterns

  • Project metadata tracking and updates

  • Local commit creation and management without requiring GitHub

  • Branch management (create, switch, list)

  • File snapshots with metadata (size, creation time, modification time)

  • Restore functionality to revert to previous commits or branches

  • Clone functionality to create new instances from commits or branches

  • Record and track changes with associated files

  • Categorize changes by type (feature, fix, refactor, etc.)

Tools (40)

  • create_project

    Create a new project with local and remote repository management.

  • find_project

    Find a project by name (flexible, case-insensitive, partial match).

  • list_projects

    List all projects with optional filtering.

  • update_project_details

    Update details of an existing project.

  • delete_project

    Delete a project.

  • scan_project_files

    Scan a project directory for source files and update the project record.

  • projectdb_location

    Get the full path of the project database location.

  • record_change

    Record a change in a project.

  • get_pending_changes

    Get pending changes for a project.

  • clear_committed_changes

    Clear committed changes for a project.

  • init_local_repository

    Initialize a local Git repository for a project.

  • create_local_commit

    Create a local commit from pending changes.

  • get_local_commit_history

    Get local commit history for a project.

  • create_local_branch

    Create a new local branch.

  • switch_local_branch

    Switch to a different local branch.

  • list_local_branches

    List all local branches for a project.

  • restore_to_local_commit

    Restore project files to a specific local commit.

  • restore_to_local_branch

    Restore project files to a specific local branch.

  • restore_local_commit_to_new_location

    Restore a specific local commit to a new folder location.

  • restore_local_branch_to_new_location

    Restore a specific local branch to a new folder location.

  • push_local_commits

    Push local commits to GitHub.

  • force_local_commit

    Force a local commit of all files in the project, regardless of pending changes.

  • cleanup_project_files

    Removes records of non-existent files from the Project Hub data for a project.

  • get_file_snapshots

    Get file snapshots for a commit.

  • get_file_snapshots_metadata

    Get file snapshots metadata for a commit (without file content).

  • get_file_content

    Get file content for a snapshot.

  • create_note

    Create a new note for a project.

  • update_note

    Update an existing note.

  • delete_note

    Delete a note.

  • search_notes

    Search notes in a project.

  • create_repository

    Create a new GitHub repository.

  • get_repository

    Get detailed information about a specific repository.

  • update_repository

    Update repository settings.

  • delete_repository

    Delete a GitHub repository.

  • rename_repository

    Rename a GitHub repository.

  • list_repositories

    List all repositories for the authenticated user.

  • fork_repository

    Create a fork of an existing repository.

  • transfer_repository

    Transfer repository ownership.

  • clone_repository

    Clone a repository to a specified folder.

  • get_file

    Get file content from a GitHub repository.

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control