github-mcp-server-http

chvolkmann/github-mcp-server-http

3.2

If you are the rightful owner of github-mcp-server-http 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.

This document provides a structured overview of a Docker image for running GitHub's MCP server with HTTP and SSE support.

GitHub MCP Server with Streamable HTTP+SSE Support

This is a simple Docker image for providing Github's MCP server over HTTP. Both streamable HTTP and Server-Sent Events (SSE) are supported.

Github's MCP docker image currently only provides stdio transport for MCP, so this image uses mcp-proxy to expose the server over HTTP.

Quickstart

Supply your GITHUB_PERSONAL_ACCESS_TOKEN as an environment variable to the container.

docker-compose.yml

services:
  github-mcp-server:
    image: ghcr.io/chvolkmann/github-mcp-server-http
    ports:
      # run on port 4444
      - 127.0.0.1:4444:8000
    environment:
      # supply in environment or .env
      GITHUB_PERSONAL_ACCESS_TOKEN: ${GITHUB_PERSONAL_ACCESS_TOKEN}
docker compose up -d
# http://localhost:4444/mcp
# http://localhost:4444/sse

or directly

docker run --rm -it -e GITHUB_PERSONAL_ACCESS_TOKEN -p 127.0.0.1:4444:4444 ghcr.io/chvolkmann/github-mcp-server-http

Usage in IDE

Example .vscode/mcp.json:

{
  "servers": {
    "github-mcp": {
      "url": "http://localhost:4444/mcp"
    }
  }
}