MCP.so
登录

GitHub MCP Server

@MCP-Mirror

基本信息

分类

版本控制

传输方式

stdio

作者

MCP-Mirror

关于 GitHub MCP Server

Mirror of

GitHub MCP Server 配置

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

{
  "mcpServers": {
    "DivyanshKushwaha_GitHub-MCP-Server-Claude": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

GitHub MCP Server 工具

工具列表暂未提供

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

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

概览

What is GitHub MCP Server?

GitHub MCP Server is an API-based tool that integrates with GitHub using the MCP (Modular Command Processor) framework and the GitHub REST API. It provides functionalities like fetching user details, repository information, and authenticated user data, and is designed to work with the Claude Desktop application.

How to use GitHub MCP Server?

Clone the repository, create a Python virtual environment (Python >=3.10), install dependencies from requirements.txt, set the GITHUB_TOKEN environment variable in a .env file, and configure claude_desktop_config.json with the path to the uv script and the main.py file. Then launch the Claude Desktop Application to use the server.

Key features of GitHub MCP Server

  • Fetch GitHub user information by username.
  • Retrieve details of a GitHub repository.
  • Get authenticated user details using a personal access token.
  • Uses FastMCP for modular command processing.
  • Built with Python and httpx for async API calls.

Use cases of GitHub MCP Server

  • Retrieve a GitHub user's public profile information by their username.
  • Get detailed information about a specific GitHub repository.
  • Access the authenticated user's own GitHub account details via a personal access token.
  • Integrate with Claude Desktop to fetch GitHub data through MCP commands.

常见问题

1

What dependencies does GitHub MCP Server require?

It requires Python >=3.10, a GitHub personal access token, and the packages listed in `requirements.txt` (including `httpx` and `python-dotenv`).

2

How do I configure GitHub MCP Server for Claude Desktop?

Create or edit `claude_desktop_config.json` with the path to the `uv` script and the `main.py` file, as shown in the setup instructions.

3

Where is the GitHub token stored?

The token is stored in a `.env` file as the `GITHUB_TOKEN` environment variable.

4

How is GitHub MCP Server invoked?

It is launched by the Claude Desktop application using the configuration in `claude_desktop_config.json`, which specifies the `uv` command to run `main.py`.

评论

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