-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsmithery.yaml
More file actions
31 lines (30 loc) · 923 Bytes
/
smithery.yaml
File metadata and controls
31 lines (30 loc) · 923 Bytes
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:
MEILISEARCH_HOST:
type: string
default: http://localhost:7700
description: URL for the Meilisearch instance
MEILISEARCH_API_KEY:
type: string
default: ""
description: API key for Meilisearch, if required
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.js'],
env: {
NODE_ENV: 'production',
MEILISEARCH_HOST: config.MEILISEARCH_HOST,
MEILISEARCH_API_KEY: config.MEILISEARCH_API_KEY
}
})
exampleConfig:
MEILISEARCH_HOST: http://localhost:7700
MEILISEARCH_API_KEY: your-api-key