-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmithery.yaml
31 lines (30 loc) · 994 Bytes
/
smithery.yaml
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
# 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:
- doitApiKey
properties:
doitApiKey:
type: string
description: Your DoiT API key with appropriate permissions
customerContext:
type: string
description: Your customer context identifier for retrieving customer-specific data (optional)
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: {
DOIT_API_KEY: config.doitApiKey,
...(config.customerContext ? { CUSTOMER_CONTEXT: config.customerContext } : {})
}
})
exampleConfig:
doitApiKey: your_doit_api_key
# customerContext is optional
customerContext: your_customer_context