MCP GITHUB ENTERPRISE πŸŒ‰

by vipink1203

250 downloads
Not rated
GitHub

About

A powerful Model Context Protocol (MCP) server for GitHub Enterprise that enables AI agents to access and manage enterprise users, organizations, and licenses.

Details

Author
vipink1203
Downloads
250
Categories
Developer Tools, Other, Infrastructure

- License analytics: total vs. consumed seats
- User lookup: org memberships, roles, 2FA status, SAML ID
- Automatic pagination for large enterprises
- Dual transports: stdio and SSE
- Kubernetes-ready (EKS/GKE compatible)
- MCP tools: list_consumed_licenses, get_user_organizations, get_user_enterprise_roles, get_user_detail

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP GITHUB ENTERPRISE πŸŒ‰
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Requires Python 3.9+, a GitHub PAT with read:enterprise / license scopes, and a GitHub Enterprise Cloud tenant. Clone the repo, install dependencies, set GITHUB_TOKEN and GITHUB_ENTERPRISE_URL in a .env file, then run with TRANSPORT=stdio or TRANSPORT=sse PORT=8050. Also available as a Docker image for n8n or Kubernetes deployment.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp github enterprise \ud83c\udf09": {
            "mcp-github-enterprise": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-github-enterprise": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

MCP GITHUB ENTERPRISE πŸŒ‰

Python >=3.9 MCP Protocol GitHub API

A Model Context Protocol (MCP) server that lets AI agents (Claude, ChatGPT, etc.) query your GitHub Enterprise license data. Securely fetch license summaries, per-user details, org memberships, and enterprise roles via the /consumed-licenses endpoint.

---

πŸ“Š Capabilities & Example Prompts

- License Summary
β€’ "Show me our GitHub Enterprise license summary"
β€’ "How many licenses are we currently using?"

- Detailed License Usage
β€’ "List all consumed GitHub licenses"
β€’ "Do we have any unused GitHub licenses?"

- User Lookup
β€’ "What GitHub orgs does johndoe belong to?"
β€’ "What enterprise roles does johndoe have?"
β€’ "Is johndoe an owner in our enterprise?"
β€’ "Get detailed info about johndoe"
β€’ "Does johndoe have 2FA enabled?"

---

🌟 Features

- License Analytics: Total vs. consumed seats
- User Lookup: Org memberships, roles, 2FA, SAML ID
- Pagination: Handles large enterprises automatically
- Dual Transports: stdio for direct MCP, SSE for HTTP
- Kubernetes-Ready: Deploy on EKS/GKE or any K8s cluster

---

πŸ“‹ Prerequisites

- Python 3.9+
- GitHub PAT with read:enterprise / license scopes
- GitHub Enterprise Cloud tenant

---

πŸš€ Quick Start

1. Clone & Install

git clone https://github.com/vipink1203/mcp-github-enterprise.git
cd mcp-github-enterprise
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

2. Configure

```bash cp .env.example .env
No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.