mcp-image-generator

by GMKR
Verified
# Smithery.ai configuration startCommand: type: stdio configSchema: # JSON Schema defining the configuration options for the MCP. { "type": "object", "properties": { "provider": { "type": "string", "description": "The provider to use for image generation (default: 'replicate')", "default": "replicate" }, "replicateApiToken": { "type": "string", "description": "The API token for the Replicate API" }, "modelName": { "type": "string", "description": "The model to use for the Replicate API" }, "togetherApiKey": { "type": "string", "description": "The API key for the Together AI API" } }, "anyOf": [ { "required": ["replicateApiToken"] }, { "required": ["togetherApiKey"] } ] } commandFunction: # A function that produces the CLI command to start the MCP on stdio. |- (config) => ({ "command": "npx", "args": [ "tsx", "src/index.ts" ], "env": { "PROVIDER": config.provider, "REPLICATE_API_TOKEN": config.replicateApiToken, "TOGETHER_API_KEY": config.togetherApiKey, "MODEL_NAME": config.modelName } })