forked from winor30/mcp-server-datadog
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsmithery.yaml
More file actions
43 lines (42 loc) · 1.39 KB
/
Copy pathsmithery.yaml
File metadata and controls
43 lines (42 loc) · 1.39 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
# 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:
- datadogApiKey
- datadogAppKey
properties:
datadogApiKey:
type: string
description: Your Datadog API key
datadogAppKey:
type: string
description: Your Datadog Application key
datadogSite:
type: string
default: ''
description: Optional Datadog site (e.g. datadoghq.eu)
datadogSubdomain:
type: string
default: ''
description: Optional Datadog subdomain (e.g. <your-subdomain>.datadoghq.com)
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: Object.assign({}, process.env, {
DATADOG_API_KEY: config.datadogApiKey,
DATADOG_APP_KEY: config.datadogAppKey,
...(config.datadogSite && { DATADOG_SITE: config.datadogSite }),
...(config.datadogSubdomain && { DATADOG_SUBDOMAIN: config.datadogSubdomain })
})
})
exampleConfig:
datadogApiKey: your_datadog_api_key_here
datadogAppKey: your_datadog_app_key_here
datadogSite: datadoghq.com
datadogSubdomain: your-subdomain