Skip to main content
Glama
keyona-rerev

GitHub MCP Server

by keyona-rerev

GitHub MCP Server

A self-hosted MCP server that gives Claude access to your GitHub account — read files, browse repos, commit changes, and manage issues and pull requests, all from a conversation.

You deploy it to your own Railway account under your own GitHub token, so your code and credentials stay yours.

Setup

SETUP.md — full walkthrough, about 15 minutes.

Short version:

  1. Create a fine-grained GitHub personal access token

  2. Fork this repo

  3. Generate an auth token (openssl rand -hex 32)

  4. Deploy to Railway with both tokens as variables

  5. Add https://your-app.up.railway.app/mcp?key=your-auth-token as a custom connector in Claude

Related MCP server: Codelens-MCP

What Claude can do once it's connected

  • Read any file, directory, or full file tree in your repos

  • Create and update files with real commits

  • List and search repos, commits, and branches

  • Create, read, update, and comment on issues

  • List, read, and merge pull requests

  • Search code, repos, and issues across your account

Security

The /mcp endpoint requires a shared secret passed as ?key=. Without it, requests are rejected with 403 Forbidden. The server will not start at all unless MCP_AUTH_TOKEN is set, so it can never run unprotected.

Generate your own auth token. Do not reuse one from another deployment. Your Railway URL is public, and this server holds a GitHub token with write access to your repos — the auth token is the only thing standing between that and anyone who happens to have your URL.

/health is intentionally open so Railway's healthcheck can reach it. It exposes no data and runs no tools.

Requirements

  • A GitHub account

  • A Railway account (the free tier is enough to start)

  • A Claude plan that supports custom connectors

Stack

TypeScript, Express, and the official MCP SDK over streamable HTTP. Deployed via Dockerfile; Railway config is in railway.toml.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/keyona-rerev/founder-fork-github-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server