|
1 | 1 | { |
2 | 2 | "$schema": "../schemas/server-definition.schema.json", |
3 | 3 | "id": "com.github-mcp", |
4 | | - "name": "GitHub", |
| 4 | + "name": "GitHub (Local)", |
5 | 5 | "alias": "gh", |
6 | | - "description": "Interact with GitHub repositories, issues, pull requests, actions, and code security through the official GitHub MCP server.", |
| 6 | + "description": "Interact with GitHub repositories, issues, pull requests, actions, and code security through the official GitHub MCP server running locally via Docker. Supports GitHub.com, GitHub Enterprise Server, and GitHub Enterprise Cloud (ghe.com).", |
7 | 7 | "icon": "https://avatars.githubusercontent.com/u/9919?v=4", |
8 | 8 | "schema_version": "2.1", |
9 | 9 | "categories": ["developer-tools", "version-control"], |
10 | | - "tags": ["git", "github", "code", "issues", "pull-requests", "repos", "actions", "code-review"], |
| 10 | + "tags": ["git", "github", "code", "issues", "pull-requests", "repos", "actions", "code-review", "enterprise"], |
11 | 11 |
|
12 | 12 | "transport": { |
13 | 13 | "type": "stdio", |
14 | 14 | "command": "docker", |
15 | 15 | "args": [ |
16 | | - "run", "-i", "--rm", "-e", |
17 | | - "GITHUB_PERSONAL_ACCESS_TOKEN", |
| 16 | + "run", "-i", "--rm", |
| 17 | + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", |
| 18 | + "-e", "GITHUB_HOST", |
18 | 19 | "ghcr.io/github/github-mcp-server" |
19 | 20 | ], |
20 | 21 | "env": { |
21 | | - "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}" |
| 22 | + "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_PERSONAL_ACCESS_TOKEN}", |
| 23 | + "GITHUB_HOST": "${input:GITHUB_HOST}" |
22 | 24 | }, |
23 | 25 | "metadata": { |
24 | 26 | "inputs": [ |
25 | 27 | { |
26 | | - "id": "GITHUB_TOKEN", |
| 28 | + "id": "GITHUB_PERSONAL_ACCESS_TOKEN", |
27 | 29 | "label": "GitHub Personal Access Token", |
28 | 30 | "description": "Token used to authenticate with the GitHub API. Requires repo and read:org scopes.", |
29 | 31 | "type": "password", |
|
35 | 37 | "instructions": "1. Click 'Generate new token (classic)'\n2. Give it a name like 'McpMux'\n3. Select scopes: repo, read:org\n4. Click 'Generate token'\n5. Copy the token (starts with ghp_)", |
36 | 38 | "button_label": "Create Token" |
37 | 39 | } |
| 40 | + }, |
| 41 | + { |
| 42 | + "id": "GITHUB_HOST", |
| 43 | + "label": "GitHub Host", |
| 44 | + "description": "GitHub hostname. Set this for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency. Leave empty for github.com.", |
| 45 | + "type": "url", |
| 46 | + "required": false, |
| 47 | + "secret": false, |
| 48 | + "default": "https://api.github.com", |
| 49 | + "placeholder": "https://github.example.com" |
38 | 50 | } |
39 | 51 | ] |
40 | 52 | } |
|
0 commit comments