MCP.so
登录

GitHub MCP Server

@ds231

基本信息

分类

版本控制

传输方式

stdio

作者

ds231

关于 GitHub MCP Server

everyday series assignment

GitHub MCP Server 配置

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

{
  "mcpServers": {
    "mcp-server-ds231": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

GitHub MCP Server 工具

工具列表暂未提供

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

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

概览

What is GitHub MCP Server?

GitHub MCP Server is a FastAPI server that implements the Model Context Protocol (MCP) for interacting with GitHub. It provides a RESTful API to retrieve repository details, list and create issues, and add comments. It is intended for developers who want to integrate GitHub operations into MCP-compatible applications.

How to use GitHub MCP Server?

Clone the repository, create a virtual environment, install dependencies from requirements.txt, and set a GITHUB_TOKEN in a .env file. Start the server with uvicorn server:app --reload --port 8000. Use the provided HTTP endpoints to interact with GitHub repositories.

Key features of GitHub MCP Server

  • Implements the Model Context Protocol for GitHub interactions.
  • Retrieve repository details by owner and repo name.
  • List issues for a given repository.
  • Create new issues in a repository.
  • Add comments to existing issues.

Use cases of GitHub MCP Server

  • Automate issue tracking from an MCP‑enabled assistant.
  • Integrate GitHub repository data into AI‑powered workflows.
  • Enable conversational creation of issues and comments.

常见问题

1

What authentication is required?

A GitHub Personal Access Token must be provided in a `.env` file as `GITHUB_TOKEN`.

2

What runtime does the server require?

Python 3 with a virtual environment and dependencies from `requirements.txt`. The server runs via Uvicorn.

3

What endpoints are available?

`GET /repository/{owner}/{repo}`, `GET /repository/{owner}/{repo}/issues`, `POST /repository/{owner}/{repo}/issues`, and `POST /repository/{owner}/{repo}/issues/{issue_number}/comments`.

4

How are errors handled?

Comprehensive error handling logs errors and returns appropriate HTTP status codes for all GitHub API interactions.

5

Does the server support type hints?

Yes, the codebase uses type hints throughout for maintainability and IDE support.

评论

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