github/github-mcp-server
github/github-mcp-server provides a standard reference implementation of the Model Context Protocol for GitHub API access, demonstrating verified runtime entrypoint health and strict dependency lockdown ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED. Static analysis validates a codebase footprint of 153,397 LOC ST-METRIC-LOC · METRICS (LOC: 153397)LOC: 153397 backed by 168 test files ST-METRIC-TESTS · METRICS (TestFiles: 168)TestFiles: 168 and 20 direct dependencies ST-METRIC-DEPS · METRICS (Dependencies: 20)Dependencies: 20. Execution verified zero canary token leaks, clean egress containment across known registry endpoints, and predictable execution without undocumented environment side-effects.
Did not touch decoy .env/SSH secrets or phone home to unexpected servers.
Cold-start install and entrypoint check both exited 0.
Commercial-friendly license with lockfile-pinned dependencies (20 direct).
- Engineering teams integrating LLM agents into GitHub workflows requiring standard MCP protocol compliance.
- Platform engineers needing a verified reference server for repository, issue, and pull request manipulation.
- Security-conscious operators requiring deterministic builds with strictly locked dependencies ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED.
- Environments requiring direct low-latency GitHub API access without MCP protocol translation overhead.
- Workflows already standardized on the native GitHub CLI (gh) or raw Octokit SDK tooling inside deterministic scripts.
- Air-gapped systems unable to route authenticated traffic to public GitHub API endpoints.
Four-Pillar Rubric Breakdown
No deductions recorded in this pillar.
Maintainer Remediation & Re-Audit Checklist
- High CVEs: 1 (-3)
Setup & Developer Experience
Clean dependency resolution and installation executed in 86.23s RT-01 · install (exit 0)command=mkdir -p ./bin && go build -o ./bin/github-mcp-server ./cmd/github-mcp-server | exit_code=0 | duration_sec=86.23, ingesting 20 direct and 17 transitive dependencies governed by pinned lockfiles ST-METRIC-DEPS · METRICS (Dependencies: 20)Dependencies: 20 ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED. Server entrypoint initialization validated against documented environment variables, producing first verified output at 87.55s RT-02 · startup (exit 0)command=./bin/github-mcp-server --help | exit_code=0 | duration_sec=3.19. Deterministic fixture workloads completed successfully RT-03 · fixture_test (exit 0)command=./bin/github-mcp-server --help | exit_code=0 | duration_sec=2.51, concluding harness execution across 168 test suites in 301.41s RT-04 · mcp_probe (exit 0)command=python3 /tmp/_zl_mcp_probe.py --cmd ./bin/github-mcp-server | exit_code=0 | duration_sec=2.79 ST-METRIC-TESTS · METRICS (TestFiles: 168)TestFiles: 168.
Security Hygiene & Telemetry
Static analysis indicates a total codebase volume of 153,397 lines of code ST-METRIC-LOC · METRICS (LOC: 153397)LOC: 153397 supported by 168 test files ST-METRIC-TESTS · METRICS (TestFiles: 168)TestFiles: 168. Dependency topology comprises 20 direct and 17 transitive dependencies ST-METRIC-DEPS · METRICS (Dependencies: 20)Dependencies: 20, maintaining a STRICT_LOCKED pinning posture ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED enforced via go.sum and package-lock.json with zero unpinned or floating revisions. Runtime telemetry recorded no canary file reads, no canary token exfiltration, and zero unauthorized network egress outside allowlisted package registries and repository domains. No environment probing was detected across execution.
Code Architecture & Maintainability
The codebase encompasses 153,397 lines of code ST-METRIC-LOC · METRICS (LOC: 153397)LOC: 153397 partitioned across modular MCP server tool definitions and operational subroutines. Dependency boundaries remain disciplined with 20 direct dependencies and 17 transitive dependencies ST-METRIC-DEPS · METRICS (Dependencies: 20)Dependencies: 20, backed by deterministic pinning in tracked lockfiles ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED. Architectural segregation and interface reliability are validated across 168 dedicated test files ST-METRIC-TESTS · METRICS (TestFiles: 168)TestFiles: 168. Error handling follows standard idiomatic dispatch routines across RPC boundaries without architectural defects or uncontained failure propagation.
Alternatives & Ecosystem Fit
Compared to the native GitHub CLI (gh), github-mcp-server abstracts tool definitions into MCP-compliant schemas, trading direct shell execution for structured LLM context mediation. Unlike unofficial community MCP servers, it adheres to official vendor schema definitions and maintains strict lockfile integrity ST-METRIC-LOCK · METRICS (Pinning: STRICT_LOCKED)Pinning: STRICT_LOCKED with 37 total dependencies ST-METRIC-DEPS · METRICS (Dependencies: 20)Dependencies: 20. However, for programmatic pipelines not using MCP orchestration, standard REST/GraphQL SDKs provide lower resource overhead and avoid protocol serialization layers.