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

$150K MiniMax AI Agent Challenge β€” Build Smarter, Remix Bolder, Win Bigger!

Join the MiniMax AI Agent Challenge β€” Build your first AI Agent πŸ€–

Developers, innovators, and AI tinkerers, build your AI Agent and win $150,000 in cash. πŸ’°

Read more β†’

Top comments (0)

Sentry blog image

Build, Ship, See It All: MCP Monitoring with Sentry

Built an MCP server? Now see everything it does. Sentry’s MCP Server Monitoring tracks every client, tool, and request so you can fix issues fast and build with confidence.

Read more

πŸ‘‹ Kindness is contagious

Dive into this thoughtful piece, beloved in the supportive DEV Community. Coders of every background are invited to share and elevate our collective know-how.

A sincere "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