MCP GITHUB ENTERPRISE 🌉
@vipink1203
关于 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 客户端。
{
"mcpServers": {
"mcp-github-enterprise": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具
4Summarize 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
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.
版本控制 分类下的更多 MCP 服务器
MCP GitHub Project Manager
kunwarViveka mcp server to manage github project's functionality
Code Review Server
crazyrabbitLTCA MCP server for code reviews
Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
Integrate MCP with GitHub Copilot
skillsLearn how to use MCP Servers with GitHub Copilot

Git
modelcontextprotocolModel Context Protocol Servers
评论