MCP.so
Sign In
Servers

GitHub MCP Server

@MCP-Mirror

Mirror of

Overview

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.

Tags

More from Version Control