feat: 初始化基于Faster Whisper的语音识别MCP服务器

添加了服务器核心代码、启动脚本、依赖配置及文档,支持批处理加速、CUDA优化及多格式输出,便于集成到Claude Desktop中。
This commit is contained in:
BigUncleHomePC
2025-03-22 03:23:54 +08:00
commit 5b5b952382
9 changed files with 519 additions and 0 deletions

16
start_server.bat Normal file
View File

@@ -0,0 +1,16 @@
@echo off
echo 启动Whisper语音识别MCP服务器...
:: 激活虚拟环境(如果存在)
if exist "..\venv\Scripts\activate.bat" (
call ..\venv\Scripts\activate.bat
)
:: 运行MCP服务器
python whisper_server.py
:: 如果出错,暂停以查看错误信息
if %ERRORLEVEL% neq 0 (
echo 服务器启动失败,错误代码: %ERRORLEVEL%
pause
)