ncnn-mcp
NCNN Whisper音频转录MCP服务器
准备模型
- 下载whisper模型为 iwiki(注:这可能是一个特定项目或网站的名称,直接翻译为“i维基”并不具有实际意义,但在此按照翻译要求给出形式上的对应);
- 准备输入音频文件,例如从 OpenAI。
参考数据结构:
.
├── data
│ └── alloy.wav
├── model
│ ├── data
│ └── whisper
│ ├── whisper
│ ├── whisper_tiny_decoder.ncnn.bin
│ ├── ...
│ └── whisper_vocab.txt跑
- 选项1:安装为MCP服务器,参考配置文件 mcp_config.json 翻译为中文是:“mcp 配置文件.json”
1. 您可以使用官方工具来测试MCP工具 检查员。
- 选项2:在本地进行测试。
# install dependencies
uv sync
# test whisper binary
uv run python test/run_whisper.py
# test mcp server
uv run python test/test_server.py