# 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:
- coinmarketcapApiKey
properties:
coinmarketcapApiKey:
type: string
description: CoinMarketCap API key
subscriptionLevel:
type: string
default: Basic
description: "Subscription level: Basic, Hobbyist, Startup, Standard,
Professional, or Enterprise"
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['index.js'],
env: {
COINMARKETCAP_API_KEY: config.coinmarketcapApiKey,
SUBSCRIPTION_LEVEL: config.subscriptionLevel
}
})
exampleConfig:
coinmarketcapApiKey: test-key-123
subscriptionLevel: Basic