Skip to content

Commit bdc16c3

Browse files
committed
Add GitHub PAT configuration to smithery.yaml
1 parent cc796ed commit bdc16c3

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

smithery.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@
22
startCommand:
33
type: stdio
44
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
76
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"]
914
additionalProperties: false
1015
commandFunction: |-
1116
(config) => ({
1217
"command": "./github-mcp-server",
1318
"args": [
1419
"stdio"
1520
],
16-
"env": {}
21+
"env": {
22+
"GITHUB_PERSONAL_ACCESS_TOKEN": config.githubToken
23+
}
1724
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy