gh-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_API_KEY | No | Bearer token required for all HTTP /gh-mcp requests (required in HTTP mode) | |
| GITHUB_APP_ID | Yes | Your GitHub App ID | |
| GITHUB_CLIENT_ID | No | Your GitHub App Client ID | |
| GITHUB_PRIVATE_KEY | Yes | Your GitHub App's private key (content, not path). Use \n to represent newlines if your configuration format requires a single line. | |
| GITHUB_INSTALLATION_ID | No | Default Installation ID for the app |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_installation_tokenB | Get a GitHub installation access token using the GitHub App's credentials. |
| refresh_installation_tokenA | Force-refresh a GitHub installation access token, bypassing the cache. Useful when token permissions have changed or the current token has been revoked. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools target the same object (installation token), but the cached-get vs force-refresh distinction is explicit in the descriptions, so an agent can choose correctly. The overlap is minimal and clearly delineated, though the boundary relies entirely on the description rather than the name alone.
Both names follow a strict snake_case verb_noun pattern (get_installation_token, refresh_installation_token) with a shared noun and precise action verbs. Fully predictable and consistent.
Two tools is thin even for a narrow GitHub App credential service; the surface covers only retrieval and refresh, with no way to revoke, inspect, or enumerate. It is not grossly mismatched to the purpose, but it sits at the borderline of minimalism.
Token lifecycle is only half-covered: there is no revoke/invalidate operation, no way to inspect token expiry or scopes, and no enumeration of installations when multiple exist. Agents can obtain and refresh tokens but hit dead ends for management or discovery tasks.