-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsmithery.yaml
More file actions
41 lines (40 loc) · 1.47 KB
/
smithery.yaml
File metadata and controls
41 lines (40 loc) · 1.47 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
# 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:
- picaSecret
properties:
picaSecret:
type: string
description: Your Pica API secret key to authenticate requests
permissions:
type: string
description: "Permission level: read, write, or admin (default: admin)"
connectionKeys:
type: string
description: "Comma-separated connection keys, or * for all (default: *)"
actionIds:
type: string
description: "Comma-separated action IDs, or * for all (default: *)"
knowledgeAgent:
type: string
description: "Set to true to enable knowledge-only mode (default: false)"
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: {
PICA_SECRET: config.picaSecret,
...(config.permissions ? { PICA_PERMISSIONS: config.permissions } : {}),
...(config.connectionKeys ? { PICA_CONNECTION_KEYS: config.connectionKeys } : {}),
...(config.actionIds ? { PICA_ACTION_IDS: config.actionIds } : {}),
...(config.knowledgeAgent ? { PICA_KNOWLEDGE_AGENT: config.knowledgeAgent } : {})
}
})
exampleConfig:
picaSecret: example_secret_key