Skip to content

Commit 5e5e80a

Browse files
axel7083JoannaaKL
andauthored
chore(mcp/server.json): improve the OCI package specification (#1217)
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> Co-authored-by: JoannaaKL <joannaakl@github.com>
1 parent 70cb737 commit 5e5e80a

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

server.json

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,43 +21,44 @@
2121
{
2222
"type": "positional",
2323
"value": "run",
24-
"description": "The runtime command to execute"
24+
"description": "The runtime command to execute",
25+
"isRequired": true
2526
},
2627
{
2728
"type": "named",
2829
"name": "-i",
29-
"description": "Run container in interactive mode"
30+
"value": "true",
31+
"description": "Run container in interactive mode",
32+
"format": "boolean",
33+
"isRequired": true
3034
},
3135
{
3236
"type": "named",
3337
"name": "--rm",
34-
"description": "Automatically remove the container when it exits"
38+
"value": "true",
39+
"description": "Automatically remove the container when it exits",
40+
"format": "boolean"
3541
},
3642
{
3743
"type": "named",
3844
"name": "-e",
39-
"description": "Set an environment variable in the runtime"
40-
},
41-
{
42-
"type": "positional",
43-
"valueHint": "env_var_name",
44-
"value": "GITHUB_PERSONAL_ACCESS_TOKEN",
45-
"description": "Environment variable name"
45+
"description": "Set an environment variable in the runtime",
46+
"value": "GITHUB_PERSONAL_ACCESS_TOKEN={token}",
47+
"isRequired": true,
48+
"variables": {
49+
"token": {
50+
"isRequired": true,
51+
"isSecret": true,
52+
"format": "string"
53+
}
54+
}
4655
},
4756
{
4857
"type": "positional",
4958
"valueHint": "image_name",
5059
"value": "ghcr.io/github/github-mcp-server",
51-
"description": "The container image to run"
52-
}
53-
],
54-
"environmentVariables": [
55-
{
56-
"description": "Your GitHub personal access token with appropriate scopes.",
57-
"isRequired": true,
58-
"format": "string",
59-
"isSecret": true,
60-
"name": "GITHUB_PERSONAL_ACCESS_TOKEN"
60+
"description": "The container image to run",
61+
"isRequired": true
6162
}
6263
]
6364
}

0 commit comments

Comments
 (0)