dsh-bailian-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-bailian-mcp
阿里云百炼(Token Plan)的 MCP 服务器,用 stdio 传输,可供 DSH(DeepSeek Harness)或任意 MCP 客户端挂载。覆盖语音合成、语音识别、文生图、文生视频四类多模态能力。
工具列表
工具 | 能力 | 接口 |
| 语音合成(文本 → 音频) |
|
| 语音识别(音频 → 文本) |
|
| 文生图(文本 → 图片) |
|
| 文生视频(文本 → 视频,异步任务) |
|
模型侧看到的工具名是 mcp__bailian__*。
Related MCP server: OpenMayhem MCP
配置 Key
复制 .env.example 为 .env,填入 Token Plan 团队版 Key(sk-sp- 前缀):
TOKEN_PLAN_API_KEY=sk-sp-xxxxxxxx这个 Key 和 DSH「模型提供方」里填的 aliyun-tokenplan 是同一个。Key 只存在这个文件里,不进 profile 配置,也不进 git。
构建
用 esbuild 打成自包含的 dist/bailian-mcp.mjs(SDK 和 zod 全在里面,目标机器只要装 Node 就能跑):
npm run bundle挂到 DSH
在 profile 的 cordis.patch.yml 末尾追加(别写进脚本整体维护的区块):
- insert:
- id: mcp-bailian
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: bailian
transport: stdio
command: 'D:\Develop\Interrupters\node-v24.18.0-win-x64\node.exe'
args:
- 'D:\Develop\00_OpenSources\deepseek-ai\dsh-bailian-mcp\dist\bailian-mcp.mjs'
env:
BAILIAN_OUT_DIR: 'D:\Develop\00_OpenSources\deepseek-ai\generated'
toolCallTimeoutMs: 600000注意:Key 不能写进 profile 的 env——DSH 会剥掉名字里带 KEY/TOKEN/SECRET 的环境变量。它必须放在本项目的 .env 里。toolCallTimeoutMs 给到 10 分钟是为了容纳文生视频的最长等待。
各工具参数
text_to_speech
参数 | 默认 | 说明 |
| 必填 | 要合成的文本 |
|
| 音色 id |
|
| 输出格式 |
|
| 采样率 |
|
| 合成模型 |
|
| 保存目录 |
speech_to_text
参数 | 默认 | 说明 |
| 必填 | 本地音频路径或公网 http(s) URL,时长 ≤ 5 分钟 |
|
| 识别模型 |
| 按扩展名推断 | 本地文件时的 MIME |
text_to_image
参数 | 默认 | 说明 |
| 必填 | 画面描述 |
|
| 支持 |
|
|
|
| — | 本地图片绝对路径;给出后走图生图/编辑,按 |
|
| 保存目录 |
不传 reference_image 是纯文生图;传了就是图生图(保留参考图构图、按提示词改内容)。生成的图片按真实字节补齐 .png / .jpg / .webp 后缀。
text_to_video
参数 | 默认 | 说明 |
| 必填 | 视频描述 |
|
| 文生视频;图生/参考生视频未接线 |
|
| 分辨率 |
|
| 画面比例 |
|
| 时长(秒),1~30 |
|
| 保存目录 |
冒烟
node dist/bailian-mcp.mjs < smoke.jsonlsmoke.jsonl 是三条 JSON-RPC:initialize、notifications/initialized、tools/list。
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
AI text-to-speech, multi-speaker dialogues, and audiobooks over remote Streamable HTTP MCP.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- FlicenseAqualityCmaintenanceMCP server that wraps MiniMax platform APIs (speech, video, image, music, and file management) as tools over stdio, enabling natural language interaction with MiniMax's AI services.161-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to access hosted models and services via a local stdio bridge, with live model discovery, pricing, balance checks, and paid execution requiring cost estimates.MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize text-to-speech audio, and clone or design custom voices. It also supports flexible output handling (URLs or local files) and multiple transport modes including stdio, REST, and SSE.428 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, and clone or design custom voices through MiniMax's AI APIs, with configurable local or URL resource output. Supports stdio, REST, and SSE transports for both local and cloud deployment.428 npmMIT