Skip to content

Commit 7ee789e

Browse files
committed
feat: add GitHub remote and enterprise MCP server variants
Add two new GitHub MCP server definitions covering all audience segments: - com.github-mcp-http: Remote GitHub MCP Server with OAuth (no local install needed) - com.github-mcp-enterprise: GitHub Enterprise Server/Cloud via Docker with GITHUB_HOST Also update existing com.github-mcp name to "GitHub (Local)" for clarity. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
1 parent e6d5ed9 commit 7ee789e

3 files changed

Lines changed: 130 additions & 2 deletions

File tree

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.github-mcp-enterprise",
4+
"name": "GitHub Enterprise",
5+
"alias": "ghe",
6+
"description": "Interact with GitHub Enterprise Server or GitHub Enterprise Cloud (ghe.com) repositories, issues, and pull requests through the official GitHub MCP server running locally via Docker.",
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", "enterprise", "ghe", "ghes", "code", "issues", "pull-requests", "repos"],
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:GHE_TOKEN}",
23+
"GITHUB_HOST": "${input:GHE_HOST}"
24+
},
25+
"metadata": {
26+
"inputs": [
27+
{
28+
"id": "GHE_HOST",
29+
"label": "GitHub Enterprise Hostname",
30+
"description": "Hostname of your GitHub Enterprise instance. For GHES, prefix with https://. For ghe.com, use https://SUBDOMAIN.ghe.com.",
31+
"type": "text",
32+
"required": true,
33+
"secret": false,
34+
"placeholder": "https://github.example.com or https://octocorp.ghe.com"
35+
},
36+
{
37+
"id": "GHE_TOKEN",
38+
"label": "GitHub Personal Access Token",
39+
"description": "Personal access token for your GitHub Enterprise instance. Requires repo and read:org scopes.",
40+
"type": "password",
41+
"required": true,
42+
"secret": true,
43+
"placeholder": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
44+
"obtain": {
45+
"url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token",
46+
"instructions": "1. Go to your GitHub Enterprise instance\n2. Navigate to Settings > Developer settings > Personal access tokens\n3. Click 'Generate new token (classic)'\n4. Select scopes: repo, read:org\n5. Click 'Generate token'\n6. Copy the token",
47+
"button_label": "Learn More"
48+
}
49+
}
50+
]
51+
}
52+
},
53+
54+
"auth": {
55+
"type": "api_key",
56+
"instructions": "Create a personal access token on your GitHub 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+
}

servers/com.github-mcp-http.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.github-mcp-http",
4+
"name": "GitHub (Remote)",
5+
"alias": "gh-remote",
6+
"description": "Interact with GitHub repositories, issues, pull requests, actions, and code security through GitHub's hosted remote MCP server with OAuth authentication. No local installation required.",
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", "remote"],
11+
12+
"transport": {
13+
"type": "http",
14+
"url": "https://api.githubcopilot.com/mcp/",
15+
"metadata": {
16+
"inputs": []
17+
}
18+
},
19+
20+
"auth": {
21+
"type": "oauth",
22+
"instructions": "Connect via OAuth when prompted by your MCP client. Requires VS Code 1.101+ or another MCP host with remote server and OAuth support."
23+
},
24+
25+
"contributor": {
26+
"name": "GitHub",
27+
"github": "github",
28+
"url": "https://github.com"
29+
},
30+
31+
"links": {
32+
"repository": "https://github.com/github/github-mcp-server",
33+
"homepage": "https://github.com",
34+
"documentation": "https://github.com/github/github-mcp-server#readme"
35+
},
36+
37+
"platforms": ["all"],
38+
39+
"capabilities": {
40+
"tools": true,
41+
"resources": true,
42+
"prompts": true,
43+
"read_only_mode": false
44+
},
45+
46+
"changelog_url": "https://github.com/github/github-mcp-server/releases"
47+
}

servers/com.github-mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"$schema": "../schemas/server-definition.schema.json",
33
"id": "com.github-mcp",
4-
"name": "GitHub",
4+
"name": "GitHub (Local)",
55
"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.",
77
"icon": "https://avatars.githubusercontent.com/u/9919?v=4",
88
"schema_version": "2.1",
99
"categories": ["developer-tools", "version-control"],

0 commit comments

Comments
 (0)