# 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:
- youtubeApiKey
properties:
youtubeApiKey:
type: string
description: YouTube Data API key for accessing the YouTube API.
youtubeTranscriptLang:
type: string
default: en
description: Default transcript language. Defaults to 'en'.
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: {
YOUTUBE_API_KEY: config.youtubeApiKey,
YOUTUBE_TRANSCRIPT_LANG: config.youtubeTranscriptLang || 'en'
}
})
exampleConfig:
youtubeApiKey: YOUR_YOUTUBE_API_KEY_HERE
youtubeTranscriptLang: en