Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ASR_MCP_MODEL_PATHYesPath to the local Whisper model directory or a Hugging Face repo ID (e.g., mlx-community/whisper-large-v3-mlx). Required for transcription.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
transcribe_audioA

将音频文件转写为文本。调用前若用户未明确指定,应先询问用户选择哪种转写类型。

转写在后台子进程中运行,完成后自动上报结果,不需要轮询进度。 默认超时 10 分钟;超时后会如实检查并告知是「尚未完成」(任务继续后台运行, 完成后结果自动写入输出文件)还是「转写出错」(附带错误信息)。

Args: audio_path: 音频文件的绝对路径(支持 m4a/mp3/wav/flac 等常见格式) task_type: 转写类型。text=纯文本含标点(默认),timestamps=带时间轴,srt=SRT 字幕 output_dir: 输出目录,默认与音频文件同目录 language: 语言提示,如 zh、en。不指定则自动检测 timeout: 超时时间(秒),默认 600(10 分钟)

correct_transcriptionA

调用当前会话的 LLM 对转写文本进行纠错。调用前应先询问用户是否需要纠错及使用哪种模式。

若当前 MCP 客户端支持 Sampling,则由服务端请求客户端 LLM 完成纠错; 若不支持(多数客户端的现状),则返回现成的纠错提示词, 当前会话的 LLM 应直接按提示词完成纠错并把结果返回给用户。

Args: transcription_text: 需要纠错的转写文本 correction_mode: 纠错模式。semantic=结合语义/专业术语/互联网资料纠错(默认),reference=对照标准文本纠错 reference_text: 标准参考文本(reference 模式必填,一般用于字幕制作场景)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fengredrum/asr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server