Token导航 LogoToken导航TokenDH.com
Git Server Python logo
开发工具未说明官方级别未说明来源级核验

Git Server Python

MCP Server

一个提供Git操作API的简易HTTP服务器,支持克隆、拉取、提交、推送、分支管理及PR创建等功能。

工具数

9

提示词数

0

GitHub Stars

0

资源数

0
版本控制Python开发工具HTTP服务器

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

toanil01

提供方

toanil01

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

MCP-like Git Server (Python)

This project provides a minimal HTTP server exposing endpoints to perform common Git operations using GitPython and GitHub API for PR creation.

Install dependencies:

powershell -Command "python -m pip install -r requirements.txt"

Run server:

powershell -Command "env:PYTHONPATH='.'; uvicorn mcp_server:app --reload --host 127.0.0.1 --port 8000"

Endpoints:

  • POST /clone {repo_url, directory_name}
  • POST /pull (repo_path as form or query)
  • POST /fetch (repo_path)
  • POST /commit {repo_path, message, add_all}
  • POST /push (repo_path, remote_name='origin', branch=None)
  • POST /branch {repo_path, branch_name}
  • POST /pr {repo_owner, repo_name, head, base, title, body}
  • POST /diff {repo_path, base, head}
  • POST /merge {repo_path, source, target}

Notes:

  • This is a simple utility server, not production-ready. Use with care.

目录标签

目录标签

版本控制Python开发工具HTTP服务器Git操作本地部署

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

9

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP