OpenTranscribe MCP

io.github.fbossiere由 GitHub 账号 fbossiere 发布v1.2.3更新于 Oct 29, 2026

Provider-independent speech-to-text with normalized transcripts over MCP.

发布方自己的服务:Transcribe

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

OpenTranscribe 通过 MCP 把音频文件或 HTTPS 链接交给所选语音转写服务,并返回统一的转写结构。

可以做什么
  • 转写音频文件或已获授权的 HTTPS 音频链接,可选 Microsoft、ElevenLabs 或 Groq Whisper,也可按默认、质量、成本或延迟自动路由。
  • 列出可用的转写模型,并在执行前估算转写费用。
  • 按游标读取已保存的转写分块,并删除转写结果。
  • 请求说话人分离、时间戳或转写风格等能力,严格模式下会拒绝无法满足要求的模型。
适用场景
适合希望让助手把录音转成文字、又不想被单一厂商绑定的场景,可在 Microsoft MAI、ElevenLabs Scribe 与 Groq Whisper 之间切换而保持输出格式一致。适用于自托管、单租户且音频来源由自己掌控的部署。
运行要求
以本地进程运行(Python 3.12 与 uv,或 Docker),或自托管 Streamable HTTP 端点 /mcp。至少需要一个服务商凭据:OT_MICROSOFTAPI_KEY 与 OT_MICROSOFTENDPOINT、OT_ELEVENLABSAPI_KEY 或 OT_GROQAPI_KEY。HTTP 端点需必填的 bearer 令牌(OT_SECURITY__BEARER_TOKEN,通过 Authorization 头传递),也可改用 OIDC。需要访问服务商及音频链接的网络。
安装前请注意
音频会发送给所选第三方服务商,托管请求默认可能回退到其他已配置服务商,除非关闭回退。服务商侧的留存与本地存储无关;ElevenLabs 零留存需符合条件的企业账户。bearer 令牌与服务商密钥属机密,应放在受保护的 env 文件中。转写结果可被工具调用删除,录制他人可能涉及隐私与数据保护法的同意要求。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OpenTranscribe MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

OpenTranscribe MCP

[CI] [CodeQL] [License]

[OpenTranscribe MCP turns recorder audio into a provider-independent transcript]

Own the recorder. Choose the intelligence.

OpenTranscribe is an open-source MCP server that routes audio to the speech-to-text model of your choice and returns one provider-independent transcript schema.

It is built around a simple idea: buying a great recorder should not lock you into one transcription subscription. Use Plaud, a phone, an open-source wearable, or any other audio source you are authorized to access, then choose Microsoft MAI, ElevenLabs Scribe, or Groq Whisper without changing the downstream workflow.

OpenTranscribe does not jailbreak hardware or bypass access controls. It works only with audio the operator is authorized to access.

How it works

[Audio flows from a recorder through OpenTranscribe MCP and a selectable speech-to-text provider into one canonical transcript schema for downstream workflows]

OpenTranscribe keeps the integration boundary stable: the recorder supplies an audio file or HTTPS URL, the server selects or calls the requested speech-to-text provider, and downstream tools receive the same canonical transcript shape.

What v1 ships

  • MCP Streamable HTTP at /mcp, with stateless operation and bearer or external OIDC authentication
  • transcribe_audio, list_transcription_models, estimate_transcription_cost, get_transcript_chunk, and delete_transcript
  • Microsoft MAI-Transcribe-2, ElevenLabs scribe-v2, and Groq Whisper adapters
  • explicit capability negotiation, routing policies, retries, and observable fallbacks
  • HTTPS URL passthrough when supported and a bounded streaming proxy otherwise
  • SSRF controls, signed-URL redaction, zero content logging, and cost/resource limits
  • disabled-by-default retention; optional memory or S3-compatible temporary result storage
  • Docker, production-oriented Scaleway Serverless Containers Terraform, tests, and GitHub Actions CI

On the Linux desktop

An optional Debian package, OpenTranscribe Setup, bundles the Python runtime, the engine, and a native setup application. Install it, add a provider key, and connect a local MCP client — no Python, no uv, no configuration files. The engine then runs as one client-owned STDIO process that opens no network socket.

The hosted and command-line paths below are unaffected by it. See OpenTranscribe Setup on Linux; its release evidence lives in docs/desktop-acceptance.md, where every scenario starts at Not tested.

Ten-minute quickstart

Requirements: Python 3.12 and uv, or Docker.

bash
git clone https://github.com/fbossiere/open-transcribe-mcp.gitcd open-transcribe-mcp

Create a private .env containing only the settings for your selected provider and a strong random MCP bearer token. For Microsoft:

dotenv
OT_ENVIRONMENT=prodOT_HOST=127.0.0.1OT_DEFAULT_PROVIDER=microsoftOT_DEFAULT_MODEL=MAI-Transcribe-2OT_MICROSOFT__ENDPOINT=https://YOUR-RESOURCE.cognitiveservices.azure.comOT_MICROSOFT__API_KEY=YOUR-KEYOT_SECURITY__AUTH_MODE=bearerOT_SECURITY__BEARER_TOKEN=YOUR-RANDOM-TOKEN

Use the complete Groq, ElevenLabs or multi-provider recipes for other services. Omit unused settings rather than leaving empty URLs or numbers from .env.example, which is a configuration inventory. Protect your file with chmod 600 .env.

Start the server:

bash
uv syncuv run open-transcribe-mcp

The MCP endpoint is http://localhost:8000/mcp; probes are available at /healthz and /readyz.

Run the included bilingual, two-voice synthetic recording through the connected provider:

bash
uv run python examples/transcribe.py --token YOUR-RANDOM-TOKEN

The fixture and reference transcript are non-sensitive and redistributable. Pass another authorized public HTTPS audio URL as the first argument to use your own source.

Connect a FastMCP client:

python
import asynciofrom fastmcp import Client

async def main() -> None:    async with Client("http://localhost:8000/mcp", auth="YOUR-RANDOM-TOKEN") as client:        models = await client.call_tool("list_transcription_models", {})        print(models)        result = await client.call_tool(            "transcribe_audio",            {                "request": {                    "source": {"type": "url", "url": "https://example.org/authorized-audio.mp3"},                    "provider": "auto",                    "routing_policy": "quality",                }            },        )        print(result)

asyncio.run(main())

Provider choice does not alter the response contract. Set provider and model to switch explicitly, or use auto with default, quality, cost, or latency routing.

diarization, timestamps, and transcript_style are unset above on purpose: an unset capability is not requested, so the request routes to any configured model and the response metadata reports what that model applied. Stating one makes it a requirement — "diarization": True excludes every model that cannot diarize rather than quietly returning a single-speaker transcript. See providers and capabilities.

Docker

Use the published image and the private environment file from the quickstart:

bash
docker run --rm --env-file .env \  -e OT_ENVIRONMENT=prod -e OT_HOST=0.0.0.0 \  -p 127.0.0.1:8000:8000 \  ghcr.io/fbossiere/open-transcribe-mcp:1.2.3

This binds the host port locally; put an HTTPS proxy in front when hosting remotely. You can also build from source with docker build -t open-transcribe-mcp:1.2.3 .. Inject provider credentials at runtime. The image includes the s3 extra, but result storage stays disabled unless configured.

Deploy on Scaleway

The reference infra/scaleway module provisions a private image registry, a Serverless Container with scale-to-zero (0–3 instances), HTTPS ingress and health probes. It can optionally add a TTL-bound result bucket and runtime identity.

  1. Create a dedicated Scaleway Project and a deployment API key with the documented IAM permissions. Supply SCW_ACCESS_KEY and SCW_SECRET_KEY to the deployment shell.

  2. Copy infra/scaleway/terraform.tfvars.example to terraform.tfvars in that directory. Fill your project ID, provider keys, authentication settings and image_tag = "1.2.3". The template configures ElevenLabs and Groq; review the ElevenLabs retention choice before use.

  3. Bootstrap the registry, copy the public release image into it, then review and apply the complete deployment. In infra/scaleway:

    bash
    terraform initterraform apply -target=scaleway_registry_namespace.thisIMAGE_REFERENCE="$(terraform output -raw image_reference)"REGISTRY_ENDPOINT="$(terraform output -raw registry_endpoint)"printf '%s' "$SCW_SECRET_KEY" | docker login "${REGISTRY_ENDPOINT%%/*}" \  --username nologin --password-stdindocker buildx imagetools create --tag "$IMAGE_REFERENCE" \  ghcr.io/fbossiere/open-transcribe-mcp:1.2.3terraform plan -out=open-transcribe.tfplanterraform apply open-transcribe.tfplanterraform output -raw mcp_endpoint
  4. Check /healthz, /readyz, MCP authentication and one short authorized transcription. The full Scaleway guide covers release digest verification, adoption of an existing deployment, OIDC setup, upgrades, rollback and result-store permissions.

Bootstrap applies are for new infrastructure. Import an existing registry, namespace and container into state first to preserve their IDs and endpoint. Keep real terraform.tfvars, state and saved plans private: state and plans can contain secrets even when output is redacted. Publishing a release does not automatically update your Scaleway deployment.

Configuration and service combinations

Choose the provider, MCP authentication and result storage independently. Provider keys stay on the server and are never accepted as tool arguments. See the full configuration guide for complete environment/Terraform examples, settings precedence, key permissions and troubleshooting.

Transcription servicesConfigurationUse and limitations
Microsoft onlyMicrosoft endpoint + key; defaults microsoft / MAI-Transcribe-2Diarization and clean/verbatim output
ElevenLabs onlyElevenLabs key; defaults elevenlabs / scribe-v2Diarization; choose eligible zero retention or explicitly accepted standard mode
Groq onlyGroq key; defaults groq / a Whisper modelVerbatim transcription; no speaker diarization
Multiple providersEach provider's credentials; one matching default pairRequests can select any configured provider; compatibility is checked before ranking

OT_DEFAULT_PROVIDER and OT_DEFAULT_MODEL are preferences, not a provider allow-list. An explicit request can choose another configured model. Hosted requests permit transient fallback by default; use allow_fallback=false when audio must go to only one provider. To require French speaker turns, use language=fr, diarization=true and strict_capabilities=true; see the Scribe recipe. Groq cannot fulfill that requirement and is rejected rather than silently returning an undiarized transcript.

Authentication / storageRequired configurationCombination rules
HTTP bearerMCP token; Terraform auth_mode = "bearer"Works with any provider; token is separate from provider keys
HTTP OIDCIssuer, JWKS, service origin, scope and entitlement; auth_mode = "oidc"Works with any provider; use an external identity provider such as Keycloak
Managed desktop STDIOSetup TOML and Secret Service keyringLocal process authentication; enable providers and privacy permissions in Setup
No result storeDefault disabled; Terraform enable_result_store = falseInline output; stored or oversized auto results fail explicitly
Temporary S3 resultsCursor secret; Terraform enable_result_store = trueShared chunks across instances, TTL and deletion; extra IAM permissions required
Memory resultsOT_RESULT_STORE__BACKEND=memory + cursor secretLocal/test only; unsuitable for Scaleway cold starts or multiple instances

ElevenLabs requests default to zero retention, which needs an eligible Enterprise account. A standard account requires an explicit choice of OT_ELEVENLABS__ZERO_RETENTION=false after accepting provider-side retention. Disabling OpenTranscribe storage does not disable provider retention. See configuration and retention.

For ordinary HTTP, OT_* environment variables override a working-directory .env. Terraform injects the non-secret and secret maps from your private tfvars, while enforcing production security settings. Managed desktop mode ignores ambient environment settings; a key in the keyring does not enable a provider by itself. Changing keys/defaults needs a restart or Terraform apply, not a new application image. A new application version needs a published image and a separate deployment update.

Publication and upgrades

The publication protocol is the maintainer runbook: semantic versioning, version coherence, local checks, release PR, signed tag from reviewed main, automated publication, artifact verification and recovery after partial failure.

Git tags use v1.2.3; Python/MCP metadata and image tags use 1.2.3. The workflow publishes PyPI, the MCP Registry, GHCR and the Linux package, then creates an immutable GitHub release with checksums and provenance. Each deployment chooses its own version and configuration. For Scaleway upgrades, copy the chosen release into the private registry, update image_tag (and the release digest when pinned), review the plan, apply and verify the endpoint.

Security and privacy defaults

  • source HTTPS is required;
  • private, loopback, link-local, multicast, reserved, and metadata destinations are rejected;
  • every redirect target is resolved and validated;
  • proxy downloads connect to the validated public IP while preserving HTTPS SNI and the original Host header;
  • source downloads are streamed to an ephemeral file with byte limits, then deleted;
  • signed URL queries, audio, transcript text, authorization headers, and phrase hints are not logged;
  • no project telemetry is emitted;
  • transcripts are not retained unless a result store is explicitly enabled and used.
  • ElevenLabs zero-retention requests are enabled by default; disabling them is an explicit operator choice.

Read SECURITY.md, the threat model, and the retention policy before exposing the service publicly.

Known limitations

OpenTranscribe currently targets self-hosted, single-tenant installations. Provider feature parity is deliberately not guaranteed; capability negotiation exposes differences instead of hiding them. URL ingestion is the only remote input type. Synchronous provider limits still apply. OIDC supports external identity providers; asynchronous jobs remain a future capability. The memory store is neither durable nor horizontally scalable. S3 lookups prioritize a simple deployment contract over very-large-bucket indexing; dedicate the result prefix and enforce lifecycle deletion.

Application controls do not replace network policy. Internet-facing operators should still combine exact source-host allow-listing with egress firewall rules.

Provider prices, APIs, and capabilities change. The checked-in metadata is informational, not a contractual quote.

The desktop package targets Ubuntu 24.04 LTS on amd64 and is not yet supported on any other release, desktop, or architecture. No MCP client has a recorded end-to-end registration run, so OpenTranscribe Setup presents automatic registration as untested and verifies it by reading the registration back.

Recording consent

OpenTranscribe processes audio supplied by the operator. Recording and transcribing people may be subject to consent, privacy, employment, telecommunications, or data-protection laws. Operators are responsible for ensuring they have the necessary rights and consent.

Transcript content is untrusted data. OpenTranscribe never interprets it as instructions; downstream agents must preserve the same boundary.

Documentation

The canonical documentation site is fbossiere.github.io/open-transcribe-mcp.

Contributing

Contributions are welcome. Start with the contribution guide; open a feature issue before substantial work, and report vulnerabilities only through the private process in SECURITY.md.

Independence and trademarks

OpenTranscribe is an independent open-source project maintained by its contributors. It is not affiliated with, endorsed by, or sponsored by Plaud, Microsoft, ElevenLabs, Groq, or any transcription provider.

Plaud and all provider product names are trademarks of their respective owners.

License

Apache License 2.0. See LICENSE.

来源:README.md,提交 c8f4401

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

4
  1. v1.2.3最新Oct 29, 2026
  2. v1.2.2Oct 20, 2026
  3. v1.2.1Oct 4, 2026
  4. v1.1.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Transcribe 集成