Skip to main content
Glama
mcp-github-enterprise

mcp-github-enterprise

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GHE_MODENoAccess mode: read-only, read-write, or admin.read-only
GHE_TOKENYesRequired. Fine-grained PAT, classic PAT, or App installation token. Least privilege.
GHE_API_URLNoGitHub API base URL. Cloud default. For GitHub Enterprise Server use https://HOST/api/v3.https://api.github.com
GHE_DRY_RUNNoValidate and log writes without sending them.false
GHE_AUDIT_LOGNoEmit a JSON audit line per operation to stderr.true
GHE_MAX_PAGESNoAuto-pagination cap in pages of 100.10
GHE_ENTERPRISENoEnterprise slug, for enterprise-level audit log / policy.
GHE_GUARD_MODENoOptional laya-guard AI risk gate: monitor or enforce.off
GHE_ALLOW_DELETENoRequired, with admin mode, for any destructive op.false
GHE_ORG_ALLOWLISTNoComma-separated orgs that may be touched. Pin this.(all visible)
GHE_PROTECTED_ORGSNoOrgs readable but never mutated.
GHE_REQUIRE_CONFIRMATIONNoDestructive ops need a typed confirmation matching the target.true

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

Return the identity behind the configured GHE_TOKEN (login, type, and whether it is a user or an app). Use this first to confirm the token and base URL are wired correctly before anything else.

get_rate_limitA

Report the current REST API rate-limit budget (core, search, graphql) and reset times. Use to pace bulk reads.

list_organizationsA

List the organizations the token can see (filtered by GHE_ORG_ALLOWLIST), each flagged if it is protected (readable but never mutated). Start here to discover valid org logins.

get_organizationB

Fetch an organization's full profile and security-relevant settings (2FA, base permission, secret scanning & Dependabot defaults).

list_membersA

List an organization's members, optionally filtered by role (admin = owners, member = everyone else).

list_teamsA

List an organization's teams with their slugs, privacy, and permissions. Use a team slug with the team tools.

list_security_managersB

List the teams granted the organization's security-manager role (least-privilege security triage).

list_repositoriesA

List an organization's repositories (name, visibility, default branch, archived), optionally filtered by type.

get_repositoryA

Fetch a single repository including its security_and_analysis settings (secret scanning, push protection, advanced security).

get_branch_protectionA

Fetch the protection settings for a branch (required reviews, status checks, signatures, force-push rules).

list_org_rulesetsA

List the organization's rulesets (the modern, org-wide replacement for per-repo branch protection).

list_webhooksA

List the organization's webhooks and their events. Webhook secrets are redacted and never returned.

get_actions_permissionsA

Fetch the organization's GitHub Actions policy (which repos may run Actions, and which actions are allowed).

list_self_hosted_runnersA

List the organization's self-hosted Actions runners (name, status, labels, busy). Use with runner groups to audit where CI executes — e.g. Kubernetes runners managed by actions-runner-controller.

list_runner_groupsA

List the organization's self-hosted runner groups and which repositories may use them (runner isolation).

get_actions_cache_usageA

Report GitHub Actions cache usage — org-wide, or for one repository. Use to spot caches near the 10 GB/repo limit and to size a caching strategy for faster pipelines.

list_workflowsA

List the Actions workflows defined in a repository (name, path, state). Starting point for pipeline optimization.

list_secret_scanning_alertsA

List the organization's secret-scanning alerts (type, state, repo, location). The matched secret value itself is dropped and never returned.

list_code_scanning_alertsB

List the organization's code-scanning (CodeQL/SARIF) alerts with rule, severity, state, and location.

list_dependabot_alertsB

List the organization's Dependabot (vulnerable dependency) alerts with package, severity, state, and the fixing version.

get_audit_logA

Fetch recent audit-log events for the organization (or the enterprise, when GHE_ENTERPRISE is set), optionally filtered by a search phrase like 'action:repo.destroy' or 'actor:octocat'.

assess_org_postureA

Score an organization against the built-in security baseline (2FA, base permission, secret scanning + push protection, Dependabot, Actions policy). Returns per-control findings (pass/fail/unknown with severity and the exact remediation tool) plus a summary grade. Read-only — it changes nothing; apply fixes with harden_org_settings.

recommend_enterprise_setupA

Return the staged secure-setup template for a GitHub Enterprise — enterprise, organization, and repository level controls with the rationale for each, plus the exact org-settings baseline that harden_org_settings applies. Pure guidance; use assess_org_posture to measure a specific org against it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 23 tools

Disambiguation5/5

Each tool maps to a distinct resource+action pair: orgs vs repos vs teams vs runners vs each alert family (secret/code/dependabot) are separately named and scoped. The two 'meta' tools are cleanly differentiated (assess_org_posture measures a live org, recommend_enterprise_setup returns a static template), and list_self_hosted_runners vs list_runner_groups vs get_actions_cache_usage have clear boundaries. No tool appears to duplicate another.

Naming Consistency4/5

Strong verb_noun convention throughout (list_*, get_*, assess_*, recommend_*), with whoami as a conventional exception. Minor inconsistency in scope qualifiers: list_org_rulesets embeds 'org' while sibling tools leave org scope implicit, and get_actions_cache_usage mixes a third noun into the pattern.

Tool Count4/5

23 tools is on the heavy side, but the domain (enterprise/org governance: identity, RBAC, repos, rulesets, Actions, three alert classes, audit) is genuinely broad and each tool covers a distinct slice. Nothing looks like filler, though a few list-only alert tools could be consolidated.

Completeness3/5

Read-only audit coverage is good, but assess_org_posture and recommend_enterprise_setup both explicitly instruct agents to 'apply fixes with harden_org_settings' — a tool that does not exist in this set, creating a guaranteed dead end. Alert handling is also list-only with no per-alert detail or dismissal/drill-down path, so remediation workflows cannot be completed.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues