MCP.so
登录

GitMCP - GitHub MCP Server

@ProCreations-Official

基本信息

分类

版本控制

传输方式

stdio

作者

ProCreations-Official

关于 GitMCP - GitHub MCP Server

A Model Context Protocol (MCP) server that provides GitHub integration for AI assistants like Claude. Now supports Anthropic Integrations for remote connectivity!

GitMCP - GitHub MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gitmcp": {
      "command": "python",
      "args": [
        "gitmcp.py"
      ]
    }
  }
}

GitMCP - GitHub MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GitMCP - GitHub MCP Server?

GitMCP - GitHub MCP Server is a Model Context Protocol (MCP) server that provides comprehensive GitHub integration for AI assistants like Claude, enabling seamless repository management, code browsing, and collaborative workflows.

How to use GitMCP - GitHub MCP Server?

Install Python 3.8+, then pip install fastmcp PyGithub. Download or clone the gitmcp.py script. Obtain a GitHub Personal Access Token with repo, user, and optionally delete_repo scopes. Configure your AI client (Claude Desktop, VS Code, or Cursor) to use python with the script path and GITHUB_TOKEN environment variable. Start the server and interact through your assistant.

Key features of GitMCP - GitHub MCP Server

  • Repository management (create, list, delete)
  • File and folder operations with batch commits
  • Branch management and code search
  • Smart forking and cross‑repo pull requests
  • Complete fork‑to‑PR contribution workflow
  • PR collaboration (reviews, comments, auto‑merge)
  • Full GitHub Issues management (create, update, close, labels, assignments, comments)

Use cases of GitMCP - GitHub MCP Server

  • Fork a repository, create a feature branch, make changes, and submit a pull request in one command.
  • Fix a typo in an open‑source README with the complete workflow handled automatically.
  • Review a pull request, submit approval, and request additional reviewers.
  • Create and manage issues with labels, assignments, and milestones.
  • Search for code across repositories and batch update or delete files.

常见问题

1

What is the Model Context Protocol (MCP)?

MCP is an open standard developed by Anthropic that enables AI assistants to connect securely with external data sources and tools, described as "USB‑C for AI applications."

2

What are the prerequisites for running GitMCP?

Python 3.8+, pip with `fastmcp` and `PyGithub` packages, and a GitHub Personal Access Token with at least `repo` and `user` scopes.

3

How do I configure GitMCP with Claude Desktop?

Add an entry to `claude_desktop_config.json` with the command `python`, the script path, and the environment variable `GITHUB_TOKEN` set to your token.

4

Does GitMCP handle existing forks gracefully?

Yes, the server includes intelligent error handling that avoids "fork already exists" errors and works even if the branch already exists.

5

Can GitMCP manage GitHub Issues?

Yes, it provides full issue management: create, update, close, comment, label, assign, and search issues with advanced filters.

评论

版本控制 分类下的更多 MCP 服务器