-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsmithery.yaml
More file actions
28 lines (27 loc) · 1.05 KB
/
smithery.yaml
File metadata and controls
28 lines (27 loc) · 1.05 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
# 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:
backupDir:
type: string
default: ./.code_backups
description: Directory to store regular backups
emergencyBackupDir:
type: string
default: ./.code_emergency_backups
description: Directory to store emergency backups
maxVersions:
type: number
default: 10
description: Maximum number of backup versions to keep per file/folder
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.js'], env: { BACKUP_DIR: config.backupDir, EMERGENCY_BACKUP_DIR: config.emergencyBackupDir, MAX_VERSIONS: String(config.maxVersions) } })
exampleConfig:
backupDir: ./.code_backups
emergencyBackupDir: ./.code_emergency_backups
maxVersions: 20