Skip to content

Commit ff1b9a0

Browse files
committed
feat: merge server variants, remove GitHub OAuth HTTP (no DCR)
- Merge GitHub Docker + Enterprise into single definition with optional GITHUB_HOST input (empty defaults to github.com internally) - Merge Grafana Self-Hosted + Cloud into single Docker definition with all inputs (URL required, username/password optional) - Remove GitHub Remote OAuth (com.github-mcp-http) - no DCR support - Fix GITHUB_HOST type from url to text (expects hostname, not URL) - Keep Sentry npx + Self-Hosted separate (MCP_DISABLE_SKILLS=seer) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 176cdf0 commit ff1b9a0

5 files changed

Lines changed: 22 additions & 236 deletions

servers/com.github-mcp-docker.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@
33
"id": "com.github-mcp-docker",
44
"name": "GitHub (Docker)",
55
"alias": "gh-docker",
6-
"description": "Interact with GitHub repositories, issues, pull requests, and code security via Docker container. Requires Docker installed.",
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.",
77
"icon": "https://avatars.githubusercontent.com/u/9919?v=4",
88
"schema_version": "2.1",
99
"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", "ghes"],
1111

1212
"transport": {
1313
"type": "stdio",
1414
"command": "docker",
1515
"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",
1819
"ghcr.io/github/github-mcp-server"
1920
],
2021
"env": {
21-
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}"
22+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}",
23+
"GITHUB_HOST": "${input:GITHUB_HOST}"
2224
},
2325
"metadata": {
2426
"inputs": [
@@ -35,14 +37,23 @@
3537
"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_)",
3638
"button_label": "Create Token"
3739
}
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"
3849
}
3950
]
4051
}
4152
},
4253

4354
"auth": {
4455
"type": "api_key",
45-
"instructions": "Create a personal access token at https://github.com/settings/tokens with repo and read:org scopes"
56+
"instructions": "Create a personal access token at https://github.com/settings/tokens (or your Enterprise instance) with repo and read:org scopes"
4657
},
4758

4859
"contributor": {

servers/com.github-mcp-enterprise.json

Lines changed: 0 additions & 84 deletions
This file was deleted.

servers/com.github-mcp-http.json

Lines changed: 0 additions & 47 deletions
This file was deleted.

servers/com.grafana-mcp-cloud.json

Lines changed: 0 additions & 94 deletions
This file was deleted.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"$schema": "../schemas/server-definition.schema.json",
3-
"id": "com.grafana-mcp-self-hosted",
4-
"name": "Grafana (Self-Hosted)",
3+
"id": "com.grafana-mcp-docker",
4+
"name": "Grafana (Docker)",
55
"alias": "grafana",
6-
"description": "Search dashboards, query Prometheus and Loki datasources, manage alerts, and investigate incidents on your self-hosted Grafana instance via Docker.",
6+
"description": "Search dashboards, query Prometheus and Loki datasources, manage alerts, and investigate incidents on any Grafana instance (self-hosted or Grafana Cloud) via Docker.",
77
"icon": "https://avatars.githubusercontent.com/u/7195757?v=4",
88
"schema_version": "2.1",
99
"categories": ["monitoring", "developer-tools"],
10-
"tags": ["grafana", "monitoring", "dashboards", "prometheus", "loki", "alerts", "observability", "metrics"],
10+
"tags": ["grafana", "grafana-cloud", "monitoring", "dashboards", "prometheus", "loki", "alerts", "observability", "metrics", "incidents", "oncall"],
1111

1212
"transport": {
1313
"type": "stdio",
@@ -34,7 +34,7 @@
3434
{
3535
"id": "GRAFANA_URL",
3636
"label": "Grafana URL",
37-
"description": "URL of your Grafana instance. Include the protocol (http:// or https://).",
37+
"description": "URL of your Grafana instance. Use http://localhost:3000 for local, or https://myinstance.grafana.net for Grafana Cloud.",
3838
"type": "url",
3939
"required": true,
4040
"secret": false,

0 commit comments

Comments
 (0)