GitHub-MCP-Server-Claude

DivyanshKushwaha/GitHub-MCP-Server-Claude

3.1

If you are the rightful owner of GitHub-MCP-Server-Claude and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

GitHub MCP Server is an API-based tool that interacts with GitHub using the MCP framework.

GitHub MCP Server is a Python-based tool that leverages the Modular Command Processor (MCP) framework to interact with GitHub's REST API. It allows users to fetch various types of information from GitHub, such as user details, repository information, and authenticated user data. The server is built using asynchronous API calls facilitated by the `httpx` library and ensures secure handling of authentication tokens through the `dotenv` package. The project is structured to include core logic in `main.py`, environment variables in `.env`, and configuration settings in `claude_desktop_config.json`. It requires Python 3.10 or higher and a GitHub personal access token for authenticated requests. The server is designed to be modular and extendable, making it a versatile tool for developers working with GitHub data.

Features

  • Fetch GitHub user information by username.
  • Retrieve details of a GitHub repository.
  • Get authenticated user details using a GitHub personal access token.
  • Utilizes `FastMCP` for modular command processing.

Usages

usage with Claude Desktop

{
    "mcpServers": {
        "MCP_Server": {
            "command": "my_env/Scripts/uv",
            "args": [
                "run",
                "D:/MCP_Project/main.py"
            ]
        }
    }
}