File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 2
2
startCommand :
3
3
type : stdio
4
4
configSchema :
5
- # JSON Schema defining the configuration options for the MCP.
6
- # Update this with any configuration options your MCP server requires
5
+ # JSON Schema defining the configuration options for the MCP
7
6
type : object
8
- properties : {}
7
+ properties :
8
+ githubToken :
9
+ type : string
10
+ title : GitHub Personal Access Token
11
+ description : GitHub Personal Access Token with appropriate permissions
12
+ secret : true # This marks the field as a secret, so it won't be logged
13
+ required : ["githubToken"]
9
14
additionalProperties : false
10
15
commandFunction : |-
11
16
(config) => ({
12
17
"command": "./github-mcp-server",
13
18
"args": [
14
19
"stdio"
15
20
],
16
- "env": {}
21
+ "env": {
22
+ "GITHUB_PERSONAL_ACCESS_TOKEN": config.githubToken
23
+ }
17
24
})
You can’t perform that action at this time.
0 commit comments