-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsmithery.yaml
31 lines (30 loc) · 1.05 KB
/
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
properties:
trendsHubHiddenFields:
type: string
default: ""
trendsHubCustomRssUrl:
type: string
default: ""
description: Optional configuration for customizing Trends Hub.
'trendsHubHiddenFields' to hide fields and 'trendsHubCustomRssUrl' to set
a custom RSS feed URL.
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.cjs'],
env: Object.assign({}, process.env, {
TRENDS_HUB_HIDDEN_FIELDS: config.trendsHubHiddenFields || '',
TRENDS_HUB_CUSTOM_RSS_URL: config.trendsHubCustomRssUrl || ''
})
})
exampleConfig:
trendsHubHiddenFields: cover,get-nytimes-news:description
trendsHubCustomRssUrl: https://news.yahoo.com/rss