Skip to main content
Glama
ddukbg

GitHub Enterprise MCP Server

get-enterprise-stats

Retrieve and analyze GitHub Enterprise repository data, issues, pull requests, and workflows to monitor and manage development activity efficiently using the MCP server integration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'get-enterprise-stats' tool, including its inline handler that fetches and formats enterprise statistics using AdminAPI.getStats().
    server.tool("get-enterprise-stats", {}, async () => { try { const stats = await context.admin.getStats(); return { content: [ { type: "text", text: `GitHub Enterprise 통계 정보:\n\n${JSON.stringify(stats, null, 2)}` } ] }; } catch (error) { console.error('엔터프라이즈 통계 조회 오류:', error); return { content: [ { type: "text", text: `엔터프라이즈 통계 조회 중 오류가 발생했습니다: ${error.message}` } ], isError: true }; } });
  • Core handler logic in AdminAPI.getStats() that makes the GitHub Enterprise API call to retrieve stats from the '/enterprise/stats/all' endpoint.
    async getStats() { return this.client.get('enterprise/stats/all'); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ddukbg/github-enterprise-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server