Skip to content

Commit 371e882

Browse files
committed
fix: align input IDs with env var names in GitHub and Grafana definitions
- com.github-mcp-docker.json: GITHUB_TOKEN → GITHUB_PERSONAL_ACCESS_TOKEN - com.grafana-mcp-docker.json: GRAFANA_TOKEN → GRAFANA_SERVICE_ACCOUNT_TOKEN Input IDs should match the environment variable names they map to for consistency and to avoid confusion when configuring servers. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 0217546 commit 371e882

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

servers/com.github-mcp-docker.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"ghcr.io/github/github-mcp-server"
2020
],
2121
"env": {
22-
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}",
22+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_PERSONAL_ACCESS_TOKEN}",
2323
"GITHUB_HOST": "${input:GITHUB_HOST}"
2424
},
2525
"metadata": {
2626
"inputs": [
2727
{
28-
"id": "GITHUB_TOKEN",
28+
"id": "GITHUB_PERSONAL_ACCESS_TOKEN",
2929
"label": "GitHub Personal Access Token",
3030
"description": "Token used to authenticate with the GitHub API. Requires repo and read:org scopes.",
3131
"type": "text",

servers/com.grafana-mcp-docker.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"env": {
2626
"GRAFANA_URL": "${input:GRAFANA_URL}",
27-
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${input:GRAFANA_TOKEN}",
27+
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${input:GRAFANA_SERVICE_ACCOUNT_TOKEN}",
2828
"GRAFANA_USERNAME": "${input:GRAFANA_USERNAME}",
2929
"GRAFANA_PASSWORD": "${input:GRAFANA_PASSWORD}",
3030
"GRAFANA_ORG_ID": "${input:GRAFANA_ORG_ID}"
@@ -41,7 +41,7 @@
4141
"placeholder": "http://localhost:3000"
4242
},
4343
{
44-
"id": "GRAFANA_TOKEN",
44+
"id": "GRAFANA_SERVICE_ACCOUNT_TOKEN",
4545
"label": "Grafana Service Account Token",
4646
"description": "Service account token with appropriate permissions. Create a service account with the Editor role for full read/write access.",
4747
"type": "text",

0 commit comments

Comments
 (0)