Skip to main content
Glama

github-mcp

MCP-Server für die GitHub REST API — 1.112 Tools, die alle 44 API-Kategorien abdecken.

Automatisch generiert aus GitHubs OpenAPI-Spezifikation mithilfe eines Codegenerators, der typisierte Tool-Definitionen mit Zod-Validierung erstellt.

Installation

npm install github-rest-mcp

Oder über GitHub Packages:

npm install @eyalm321/github-mcp

Konfiguration

Legen Sie Ihr GitHub Personal Access Token fest:

export GITHUB_TOKEN=ghp_your_token_here

Kategoriefilter

Standardmäßig sind alle 1.112 Tools registriert. Um nur bestimmte Kategorien zu aktivieren:

export GITHUB_MCP_CATEGORIES=repos,issues,pulls,actions

Claude Desktop

Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:

{
  "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-Kategorien

Kategorie

Tools

Kategorie

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-Benennung

Tools folgen dem Muster github_{kategorie}_{aktion}, abgeleitet von GitHubs Operations-IDs:

  • github_repos_get — Ein Repository abrufen

  • github_issues_create — Ein Issue erstellen

  • github_pulls_list — Pull Requests auflisten

  • github_actions_list_workflow_runs — Workflow-Ausführungen auflisten

Entwicklung

# 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

Tools neu generieren

Die Tool-Dateien in src/tools/ werden automatisch aus GitHubs OpenAPI-Spezifikation generiert. Zum Aktualisieren:

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

# Regenerate
npm run generate

Lizenz

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eyalm321/github-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server