Skip to content

Conversation

karanb192
Copy link

@karanb192 karanb192 commented Sep 25, 2025

Summary

This PR adds documentation for using the GitHub MCP server with Claude Desktop via the remote setup method (npx mcp-remote), which is simpler and more reliable than the Docker-based approach.

Motivation

Currently, the Claude Desktop documentation only shows the Docker-based setup, which:

  • Requires Docker installation and configuration
  • Has reported compatibility issues with some users
  • Is more complex than necessary

The remote setup method using npx mcp-remote is already documented for Claude Code but was missing for Claude Desktop. I've personally tested this configuration and it works seamlessly.

Changes

  • Added Remote Server Setup as the recommended method for Claude Desktop
  • Uses npx mcp-remote with the GitHub API endpoint - no Docker required
  • Moved Docker setup to "Alternative Method" section with existing compatibility warning
  • Updated prerequisites to clarify requirements (Docker for local, npm for remote)
  • Enhanced troubleshooting section with remote-specific guidance

Configuration Added

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.githubcopilot.com/mcp",
        "--header",
        "Authorization: Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
      }
    }
  }
}

This makes it significantly easier for Claude Desktop users to connect to the GitHub MCP server without needing Docker installation.

@karanb192 karanb192 requested a review from a team as a code owner September 25, 2025 06:20
- Added npx mcp-remote configuration as recommended method for Claude Desktop
- No Docker required for remote setup - simpler and more reliable
- Uses environment variable format for secure token storage
- Moved Docker setup as alternative method with existing compatibility warning
- Updated prerequisites to clarify Docker vs npm requirements
- Enhanced troubleshooting section for remote server issues
- Standardized GitHub API URL format across documentation

This makes it significantly easier for Claude Desktop users to connect to the GitHub MCP server without needing Docker installation.
@karanb192 karanb192 force-pushed the add-claude-desktop-remote-setup branch from cc15cc8 to e896408 Compare September 27, 2025 03:21
@karanb192
Copy link
Author

@almaleksia @tommaso-moro @tonytrg @LuluBeatson can you please review my PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant