DEV Community

Cover image for How to setup an official GitHub MCP Server without Docker nor Installing
Satoshi Ebisawa
Satoshi Ebisawa

Posted on

2

How to setup an official GitHub MCP Server without Docker nor Installing

GitHub offers an official GitHub MCP Server that enhances AI assistants with GitHub capabilities:
https://github.com/github/github-mcp-server

While the official installation process recommends Docker, you don't actually need it.

If you're familiar with other MCPs, you know the npx or uvx approach that doesn't require Docker or installation.

You can use github-mcp-server in the same way.

Quick Setup (Example for Claude Desktop)

"github": {
  "command": "/Users/satoshi/.local/share/mise/shims/go",
  "args": [
    "run",
    "github.com/github/github-mcp-server/cmd/github-mcp-server@latest",
    "stdio",
    "--dynamic-toolsets"
  ],
  "env": {
    "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR PAT>",
    "HOME": "/Users/satoshi"
  }
}
Enter fullscreen mode Exit fullscreen mode

Important notes:

  • In command, enter your full path to the Go executable (find it with which go)
  • go run compiles and runs Go programs without an explicit "Install" process (similar to npx or uvx)
  • The HOME environment variable is required specifically for Claude Desktop
  • You'll need a GitHub Personal Access Token with appropriate permissions

DevCycle image

OpenFeature Multi-Provider: Enabling New Feature Flagging Use-Cases

DevCycle is the first feature management platform with OpenFeature built in. We pair the reliability, scalability, and security of a managed service with freedom from vendor lock-in, helping developers ship faster with true OpenFeature-native feature flagging.

Watch Full Video 🎥

Top comments (0)

Runner H image

Automate Your Workflow in Slack, Gmail, Notion & more

Runner H connects to your favorite tools and handles repetitive tasks for you. Save hours daily. Try it free while it’s in beta.

Try for Free

👋 Kindness is contagious

Take a moment to explore this thoughtful article, beloved by the supportive DEV Community. Coders of every background are invited to share and elevate our collective know-how.

A heartfelt "thank you" can brighten someone's day—leave your appreciation below!

On DEV, sharing knowledge smooths our journey and tightens our community bonds. Enjoyed this? A quick thank you to the author is hugely appreciated.

Okay