Self-hosted GitHub MCP server
Self-hosted GitHub MCP server. PAT auth, stdio transport, transport-agnostic so it works…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 4 days ago
About Self-hosted GitHub MCP server
Self-hosted GitHub MCP server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Self-hosted GitHub MCP server. PAT auth, stdio transport, transport-agnostic so it works with…
Install
Run in a terminal
claude mcp add github-mcp --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpbAdd to claude_desktop_config.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"github-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Configuration
GITHUB_TOKENClassic or fine-grained PAT with repo + workflow scopesRequired
Pricing
Open source
Self-hosted GitHub MCP server FAQ
Is Self-hosted GitHub MCP server free?
Yes. Self-hosted GitHub MCP server is open source, so you can use and self-host it for free.
How do I add Self-hosted GitHub MCP server to Claude Code?
Run this command in your terminal: claude mcp add github-mcp --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y https://github.com/adelaidasofia/github-mcp/releases/download/v0.1.0/github-mcp.mcpb
What are the best alternatives to Self-hosted GitHub MCP server?
The closest alternatives to Self-hosted GitHub MCP server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Self-hosted GitHub MCP server

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools