MCP.Market

GitHub MCP Server

by sumirati·io.github.sumirati/mcp-github·v2.2.0·1 stars

Developer-ready GitHub MCP server with 5-tool hybrid architecture and dynamic discovery.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed GitHub MCP Server yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

GitHub MCP Server tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How GitHub MCP Server compares

Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 65% of 1,119 Developer tools servers
GitHub stars
1
more than 50% of 854 Developer tools servers

Release history: 4 versions in the registry since 2026-10-15, latest 2026-10-16, typically several a day.

Install GitHub MCP Server in Claude Code, Cursor or VS Code

Runs npx -y @sumirati/mcp-github on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-github -- npx -y @sumirati/mcp-github
Add to Cursor

What the publisher says

From the GitHub MCP Server repository's README, as published. We do not edit it. Read it on GitHub

@sumirati/mcp-github

Model Context Protocol (MCP) server for GitHub REST API, engineered specifically for autonomous AI agents and developer workflows.

Architecturally aligned with @sumirati/mcp-gitlab, this server provides high-performance GitHub interactions with a strict Token Economy First design, native zero-dependency HTTP client, and a 3-Tier Read-Only security guard.

Key Invariants

1. Token Economy First

Raw GitHub REST API responses are notoriously heavy (often 30KB–100KB per Issue or PR). @sumirati/mcp-github incorporates automated payload summarizers across all endpoints to eliminate >80% of redundant metadata (URLs, avatar links, AST blobs, node IDs) before reaching LLM context windows:

  • PR Diffs: Sliced and truncated with token-budget safeguards (max_lines, default: 400).
  • Actions Logs: Tail-extracted for diagnosing failures (tail_lines, default: 200 lines) instead of megabyte log dumps.
  • Search & Listings: Slim summaries focusing on titles, numbers, branches, SHAs, and states.

2. 3-Tier Read-Only Mode (GITHUBREADONLY=true)

When GITHUBREADONLY=true is set, the server enforces safety across three redundant layers:

  1. Tool Discovery Filter: Mutating tools are completely omitted from ListToolsRequestSchema.
  2. Dispatch Guard: Any incoming CallToolRequestSchema for a mutating tool is rejected before invocation.
  3. HTTP Client Interceptor: src/client.js blocks any non-GET and non-HEAD request from being dispatched to GitHub.

3. Native Fetch Runtime

Zero bloated external SDK dependencies. Uses native Node.js 18+ fetch with automated rate-limit header parsing (x-ratelimit-remaining, x-ratelimit-reset), RFC 5988 Link pagination, and clean error formatting.

Directory Structure

MCP-github/
├── index.js                  # MCP Server entrypoint, transport & tool registration
├── package.json
├── LICENSE                   # MIT License — Copyright (c) 2026 sumirati@buggycode.net
├── NOTICE
├── README.md
└── src/
    ├── client.js             # Native fetch client, rate limits, 3-tier read-only guard
    ├── schemas.js            # Shared repo/owner base schemas & Zod to JSON Schema converter
    ├── helpers.js            # Payload summarizers (PRs, issues, commits, actions, releases, diffs)
    └── tools/
        ├── repositories.js   # Repos, search, files, branches
        ├── commits.js        # Commit history, commit details with diffs
        ├── pull-requests.js  # PRs, token-sliced diffs, review comments, reviews
        ├── issues.js         # Issues, labels, comments
        ├── milestones.js     # Milestones and deadlines
        ├── collaborators.js  # Repository collaborators and access levels
        ├── variables.js      # Actions configuration variables & secret catalog
        ├── gists.js          # Gist code snippet storage
        ├── actions.js        # Workflows, runs, safe job log tailing
        ├── releases.js       # Releases & Git t

Tool Catalog

Repositories (src/tools/repositories.js)

  • search_repositories: Search repositories with queries and filters.
  • get_repository: Get metadata, default branch, statistics.
  • createrepository (mutating)*: Create a new repository under user or organization.
  • getfilecontents: Read file or directory content (with automatic Base64 decoding).
  • createorupdatefile (mutating)*: Create or update a file.
  • deletefile (mutating)*: Delete a file from a repository branch.
  • list_branches: List repository branches.
  • get_branch: Get branch details and protection status.
  • createbranch (mutating)*: Create a branch off a branch or commit SHA.
  • deletebranch (mutating)*: Delete a branch (protected from deleting default branch).
  • forkrepository (mutating)*: Fork a repository into user or organization namespace.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

GitHub MCP Server: common questions

Is GitHub MCP Server safe?
Mostly: it is graded B (83/100). Read the GitHub MCP Server safety report
How do I install GitHub MCP Server?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does GitHub MCP Server need an API key?
Yes. The registry entry asks for GITHUB_PERSONAL_ACCESS_TOKEN.
Is GitHub MCP Server maintained?
The last commit was 18 days ago (2026-10-15). The latest release is v2.2.0.
What can I use instead of GitHub MCP Server?
Servers from other publishers that do the same job: GitDiagram MCP server, Agent Harnesses MCP server and Grasp — Code Architecture & Dependency Analysis MCP server.
How does GitHub MCP Server compare with other Developer tools MCP servers?
safety score 83/100 (higher than 65% of 1,119 Developer tools servers); github stars 1 (more than 50% of 854 Developer tools servers). Full comparison.

Alternatives to GitHub MCP Server

Same job from other publishers: the closest match first, then the best rated.

  • GitDiagram
    Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
    A
  • Agent Harnesses
    Agent-harness picks, decision guides, setup templates, and skills; live GitHub/HN discovery.
    A
  • Grasp — Code Architecture & Dependency Analysis
    Codebase analysis: dependency graphs, security scanning, and refactor plans for GitHub and GitLab.
    C
  • TerraVision
    Draw cloud architecture diagrams with official AWS, Azure and GCP icons from a prompt or Terraform.
    A
  • Gk CLI
    The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
    B