MCP GITHUB ENTERPRISE π
@vipink1203
About 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.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-github-enterprise": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tools
4Summarize licenses, optionally include users
List a user's GitHub org memberships
List a user's enterprise roles
Full license detail for a user
Overview
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
FAQ from MCP GITHUB ENTERPRISE π
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.
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).
What are the prerequisites?
Python 3.9+, a GitHub Personal Access Token with read:enterprise and license scopes, and a GitHub Enterprise Cloud tenant.
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.
Does it handle large enterprises?
Yes, pagination is built-in to automatically handle enterprises with many users.
Frequently asked questions
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.
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).
What are the prerequisites?
Python 3.9+, a GitHub Personal Access Token with `read:enterprise` and license scopes, and a GitHub Enterprise Cloud tenant.
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.
Does it handle large enterprises?
Yes, pagination is built-in to automatically handle enterprises with many users.
Basic information
Category
Version Control
License
MIT license
Transports
stdio
Author
vipink1203
Submitted by
Vipin Kumar (VK)
More Version Control MCP servers
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed
GitMCP
idosalPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
Bitbucket MCP
MatanYeminiBitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
Comments