Github MCP Server

A model context protocol server for GitHub API

Local serverstdio

What is the Github MCP Server?

A model context protocol server for GitHub API

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.

How to install the Github MCP Server

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "github-mcp-server"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_personal_github_access_token"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Github to Tools.”

Frequently asked questions

A GitHub Personal Access Token must be provided via the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable.