Volcengine Ark Media MCP Server
Volcengine Ark Agent Plan media tools: image/video generation, TTS and ASR.
Volcengine Ark Media scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Media. GitHub shows 0 stars. Package registries report about 426 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mrlinwang-volcengine-ark-media-mcp": { "command": "npx", "args": [ "-y", "volcengine-ark-media-mcp@1.0.0" ], "env": { "ARC_AGENT_PLAN_KEY": "YOUR_ARC_AGENT_PLAN_KEY", "ARK_MEDIA_OUTPUT_DIR": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ARC_AGENT_PLAN_KEYSecret | Required | Volcengine Ark Agent Plan API key |
ARK_MEDIA_OUTPUT_DIR | Optional | Directory for TTS output files (default ~/.arc-agent-media-mcp/outputs) |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
volcengine-ark-media-mcp
火山方舟 Agent Plan 媒体 MCP Server。通过 MCP 工具调用:
- 图片生成:Seedream 5.0 Pro / 5.0 Flash
- 视频生成:Seedance 2.5 / 2.0 系列(任务创建、查询、等待、列表、取消/删除)
- 语音合成:豆包语音合成 2.0
- 语音识别:豆包流式语音识别 2.0
Agent Plan Medium 支持图片、TTS、ASR,不支持视频;视频工具会返回明确的套餐提示。
工具
| 工具 | 作用 |
|---|---|
ark_generate_image | 文生图、单图/多图生图,返回图片 URL |
ark_create_video_task | 创建视频生成任务 |
ark_get_video_task | 查询任务状态和视频 URL |
ark_wait_video_task | 轮询等待任务结束 |
ark_list_video_tasks | 分页列出任务 |
ark_delete_video_task | 取消排队任务或删除任务 |
ark_text_to_speech | 文本转语音,保存文件并返回音频内容 |
ark_speech_to_text | 音频转文本,支持常见格式 |
ark_list_models | 列出模型、默认值和套餐限制 |
快速开始
npm install
Copy-Item .env.example .env
# 编辑 .env,填入 ARC_AGENT_PLAN_KEY
npm run build
node --env-file=.env dist/index.js
本地调试也可以直接:
npm run dev
MCP 客户端配置
Codex
在 ~/.codex/config.toml 中加入:
[mcp_servers.volcengine-ark-media-mcp]
command = "node"
args = ["E:\\Codes\\arc-agent-media-mcp\\dist\\index.js"]
env = { ARC_AGENT_PLAN_KEY = "你的 Agent Plan API Key" }
Claude Code / Claude Desktop
{
"mcpServers": {
"volcengine-ark-media-mcp": {
"command": "node",
"args": ["E:\\Codes\\arc-agent-media-mcp\\dist\\index.js"],
"env": {
"ARC_AGENT_PLAN_KEY": "你的 Agent Plan API Key"
}
}
}
}
通过 npx(npm 包发布后)
{
"mcpServers": {
"volcengine-ark-media-mcp": {
"command": "npx",
"args": ["-y", "volcengine-ark-media-mcp"],
"env": {
"ARC_AGENT_PLAN_KEY": "你的 Agent Plan API Key"
}
}
}
}
在 magpie 中本地安装
已发布到 npm 与官方 MCP Registry,可以直接用 npm 包安装:
{
"mcpServers": {
"volcengine-ark-media-mcp": {
"command": "npx",
"args": ["-y", "volcengine-ark-media-mcp"],
"env": { "ARC_AGENT_PLAN_KEY": "你的 Agent Plan API Key" }
}
}
}
也可以继续用本地仓库的 wrapper 安装:
magpie library mcp add volcengine-ark-media-mcp node E:\Codes\arc-agent-media-mcp\scripts\run-local.mjs agents=codex
magpie library sync
上面的
E:\Codes\arc-agent-media-mcp是本机示例路径;请替换成你实际 clone 的仓库目录。
scripts/run-local.mjs 会从仓库根目录的 .env 读取 ARC_AGENT_PLAN_KEY,再启动 dist/index.js。Windows 下也可以直接用 scripts\run-local.cmd。
也可以在 magpie 的 Library → MCP servers → 添加 中填写:
- Command:
node - Args:
E:\Codes\arc-agent-media-mcp\dist\index.js - Environment:
ARC_AGENT_PLAN_KEY=你的 Agent Plan API Key
如果 magpie 已经在运行,命令行添加后需要重启一次 magpie,让运行中的网关加载新 server;只重启 Codex 不够。通过 magpie GUI 添加则不需要重启。安装后重启对应 agent,让 magpie 写入的 MCP 配置生效。
配套 Skill
仓库包含 skills/volcengine-ark-media-mcp/SKILL.md,用于教 agent 在图片、视频、TTS、ASR 场景中选择正确的 ark_* 工具,并处理套餐限制、媒体 URL 过期和本地文件输入。
安装到 Codex:
Copy-Item -Recurse -Force .\skills\volcengine-ark-media-mcp "$HOME\.codex\skills\volcengine-ark-media-mcp"
在 magpie 中可从本仓库的 skills/volcengine-ark-media-mcp 安装该 Skill。
magpie 市场
magpie 的 MCP 市场搜索来自官方 MCP Registry。本包已发布为
io.github.MrLinWang/volcengine-ark-media-mcp@1.0.0,在 magpie 中搜索 volcengine 或 ark 即可看到并安装。发布新版本的步骤见 PUBLISHING.md。
环境变量
| 变量 | 必填 | 默认值 |
|---|---|---|
ARC_AGENT_PLAN_KEY | 是 | — |
ARK_API_KEY | 兼容别名 | — |
ARK_BASE_URL | 否 | https://ark.cn-beijing.volces.com/api/plan/v3 |
ARK_TTS_BASE_URL | 否 | https://openspeech.bytedance.com/api/v3/plan |
ARK_ASR_BASE_URL | 否 | wss://openspeech.bytedance.com/api/v3/plan/sauc |
ARK_TTS_RESOURCE_ID | 否 | seed-tts-2.0 |
ARK_ASR_RESOURCE_ID | 否 | volc.seedasr.sauc.duration |
ARK_IMAGE_MODEL | 否 | doubao-seedream-5-0-pro |
ARK_VIDEO_MODEL | 否 | doubao-seedance-2.0 |
ARK_TTS_SPEAKER | 否 | zh_female_gaolengyujie_uranus_bigtts |
ARK_MEDIA_OUTPUT_DIR | 否 | ~/.arc-agent-media-mcp/outputs |
ARK_REQUEST_TIMEOUT_MS | 否 | 180000 |
ARK_PLAN_TIER | 否 | unknown;可选 small、medium、large、max |
ARK_DEBUG | 否 | 0;设为 1 输出调试日志 |
套餐等级配置
套餐等级本身由火山方舟账号里的 Agent Plan 订阅决定,MCP 不能修改;每个用户使用自己的 ARC_AGENT_PLAN_KEY,该 Key 所属的订阅就是实际套餐等级。
ARK_PLAN_TIER 只是 MCP 侧的本地提示/提前校验开关,不会改变实际权限:
- 设置为
medium或small:ark_list_models会标记视频模型不可用,ark_create_video_task会在调用 API 前直接返回“需要 Large/Max”的错误。 - 设置为
large或max:视频工具正常调用。 - 不设置或设置为
unknown:不提前判断,由火山方舟 API 的实际返回决定(Medium 会返回UnsupportedModel)。
示例:
# .env
ARC_AGENT_PLAN_KEY=你的 Key
ARK_PLAN_TIER=medium
如果升级了套餐,记得把 ARK_PLAN_TIER 改成 large/max,或删除该变量。
使用示例
生成图片:
用 ark_generate_image 生成一张 1K 的赛博朋克猫咪图片,提示词:……
生成视频(需要 Large/Max):
用 ark_create_video_task 创建 5 秒 16:9 视频,然后立刻用 ark_wait_video_task 等待完成。
语音合成:
用 ark_text_to_speech 把“你好,欢迎使用火山方舟”合成成 mp3。
语音识别:
用 ark_speech_to_text 转写
C:\audio\meeting.mp3。
注意事项
- 图片和视频 URL 有效期为 24 小时,请及时转存。
- 视频参考视频只支持公网 URL 或
asset://素材 ID;本地视频需先上传。 - TTS 输出默认保存到
~/.arc-agent-media-mcp/outputs,同时以 MCP audio content 返回。 - ASR 非 WAV 文件会通过内置
ffmpeg-static转为 16k 单声道 WAV。 - 所有工具都会消耗 Agent Plan 额度。
测试
npm run build
npm test
npm run smoke:mcp
npm run smoke:magpie
$env:RUN_LIVE="1"; npm run smoke:live
smoke:magpie 需要 magpie 已重启并加载本 server;smoke:live 会调用真实的图片、TTS、ASR,并在 Medium 套餐上验证视频返回 UnsupportedModel。
License
MIT
Frequently asked questions
What is Volcengine Ark Media MCP Server?
Volcengine Ark Agent Plan media tools: image/video generation, TTS and ASR.
How do I install Volcengine Ark Media MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Volcengine Ark Media MCP Server runs locally from the npm package volcengine-ark-media-mcp with the command npx -y volcengine-ark-media-mcp@1.0.0.
Is Volcengine Ark Media MCP Server free and open source?
Yes. Volcengine Ark Media MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Volcengine Ark Media MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Volcengine Ark Media MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Volcengine Ark Media MCP Server's trust score calculated?
Volcengine Ark Media MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.