MCP.so
登录

GitHub MCP Server

@MCP-Mirror

关于 GitHub MCP Server

Mirror of

基本信息

分类

版本控制

运行时

python

传输方式

stdio

发布者

MCP-Mirror

配置

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

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

工具

未检测到工具

工具是从 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.

FAQ from GitHub MCP Server

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).

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.

Where is the GitHub token stored?

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

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 服务器