-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsmithery.yaml
More file actions
66 lines (65 loc) · 1.82 KB
/
smithery.yaml
File metadata and controls
66 lines (65 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- cdataUsername
- cdataPat
properties:
cdataUsername:
type: string
description: CData Connect Cloud username
cdataPat:
type: string
description: CData Personal Access Token
logEnabled:
type: boolean
default: false
description: Enable logging
logLevel:
type: string
default: info
description: Log level (e.g. info, debug, error)
cdataUrl:
type: string
default: https://cloud.cdata.com
description: CData Connect Cloud service URL
transport:
type: string
default: stdio
description: Transport protocol to use
port:
type: number
description: Port number if using HTTP/SSE transport
host:
type: string
default: 0.0.0.0
description: Host address if using HTTP/SSE transport
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.js'],
env: {
TRANSPORT: config.transport,
CDATA_USERNAME: config.cdataUsername,
CDATA_PAT: config.cdataPat,
LOG_ENABLED: config.logEnabled?.toString(),
LOG_LEVEL: config.logLevel,
CDATA_URL: config.cdataUrl,
PORT: config.port?.toString(),
HOST: config.host
}
})
exampleConfig:
cdataUsername: demo_user
cdataPat: abcd1234efgh5678
logEnabled: false
logLevel: info
cdataUrl: https://cloud.cdata.com
transport: stdio
host: 0.0.0.0
port: 3000