github-mcp

github-mcp

An MCP server providing 1,112 tools for the GitHub REST API across all 44 API categories. It enables comprehensive GitHub operations through Claude with typed validation and category filtering.

Category
Visit Server

README

github-mcp

MCP server for the GitHub REST API — 1,112 tools covering all 44 API categories.

Auto-generated from GitHub's OpenAPI spec using a code generator that produces typed tool definitions with Zod validation.

Installation

npm install github-rest-mcp

Or from GitHub Packages:

npm install @eyalm321/github-mcp

Configuration

Set your GitHub Personal Access Token:

export GITHUB_TOKEN=ghp_your_token_here

Category Filter

By default all 1,112 tools are registered. To enable only specific categories:

export GITHUB_MCP_CATEGORIES=repos,issues,pulls,actions

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "github-rest-mcp"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token_here",
        "GITHUB_MCP_CATEGORIES": "repos,issues,pulls,actions,users,orgs,git,search"
      }
    }
  }
}

API Categories

Category Tools Category Tools
actions 184 activity 32
agent-tasks 5 apps 37
billing 10 campaigns 5
checks 12 classroom 6
code-scanning 21 code-security 20
codes-of-conduct 2 codespaces 48
copilot 25 credentials 1
dependabot 22 dependency-graph 3
emojis 1 enterprise-team-memberships 6
enterprise-team-organizations 6 enterprise-teams 5
gists 20 git 13
gitignore 2 hosted-compute 6
interactions 9 issues 55
licenses 3 markdown 2
meta 5 migrations 22
oidc 8 orgs 108
packages 27 private-registries 6
projects 26 pulls 27
rate-limit 1 reactions 15
repos 201 search 7
secret-scanning 9 security-advisories 10
teams 32 users 47

Tool Naming

Tools follow the pattern github_{category}_{action}, derived from GitHub's operation IDs:

  • github_repos_get — Get a repository
  • github_issues_create — Create an issue
  • github_pulls_list — List pull requests
  • github_actions_list_workflow_runs — List workflow runs

Development

# Install dependencies
npm install

# Regenerate tools from OpenAPI spec
npm run generate

# Build
npm run build

# Run tests
npm test

# Start the server
npm start

Regenerating Tools

The tool files in src/tools/ are auto-generated from GitHub's OpenAPI spec. To update:

# Delete cached spec to force re-download
rm -f api-description.json

# Regenerate
npm run generate

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured