MCP.so
登录

MCP GITHUB ENTERPRISE

@vipink1203

基本信息

分类

版本控制

许可证

MIT license

传输方式

stdio

作者

vipink1203

提交者

Vipin Kumar (VK)

关于 MCP GITHUB ENTERPRISE

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

MCP GITHUB ENTERPRISE 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP GITHUB ENTERPRISE 工具

4

Summarize licenses, optionally include users

List a user's GitHub org memberships

List a user's enterprise roles

Full license detail for a user

概览

What is MCP GITHUB ENTERPRISE 🌉?

A Model Context Protocol (MCP) server that lets AI agents query your GitHub Enterprise license data. It fetches license summaries, per-user details, org memberships, and enterprise roles via the /consumed-licenses endpoint. Designed for enterprise admins and AI workflows.

How to use MCP GITHUB ENTERPRISE 🌉?

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.

Key features of MCP GITHUB ENTERPRISE 🌉

  • 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

Use cases of MCP GITHUB ENTERPRISE 🌉

  • Automate enterprise user onboarding and offboarding
  • Monitor license usage and receive near-expiry alerts
  • Analyze organization structures and relationships
  • Audit user permissions and access levels
  • Let AI analyze enterprise GitHub data interactively

常见问题

1

What data does this server access?

It accesses GitHub Enterprise license data via the `/consumed-licenses` endpoint, including license summaries, user details, org memberships, and enterprise roles.

2

What transports are available?

Two transports: stdio (for direct MCP client integration like Claude Desktop) and SSE (for HTTP-based access, e.g., with n8n).

3

What are the prerequisites?

Python 3.9+, a GitHub Personal Access Token with `read:enterprise` and license scopes, and a GitHub Enterprise Cloud tenant.

4

How do I secure my GitHub token?

Store your token in environment variables (`.env`), use limited scopes, and consider AWS Secrets Manager or similar for production deployments.

5

Does it handle large enterprises?

Yes, pagination is built-in to automatically handle enterprises with many users.

评论

版本控制 分类下的更多 MCP 服务器