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