Audio Delivery Network

net.audiodelivery由 audiodelivery.net 发布官方发布者v0.3.3更新于 Nov 2, 2026

AI-manageable audio CDN: upload, transcode, normalize, stream & deliver audio, plus grounded docs.

已验证Streamable HTTP可网页运行知识与记忆开发者工具媒体与设计

概览

AI 生成的概览

AudioDN 的 MCP 服务器,让助手查询官方 API 文档,并管理音频托管:创作者、合集、上传、曲目与播放。

可以做什么
  • 搜索并阅读内置的 AudioDN 文档、指南与 OpenAPI 操作定义
  • 列出、创建和更新创作者与合集
  • 管理上传会话并登记曲目以获取上传地址
  • 读取曲目并轮询其就绪状态,列出交付变体
  • 创建和读取播放会话,返回签名播放地址
适用场景
适合在助手协助用户在 AudioDN 上搭建音频或播客托管时使用,或在编写 AudioDN REST API 集成代码时,让回答基于官方规范而不是猜测接口。
运行要求
可作为托管的 Streamable HTTP 端点使用,也可通过 npx 运行 npm 包 @audiodn/mcp 在本地运行(需要 Node.js)。知识与文档工具无需密钥;实时 API 工具需要 AudioDN API 密钥,本地通过 ADN_API_KEY 提供,托管端点通过 Authorization bearer 令牌提供。可选变量:ADN_API_BASE_URL、ADN_MCP_ALLOW_DELETE、ADN_MCP_LIVE_DOCS、ADN_MCP_TIMEOUT_MS。
安装前请注意
该 API 密钥被描述为服务端、完全访问权限的密钥,应视为敏感机密。创建和更新工具会改动账户数据,需由客户端提示确认。删除创作者和合集的工具默认隐藏,需设置 ADN_MCP_ALLOW_DELETE=1 才启用,且托管端点始终不提供。上传音频需把文件字节发送到返回的上传地址。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/net.audiodelivery%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "audio-delivery-network": {
      "type": "http",
      "url": "https://mcp.audiodelivery.net/mcp"
    }
  }
}

README

@audiodn/mcp

Model Context Protocol server for AudioDN.

Exposes the AudioDN REST API as MCP tools so AI agents (Cursor, Claude Desktop, Claude Code, VS Code, Codex, etc.) can configure audio hosting on a user's behalf, plus offline, read-only knowledge tools grounded in the canonical AudioDN OpenAPI spec and documentation so agents look up the correct endpoints instead of guessing.

Install in Cursor

One-click install (hosted endpoint, zero setup — knowledge/doc tools work immediately):

[Add AudioDN to Cursor]

To enable the live API tools, set ADN_API_KEY (an adn_... key from the dashboard) in your environment before launching Cursor; the hosted endpoint picks it up from the Authorization header. Prefer a local stdio server? Use this button instead:

[Add AudioDN (npx) to Cursor]

Both correspond to the mcp.json shipped with this plugin. See Cursor's MCP docs for manual setup.

Install

bash
npm install -g @audiodn/mcp# or run on demandnpx @audiodn/mcp

Configure

Set a server-side AudioDN API key (mint one in the dashboard at https://account.audiodeliverynetwork.com under Settings → API Keys).

bash
export ADN_API_KEY="adn_..."# Optional overrides:# export ADN_API_BASE_URL="https://api.audiodelivery.net"  # default# export ADN_MCP_ALLOW_DELETE=1     # enable destructive delete tools (off by default)# export ADN_MCP_LIVE_DOCS=1        # refresh bundled docs from the public site at startup# export ADN_MCP_TIMEOUT_MS=30000   # per-request timeout

Environment variables

VariableRequiredDefaultPurpose
ADN_API_KEYYes–Server-side, full-access API key used for all live-API tools.
ADN_API_BASE_URLNohttps://api.audiodelivery.netOverride the API host.
ADN_MCP_ALLOW_DELETENooffSet to 1 to expose the destructive adn_delete_* tools.
ADN_MCP_LIVE_DOCSNooffSet to 1 to refresh bundled docs from the public site (falls back to the bundle offline).
ADN_MCP_TIMEOUT_MSNo30000Per-request timeout in milliseconds.

Safety model

  • Reads and knowledge tools are annotated read-only and always available.
  • Create/update tools run with the API key but are annotated so MCP clients can prompt for approval; the client is the human-in-the-loop layer.
  • The two delete tools (adn_delete_creator, adn_delete_collection) are hidden and refuse to run unless the server is started with ADN_MCP_ALLOW_DELETE=1. Set it once to opt in.

Hosted (remote) endpoint

Besides the local npx stdio server above, AudioDN runs the same tool set as a hosted Streamable HTTP endpoint on Cloudflare Workers, so clients that support remote MCP servers can connect without installing anything.

  • URL: https://mcp.audiodelivery.net/mcp — the MCP endpoint. The root / serves a human landing page in a browser (and JSON for tooling), and /health returns machine-readable server info.
  • Auth — bring your own key: the endpoint is public and stores no secrets. Knowledge/doc tools work with no key. To enable the live API tools, send your AudioDN API key on every request as either header:
Authorization: Bearer adn_...# orX-ADN-API-Key: adn_...
  • Deletes are never exposed on the hosted endpoint, regardless of key.

Example client configuration (clients that support a remote/HTTP MCP URL):

json
{  "mcpServers": {    "audiodn": {      "url": "https://mcp.audiodelivery.net/mcp",      "headers": { "Authorization": "Bearer adn_..." }    }  }}

The hosted Worker lives in worker/ and is deployed with Wrangler (npm run deploy); it is not part of the published npm package.

Use with Cursor

Settings → Tools & Integrations → MCP (or edit ~/.cursor/mcp.json):

json
{  "mcpServers": {    "audiodn": {      "command": "npx",      "args": ["-y", "@audiodn/mcp"],      "env": { "ADN_API_KEY": "adn_..." }    }  }}

Use with Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (or the equivalent on your OS), then restart the app:

json
{  "mcpServers": {    "audiodn": {      "command": "npx",      "args": ["-y", "@audiodn/mcp"],      "env": { "ADN_API_KEY": "adn_..." }    }  }}

Use with Claude Code

bash
claude mcp add audiodn --env ADN_API_KEY=adn_... -- npx -y @audiodn/mcp

Use with VS Code (Copilot) / Codex / Windsurf

Any client that speaks MCP over stdio uses the same command. For VS Code, add to .vscode/mcp.json:

json
{  "servers": {    "audiodn": {      "command": "npx",      "args": ["-y", "@audiodn/mcp"],      "env": { "ADN_API_KEY": "adn_..." }    }  }}

For Codex CLI (~/.codex/config.toml):

toml
[mcp_servers.audiodn]command = "npx"args = ["-y", "@audiodn/mcp"]env = { ADN_API_KEY = "adn_..." }

Tools

Knowledge tools (read-only, offline, no API key needed)

ToolDescription
adn_aboutServer version, bundled OpenAPI version, docs source, API base.
adn_search_docsKeyword search over bundled docs + OpenAPI summaries.
adn_list_operationsList all REST operations (operationId, method, path).
adn_get_operationFull OpenAPI definition for one operationId.
adn_get_guideCanonical guide (authentication, upload, processing, playback, webhooks, variant-types, security, compatibility).
adn_list_variant_typesThe seven variant types and which are API-creatable.

Live API tools

ToolDescriptionAnnotation
adn_list_creators / adn_get_creatorRead creatorsread-only
adn_create_creator / adn_update_creatorCreate/update creatorwrite
adn_delete_creatorDelete creatordestructive (gated)
adn_list_collections / adn_get_collectionRead collectionsread-only
adn_create_collection / adn_update_collectionCreate/update collectionwrite
adn_delete_collectionDelete collection + its tracksdestructive (gated)
adn_list_tracks / adn_get_trackRead tracks; adn_get_track polls readinessread-only
adn_create_upload_session / adn_get_upload_sessionManage upload sessionswrite / read-only
adn_create_track_in_upload_sessionRegister a track, get track_upload.upload_urlwrite
adn_create_play_session / adn_get_play_sessionMint/read play sessions (scope: collection, track)write / read-only
adn_list_variantsList org delivery variantsread-only

Resources

The server also exposes canonical docs as MCP resources for clients that attach context directly: audiodn://openapi.json, audiodn://llms-full.txt, and audiodn://guide/{topic} for each guide.

Example flow

An agent helping a user host a podcast might call:

  1. adn_get_guide({ topic: "upload" }) — learn the canonical multi-step flow.
  2. adn_create_collection({ title: "My Podcast" })
  3. adn_create_upload_session({ collection_id })
  4. adn_create_track_in_upload_session({ upload_session_id, file_name: "ep1.mp3" })
  5. Your code PUTs the audio bytes to track_upload.upload_url.
  6. Poll adn_get_track({ track_id }) until track_status_id === "ready".
  7. adn_create_play_session({ scope: "track", track_id }) — returns a signed playback URL that can be embedded directly.

Build from source

bash
npm installnpm run buildnpm test           # vitestnpm run smoke      # build + spawn the real binary over stdionode dist/index.js

Deploy the hosted endpoint

The Cloudflare Worker in worker/ serves the same tools over Streamable HTTP.

bash
npx wrangler loginnpm run dev:worker        # local: http://localhost:8787/mcp and /healthnpm run deploy            # publish -> https://mcp.audiodelivery.net (custom domain)curl https://mcp.audiodelivery.net/health

The custom domain mcp.audiodelivery.net is provisioned by Cloudflare from the routes entry in wrangler.toml (the audiodelivery.net zone must be on the same Cloudflare account).

To list on the official MCP registry (registry name net.audiodelivery/mcp, which must match mcpName in package.json): verify the domain once with mcp-publisher login dns --domain audiodelivery.net (add the printed TXT record), confirm remotes[0].url in server.json points at the deployed URL, then mcp-publisher publish.

Keeping docs fresh

Bundled snapshots live in assets/snapshots/. Refresh them from the public site with npm run sync; prepublishOnly verifies they are consistent before a release.

Reference

来源:README.md,提交 f20f46e

工具

6

adn_about

About this server

Report the MCP server version, the bundled OpenAPI version, the docs source (bundled snapshot vs live), and the canonical API base URL. Use this to confirm how fresh the grounded documentation is.

无需输入参数。

adn_search_docs

Search docs

Search the bundled AudioDN documentation (llms-full.txt, OpenAPI operation summaries, and guides) for a keyword or phrase. Returns ranked snippets. Use this before writing integration code to ground answers in canonical docs.

输入参数limitquery必填

adn_list_operations

List API operations

List every AudioDN REST API operation from the bundled OpenAPI spec (operationId, method, path, summary). Use this to discover the exact, canonical endpoints instead of guessing.

无需输入参数。

adn_get_operation

Get API operation

Get the full OpenAPI definition for a single operation by operationId (method, path, parameters, request body, responses). Use adn_list_operations to find operationIds.

输入参数operationId必填

adn_get_guide

Get guide

Get a concise, canonical guide for a core AudioDN concept. Topics: authentication, upload, processing, playback, webhooks, variant-types, security, compatibility.

输入参数topic必填

adn_list_variant_types

List variant types

List the AudioDN variant types (transcode, preview, levels, waveform_video, waveform_image, original, cover) with descriptions and whether each can be created via the REST API. Use this to distinguish variant types from org delivery "index" values (see adn_list_variants).

无需输入参数。

版本历史

1
  1. v0.3.3最新Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分