-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathcom.github-mcp.json
More file actions
82 lines (75 loc) · 2.83 KB
/
Copy pathcom.github-mcp.json
File metadata and controls
82 lines (75 loc) · 2.83 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
82
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.github-mcp",
"name": "GitHub (Local)",
"alias": "gh",
"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).",
"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"],
"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": "password",
"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": "GitHub hostname. Set this for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency. Leave empty for github.com.",
"type": "url",
"required": false,
"secret": false,
"default": "https://api.github.com",
"placeholder": "https://github.example.com"
}
]
}
},
"auth": {
"type": "api_key",
"instructions": "Create a personal access token at https://github.com/settings/tokens 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"
}