check_config
Verify that whisper-cli.exe, model, and FFmpeg are correctly installed and accessible. Run this tool first if any transcription issues occur.
Instructions
Verify whisper-cli.exe, model, and FFmpeg are all available. Run this first if anything fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1135-1155 (handler)Handler for the check_config tool: validates whisper-cli, model file, and FFmpeg existence, then returns a status report.
if (name === "check_config") { const error = validatePaths(); if (error) return { content: [{ type: "text", text: `❌ Configuration error:\n\n${error}` }], isError: true }; let ffmpegStatus = "✅ Found"; try { await execFileAsync(FFMPEG_PATH, ["-version"], { windowsHide: true }); } catch { ffmpegStatus = "⚠️ Not found — video/non-MP3 formats require FFmpeg in PATH"; } return { content: [{ type: "text", text: `✅ Configuration looks good!\n\n` + `whisper-cli: ${WHISPER_CLI_PATH}\n` + `Model: ${WHISPER_MODEL}\n` + `Threads: ${WHISPER_THREADS} of ${SYSTEM_THREADS} logical cores\n` + `FFmpeg: ${ffmpegStatus}\n\n` + `Optional env vars: WHISPER_THREADS, FFMPEG_PATH`, }], }; } - src/index.ts:1009-1012 (schema)Registration entry for check_config: name, description, and empty input schema (no parameters required).
{ name: "check_config", description: "Verify whisper-cli.exe, model, and FFmpeg are all available. Run this first if anything fails.", inputSchema: { type: "object", properties: {} }, - src/index.ts:1009-1013 (registration)check_config is registered in the ListToolsRequestSchema handler alongside all other tools.
{ name: "check_config", description: "Verify whisper-cli.exe, model, and FFmpeg are all available. Run this first if anything fails.", inputSchema: { type: "object", properties: {} }, }, - src/index.ts:57-63 (helper)The validatePaths() helper function called by the check_config handler to verify whisper-cli and model file existence.
function validatePaths(): string | null { if (!existsSync(WHISPER_CLI_PATH)) return `whisper-cli.exe not found at: ${WHISPER_CLI_PATH}\nCheck WHISPER_CLI_PATH in claude_desktop_config.json`; if (!existsSync(WHISPER_MODEL)) return `Whisper model not found at: ${WHISPER_MODEL}\nCheck WHISPER_MODEL in claude_desktop_config.json`; return null; }