gh_mcp_server

gh_mcp_server is a Spring Boot-based MCP (Model Context Protocol) server that exposes GitHub CLI (gh) operations as MCP tools. It runs as a local STDIO MCP server and performs GitHub tasks (repos, issues, pull requests, workflows, releases, files, and user info) by invoking the authenticated `gh` CLI and returning JSON results.

Evaluated Apr 04, 2026 (16d ago)
Repo ↗ DevTools mcp github spring-boot java cli-integration issues pull-requests automation stdio
⚙ Agent Friendliness
61
/ 100
Can an agent use this?
🔒 Security
43
/ 100
Is it safe for agents?
⚡ Reliability
25
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
72
Documentation
70
Error Messages
0
Auth Simplicity
80
Rate Limits
35

🔒 Security

TLS Enforcement
10
Auth Strength
65
Scope Granularity
20
Dep. Hygiene
45
Secret Handling
70

Runs locally as an MCP STDIO server and delegates auth to `gh` CLI. README does not describe TLS/network exposure (TLS likely irrelevant for STDIO). Capability granularity is limited to whatever permissions `gh` holds (no explicit per-tool scopes described). Since it uses `ProcessBuilder`/command execution with timeout support is mentioned, injection risk depends on how arguments are constructed—details are not provided in README. Secrets are presumably handled by `gh`/environment; README does not indicate logging of secrets, but does not document secret redaction behavior.

⚡ Reliability

Uptime/SLA
0
Version Stability
45
Breaking Changes
0
Error Recovery
55
AF Security Reliability

Best When

You want a lightweight local MCP integration with GitHub powered by the existing, user-authenticated GitHub CLI, especially when avoiding Docker or a separate hosted GitHub MCP service.

Avoid When

You need guaranteed idempotency for write operations, very explicit rate-limit/429 guidance, or a security model that limits capabilities per request beyond what the underlying `gh` auth allows.

Use Cases

  • Build an MCP client workflow that can list/search repositories
  • Automate issue lifecycle tasks (list/create/close/comment/edit) via an AI assistant
  • Automate pull request tasks (list/get/create/merge/close/comment) via an AI assistant
  • Inspect CI/workflows and workflow runs
  • Manage releases (list/get/create)
  • Fetch repository file contents and commit history
  • Retrieve the authenticated GitHub user details

Not For

  • Production-grade, multi-tenant hosted use without additional hardening (because it shells out to `gh` on the host)
  • Use cases requiring strict least-privilege OAuth scopes beyond what `gh` authentication already provides
  • Teams that need strong, documented MCP tool schemas/typing beyond what’s described in README

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: Uses GitHub CLI authentication (requires `gh auth login`); server itself takes no explicit OAuth flow in README
OAuth: No Scopes: No

Authentication is delegated to the local `gh` CLI. As described, the server relies on whatever credentials/permissions the user already configured for `gh`.

Pricing

Free tier: No
Requires CC: No

No pricing information provided (appears to be a self-hosted MIT-licensed tool).

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • Write operations (create/merge/close/edit) are not described as idempotent; agents may need to deduplicate intent on their side.
  • The server shells out to `gh`; timeouts can occur on slow networks/large repos (README mentions 30s default per operation).
  • Rate limiting is handled by GitHub CLI automatically, but the MCP-layer guidance on 429/backoff behavior is not clearly documented.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for gh_mcp_server.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered