版本控制 · 开发者工具

Project Hub MCP Server logo

Project Hub MCP Server

peterparker57/project-hub-mcp-server

Project Hub MCP Server是一个综合项目管理工具,提供本地Git功能、GitHub集成和项目文档管理,支持从项目创建到代码版本控制的完整工作流。

安装

客户端配置

{
  "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>"
      }
    }
  }
}

环境变量

DEFAULT_PRIVATEDEFAULT_OWNERGITHUB_TOKENGIT_PATH
GitHub 星标
2
分类
版本控制, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(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.

本页信息摘自该项目的 README。 查看 README

相关 MCP 服务器

更多服务器
core logo

core

opensumi/core

3.3k

OpenSumi 是一个帮助快速构建 AI 原生 IDE 产品的框架,支持云端和桌面端开发环境,提供丰富的示例项目和模板。

版本控制
test1 logo

test1

trpc-group/trpc-go

942

每个wiki文件应在.resource目录中存放与其路径对应的额外资源(如图片),并使用git lfs进行版本管理。

版本控制
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

解决Pylance未解析导入警告的文档

版本控制
e2b logo

e2b

e2b-dev/mcp-server

233

项目用于管理代码变更记录

版本控制
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

一个用于读取GitHub仓库结构和重要文件的MCP服务器

版本控制
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

改进版的GitLab MCP服务器,提供丰富的GitLab操作接口和增强功能

版本控制