setup-gh-mcp

Automate GitHub MCP server setup for Claude Code and GitHub Copilot CLI.

2|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/gautam-achieveai/ClaudePlugins --skill setup-gh-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-gh-mcp
Source: https://github.com/gautam-achieveai/ClaudePlugins/tree/main/gh/skills/setup-gh-mcp
Command: npx skills add https://github.com/gautam-achieveai/ClaudePlugins --skill setup-gh-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages the complex process of setting up GitHub MCP (Multi-Cloud Provider) configurations for Claude Code and GitHub Copilot CLI in one command.

Core Features & Use Cases

  • Unified Setup: Streamlines the setup of local MCP entrypoints for Claude Code and GitHub Copilot CLI.
  • Config Auto-Discovery: Detects GitHub values like repository and personal access token using environment variables and git remote.
  • Configuration Writing: Writes or updates configuration files for Claude Code and GitHub Copilot CLI, enabling end-to-end integration.

Quick Start

Use the setup-gh-mcp skill to configure your GitHub MCP server automatically.

Frequently Asked Questions about setup-gh-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up GitHub MCP server for Claude Code and GitHub Copilot CLI?

Setting up GitHub MCP server for Claude Code and GitHub Copilot CLI involves resolving repository details, updating configuration files, and enabling project MCP servers. This process is automated by detecting GitHub values from environment variables and git remote to write end-to-end integration configurations.

What GitHub credentials do I need to configure MCP servers for CLI tools?

Configuring MCP servers requires authorization with a GitHub access token, specifically a personal access token. The setup process auto-discovers this token along with repository details using environment variables and git remote information to complete the configuration.

Can I automate GitHub MCP configuration across multiple CLI tools in one command?

Automating GitHub MCP configuration across multiple CLI tools in one command is supported for Claude Code and GitHub Copilot CLI. The setup detects GitHub values automatically, writes or updates configuration files, and enables project MCP servers for both tools simultaneously.

Why does my GitHub MCP setup fail to write configuration files?

GitHub MCP setup may fail to write configuration files if GitHub access token authorization is missing or invalid. The setup requires resolving repository details through environment variables and git remote, so incomplete or incorrect GitHub values will prevent successful configuration file updates.

Does GitHub MCP setup work with both Claude Code and GitHub Copilot CLI?

GitHub MCP setup works with both Claude Code and GitHub Copilot CLI, providing unified setup of local MCP entrypoints. The process writes or updates configuration files for both tools, enabling project MCP servers through auto-discovery of GitHub values.

What environment variables does GitHub MCP setup use for auto-discovery?

GitHub MCP setup uses environment variables to auto-discover GitHub values like repository details and personal access token. Combined with git remote information, these variables enable the configuration writing process to update files for Claude Code and GitHub Copilot CLI without manual input.