|
| 1 | +{ |
| 2 | + "$schema": "../schemas/server-definition.schema.json", |
| 3 | + "id": "com.github-mcp-docker", |
| 4 | + "name": "GitHub (Docker)", |
| 5 | + "alias": "gh-docker", |
| 6 | + "description": "Interact with GitHub repositories, issues, pull requests, and code security via Docker container. Supports both github.com and GitHub Enterprise instances. Requires Docker installed.", |
| 7 | + "icon": "https://avatars.githubusercontent.com/u/9919?v=4", |
| 8 | + "schema_version": "2.1", |
| 9 | + "categories": ["developer-tools", "version-control"], |
| 10 | + "tags": ["git", "github", "code", "issues", "pull-requests", "repos", "actions", "code-review", "enterprise", "ghes"], |
| 11 | + |
| 12 | + "transport": { |
| 13 | + "type": "stdio", |
| 14 | + "command": "docker", |
| 15 | + "args": [ |
| 16 | + "run", "-i", "--rm", |
| 17 | + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", |
| 18 | + "-e", "GITHUB_HOST", |
| 19 | + "ghcr.io/github/github-mcp-server" |
| 20 | + ], |
| 21 | + "env": { |
| 22 | + "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}", |
| 23 | + "GITHUB_HOST": "${input:GITHUB_HOST}" |
| 24 | + }, |
| 25 | + "metadata": { |
| 26 | + "inputs": [ |
| 27 | + { |
| 28 | + "id": "GITHUB_TOKEN", |
| 29 | + "label": "GitHub Personal Access Token", |
| 30 | + "description": "Token used to authenticate with the GitHub API. Requires repo and read:org scopes.", |
| 31 | + "type": "text", |
| 32 | + "required": true, |
| 33 | + "secret": true, |
| 34 | + "placeholder": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", |
| 35 | + "obtain": { |
| 36 | + "url": "https://github.com/settings/tokens/new", |
| 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_)", |
| 38 | + "button_label": "Create Token" |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "id": "GITHUB_HOST", |
| 43 | + "label": "GitHub Host", |
| 44 | + "description": "Hostname of your GitHub instance. Leave empty for github.com. For GitHub Enterprise Server, enter your instance hostname (e.g., github.mycompany.com). For GHEC Data Residency, use subdomain.ghe.com.", |
| 45 | + "type": "text", |
| 46 | + "required": false, |
| 47 | + "secret": false, |
| 48 | + "placeholder": "github.mycompany.com" |
| 49 | + } |
| 50 | + ] |
| 51 | + } |
| 52 | + }, |
| 53 | + |
| 54 | + "auth": { |
| 55 | + "type": "api_key", |
| 56 | + "instructions": "Create a personal access token at https://github.com/settings/tokens (or your Enterprise instance) with repo and read:org scopes" |
| 57 | + }, |
| 58 | + |
| 59 | + "contributor": { |
| 60 | + "name": "GitHub", |
| 61 | + "github": "github", |
| 62 | + "url": "https://github.com" |
| 63 | + }, |
| 64 | + |
| 65 | + "links": { |
| 66 | + "repository": "https://github.com/github/github-mcp-server", |
| 67 | + "homepage": "https://github.com", |
| 68 | + "documentation": "https://github.com/github/github-mcp-server#readme" |
| 69 | + }, |
| 70 | + |
| 71 | + "platforms": ["all"], |
| 72 | + |
| 73 | + "capabilities": { |
| 74 | + "tools": true, |
| 75 | + "resources": true, |
| 76 | + "prompts": true, |
| 77 | + "read_only_mode": false |
| 78 | + }, |
| 79 | + |
| 80 | + "changelog_url": "https://github.com/github/github-mcp-server/releases" |
| 81 | +} |
0 commit comments