GitHub MCP Server

Interacts with the GitHub API to fetch user details, repository information, and authenticated user data.

Local serverstdioPython

What is the GitHub MCP Server?

Interacts with the GitHub API to fetch user details, repository information, and authenticated user data.

What the server does

GitHub MCP Server is an API-based tool that interacts with GitHub using the MCP (Modular Command Processor) framework. It provides various functionalities, including fetching user details, repository information, and authenticated user data using GitHub's REST API.

  • 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

Credentials and setup notes

  • Python >=3.10 - GitHub personal access token (for authenticated requests) - conda or venv for virtual environment management

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
my_envpython environment 'my_env'

Configuration

  • Python >=3.10 - GitHub personal access token (for authenticated requests) - conda or venv for virtual environment management
VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use GitHub to my env.”
  • “Use GitHub to Prerequisites.”

Frequently asked questions

The `claude_desktop_config.json` file configures the Claude Desktop Application to use the GitHub MCP Server. It specifies the command and arguments needed to run the MCP server, including the path to the Python environment's `uv` script and the main.py script.