MCP.so
登录

GitHub MCP Server

@melythemev

关于 GitHub MCP Server

This repository provides a robust MCP (Model Context Protocol), A2A server, enabling advanced file operations, repository management, and search. It features modular integrations for token analytics and social sentiment analysis, making it ideal for developers and analysts seekin

基本信息

分类

版本控制

运行时

node

传输方式

stdio

发布者

melythemev

配置

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

{
  "mcpServers": {
    "NexyA2A": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/github",
        "-f",
        "src/github/Dockerfile",
        "."
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is GitHub MCP Server?

MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more. It serves as a bridge between MCP clients and GitHub, allowing automated interactions with repositories, issues, pull requests, and code search.

How to use GitHub MCP Server?

Requires a GitHub Personal Access Token with appropriate permissions. The server can be run via Docker (mcp/github image) or NPX (@modelcontextprotocol/server-github), passing the token as an environment variable. Configure it in your MCP client (e.g., Claude Desktop) as shown in the setup examples.

Key features of GitHub MCP Server

  • Automatic branch creation as needed
  • Comprehensive error handling with clear messages
  • Git history preservation during operations
  • Batch operations for single and multi-file changes
  • Advanced search across code, issues/PRs, and users

Use cases of GitHub MCP Server

  • Automate file operations and repository management via MCP
  • Search code, issues, pull requests, and users programmatically
  • Manage the full lifecycle of GitHub issues and pull requests
  • Perform bulk file updates while maintaining proper Git history

FAQ from GitHub MCP Server

What authentication is required?

A GitHub Personal Access Token must be provided via the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.

How can I run GitHub MCP Server?

You can run it using Docker (docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github) or via NPX (npx -y @modelcontextprotocol/server-github).

Does GitHub MCP Server support batch operations?

Yes, it supports both single and multi-file operations as part of its batch capabilities.

What tools does GitHub MCP Server provide?

Tools are grouped into File & Repo (e.g., create_or_update_file, push_files, create_repository), Search (e.g., search_repositories, search_code), and Issues & PRs (e.g., create_issue, create_pull_request, merge_pull_request) categories.

How does the server handle errors?

It provides comprehensive error handling with clear error messages for common issues.

评论

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