File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2
+
3
+ startCommand :
4
+ type : stdio
5
+ configSchema :
6
+ # JSON Schema defining the configuration options for the MCP.
7
+ type : object
8
+ required :
9
+ - xeroClientId
10
+ - xeroClientSecret
11
+ - xeroRedirectUri
12
+ properties :
13
+ xeroClientId :
14
+ type : string
15
+ description : Your Xero OAuth2 Client ID
16
+ xeroClientSecret :
17
+ type : string
18
+ description : Your Xero OAuth2 Client Secret
19
+ xeroRedirectUri :
20
+ type : string
21
+ description : Your Xero OAuth2 Redirect URI, e.g., http://localhost:5000/callback
22
+ commandFunction :
23
+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
24
+ |-
25
+ (config) => ({
26
+ command : ' node' ,
27
+ args : ['build/index.js'],
28
+ env : {
29
+ XERO_CLIENT_ID : config.xeroClientId,
30
+ XERO_CLIENT_SECRET : config.xeroClientSecret,
31
+ XERO_REDIRECT_URI : config.xeroRedirectUri
32
+ }
33
+ })
34
+ exampleConfig :
35
+ xeroClientId : dummy_client_id
36
+ xeroClientSecret : dummy_client_secret
37
+ xeroRedirectUri : http://localhost:5000/callback
You can’t perform that action at this time.
0 commit comments