github-mcp-server

Connects AI agents to GitHub for repository, issue, PR, and Actions management.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill github-mcp-server-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-mcp-server
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/github-mcp-server
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill github-mcp-server-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interacting with GitHub repositories, issues, pull requests, and CI/CD pipelines normally requires switching between the web UI, CLI, and API docs. This Skill connects your AI assistant directly to GitHub's official MCP server so you can manage repositories and automate workflows through natural language. ## Core Features & Use Cases - Repository & Code Operations: Browse files, search code, analyze commits, and inspect project structure across repositories. - Issue & PR Automation: Create, update, review, and merge issues and pull requests, including automated triage and labeling. - CI/CD Monitoring: Inspect GitHub Actions workflows, diagnose build failures, trigger deployments, and review Dependabot security alerts. - Use Case: Ask your AI assistant why the latest build failed in your repository, then have it create an issue with the failure analysis and assign it to the right teammate. ## Quick Start Configure the remote server URL https://api.githubcopilot.com/mcp/ with a GitHub personal access token in your MCP host, then ask the assistant to list open issues in one of your repositories.

Frequently Asked Questions about github-mcp-server

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

FAQPage Schema
How do I set up the GitHub MCP server in VS Code?▼

Add a server entry pointing to https://api.githubcopilot.com/mcp/ in your VS Code MCP configuration, using OAuth or a GitHub personal access token in the Authorization header. VS Code version 1.101 or later is required, and Agent mode must be enabled in Copilot Chat.

What can the GitHub MCP server do with repositories?▼

It can browse and search code, read file contents, analyze commits, manage issues and pull requests, monitor GitHub Actions workflows, and review Dependabot alerts. Available operations depend on which toolsets you enable, such as repos, issues, pulls, actions, and search.

Does the GitHub MCP server work with GitHub Enterprise?▼

Yes, it supports both GitHub Enterprise Cloud via the ghe.com endpoint and self-hosted GitHub Enterprise Server. For Enterprise Server, run the Docker image locally and set the GITHUB_HOST environment variable to your instance URL including the https scheme.

Why am I getting 401 or 403 errors with the GitHub MCP server?▼

A 401 error means your personal access token is invalid or not being passed correctly, so verify the token and environment variable. A 403 error usually means missing scopes like repo, or that SSO authorization is required for organization resources.

How do I limit which GitHub API tools are available?▼

Set the X-GitHub-MCP-Toolsets header with a comma-separated list such as repos,issues,pulls to restrict available tools. When not specified, the default toolset includes repos, issues, pulls, actions, and search.