---
title: "Deploy GitHub MCP Server"
description: "Official GitHub MCP server over HTTP; clients bring their own token"
category: "AI/ML"
url: https://railway.com/deploy/github-mcp-server
---

# Deploy GitHub MCP Server

Official GitHub MCP server over HTTP; clients bring their own token

**[Deploy GitHub MCP Server on Railway](https://railway.com/template/github-mcp-server)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/github-mcp-server/manifest.json

- **Creator:** zer0person's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### GitHub MCP Server

- **Image:** ghcr.io/github/github-mcp-server:latest
- **Start command:** `/server/github-mcp-server http --port 8082`
- **Public domain:** Yes

## Documentation

# Deploy and Host GitHub MCP Server on Railway

[GitHub MCP Server](https://github.com/github/github-mcp-server) is GitHub's official Model Context Protocol server. It lets AI assistants and agents read repositories, issues and pull requests, search code and manage workflows through GitHub's API.

## About Hosting GitHub MCP Server

This template runs the official `ghcr.io/github/github-mcp-server` image in its streamable HTTP mode (`github-mcp-server http`) on port 8082. The server stores nothing and holds no GitHub credentials: every client sends its own GitHub token in the `Authorization: Bearer ` header, so it is never an open door to your account. Point an MCP client at `https:///` (also `/readonly` for read-only tools and `/x/` to expose a single toolset). The root URL has no web page; `/.well-known/oauth-protected-resource` returns metadata and is used as the health check.

## Common Use Cases

- Give a remote MCP client (Claude, Cursor, VS Code, custom agents) access to GitHub without running a local process
- Share one hosted endpoint with a team, each member using their own token
- Restrict agents to read-only or specific toolsets using the URL path

## Dependencies for GitHub MCP Server Hosting

- One service; nothing else (no volume, no database)

### Deployment Dependencies

- [GitHub MCP Server on GitHub](https://github.com/github/github-mcp-server)
- [Container image](https://github.com/github/github-mcp-server/pkgs/container/github-mcp-server)

## Why Deploy GitHub MCP Server on Railway?

Railway gives you a public HTTPS URL and automatic restarts for a small stateless service, so MCP clients can reach GitHub from anywhere without a local install.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius v0.1 Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/github-mcp-server
