smithery.yaml•908 B
# 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: []
properties:
generatorDir:
type: string
default: ""
description: Optional persistent directory for installing Yeoman generators. If
left empty, a temporary directory is used.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => {
const args = ["dist/index.js"];
if (config.generatorDir && config.generatorDir.trim() !== "") {
args.push("--generator-dir", config.generatorDir);
}
return {
command: "node",
args,
env: {}
};
}
exampleConfig:
generatorDir: /path/to/generator-storage