-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathsmithery.yaml
More file actions
46 lines (44 loc) · 1.14 KB
/
Copy pathsmithery.yaml
File metadata and controls
46 lines (44 loc) · 1.14 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
# Smithery.ai configuration
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
database:
type: object
properties:
type:
type: string
enum: [qdrant, chroma]
default: qdrant
collectionName:
type: string
default: wisdomforge
apiKey:
type: string
url:
type: string
required: [database]
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"DATABASE_TYPE": config.database.type,
"COLLECTION_NAME": config.database.collectionName,
"QDRANT_API_KEY": config.database.apiKey,
"QDRANT_URL": config.database.url,
"HTTP_SERVER": "false",
"PORT": "3000"
}
})
build:
dockerfile: Dockerfile
dockerBuildPath: .
# Note: Qdrant service is not needed in cloud deployment
# as it will be provided by Smithery's managed services