Skip to content

Commit d5d5f40

Browse files
committed
Fix missing inputs and align env/input IDs
- Context7: Add optional CONTEXT7_API_KEY for higher rate limits - Grafana: Align input ID with env var name (GRAFANA_SERVICE_ACCOUNT_TOKEN) - GitHub (Local): Align input ID with env var name (GITHUB_PERSONAL_ACCESS_TOKEN) https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
1 parent 745797d commit d5d5f40

3 files changed

Lines changed: 25 additions & 6 deletions

File tree

servers/com.github-mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"ghcr.io/github/github-mcp-server"
1919
],
2020
"env": {
21-
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_TOKEN}"
21+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:GITHUB_PERSONAL_ACCESS_TOKEN}"
2222
},
2323
"metadata": {
2424
"inputs": [
2525
{
26-
"id": "GITHUB_TOKEN",
26+
"id": "GITHUB_PERSONAL_ACCESS_TOKEN",
2727
"label": "GitHub Personal Access Token",
2828
"description": "Token used to authenticate with the GitHub API. Requires repo and read:org scopes.",
2929
"type": "password",

servers/com.grafana-mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"env": {
2323
"GRAFANA_URL": "${input:GRAFANA_URL}",
24-
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${input:GRAFANA_TOKEN}"
24+
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${input:GRAFANA_SERVICE_ACCOUNT_TOKEN}"
2525
},
2626
"metadata": {
2727
"inputs": [
@@ -35,7 +35,7 @@
3535
"placeholder": "http://localhost:3000"
3636
},
3737
{
38-
"id": "GRAFANA_TOKEN",
38+
"id": "GRAFANA_SERVICE_ACCOUNT_TOKEN",
3939
"label": "Grafana Service Account Token",
4040
"description": "Service account token with appropriate permissions. Create a service account with the Editor role for full read/write access.",
4141
"type": "password",

servers/com.upstash-context7.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,32 @@
1313
"type": "stdio",
1414
"command": "npx",
1515
"args": ["-y", "@upstash/context7-mcp"],
16+
"env": {
17+
"CONTEXT7_API_KEY": "${input:CONTEXT7_API_KEY}"
18+
},
1619
"metadata": {
17-
"inputs": []
20+
"inputs": [
21+
{
22+
"id": "CONTEXT7_API_KEY",
23+
"label": "Context7 API Key",
24+
"description": "Optional API key for higher rate limits. Works without a key but with limited requests.",
25+
"type": "password",
26+
"required": false,
27+
"secret": true,
28+
"placeholder": "ctx7sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
29+
"obtain": {
30+
"url": "https://context7.com/dashboard",
31+
"instructions": "1. Go to context7.com/dashboard\n2. Sign up or log in\n3. Generate a free API key\n4. Copy the key (starts with ctx7sk_)",
32+
"button_label": "Get Free API Key"
33+
}
34+
}
35+
]
1836
}
1937
},
2038

2139
"auth": {
22-
"type": "none"
40+
"type": "optional_api_key",
41+
"instructions": "Get a free API key at https://context7.com/dashboard for higher rate limits. Works without a key with limited requests."
2342
},
2443

2544
"contributor": {

0 commit comments

Comments
 (0)