Connect MCP

Point a compatible MCP client at the hosted endpoint. No API key in the config — account login happens through OAuth when you need live tools.

Hosted OAuth (required)

Add the remote MCP URL with no API key. Compatible clients talk to AudioDN immediately for docs and planning. When you upload a track (or call any live API tool), the client completes authorization code + PKCE against mcp.audiodelivery.net — sign up or log in, create your organization, pick output presets, get a default collection, and optionally start a free trial.

  1. Set the Streamable HTTP URL to https://mcp.audiodelivery.net/mcp (no headers, no env key).

  2. Ask the agent to do something live (upload a track, create a collection) or call adn_sign_in. The client opens account login at account.audiodeliverynetwork.com.

  3. Finish onboarding (organization, company type → output presets, default collection, optional trial), then Allow. Consent mints a revocable API Access key labeled MCP · … under Settings → API Keys. Delete that key to disconnect.

{
"mcpServers": {
  "audiodn": {
    "url": "https://mcp.audiodelivery.net/mcp"
  }
}
}

Knowledge first, OAuth for live tools

Unauthenticated sessions can use knowledge/docs tools. Live API tool calls (and adn_sign_in) return 401 with a WWW-Authenticate challenge so the client starts OAuth. Pasted API Access keys are not accepted on the hosted endpoint.

Discovery endpoints on the MCP host include /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server. The authorization scope is account. Clients that support Dynamic Client Registration use POST /register on the same host.

Local stdio

Prefer the hosted URL for real onboarding. npx -y @audiodn/mcp still exposes knowledge tools with no key; ADN_API_KEY is only for local/script live calls and skips the hosted OAuth onboarding path.

VariableRequiredDefaultPurpose
ADN_API_KEYNo—API Access key for live-API tools
ADN_API_BASE_URLNohttps://api.audiodelivery.netOverride the API host
ADN_MCP_LIVE_DOCSNooffSet to 1 to refresh bundled docs from the public site at startup
ADN_MCP_TIMEOUT_MSNo30000Per-request timeout in milliseconds

Cursor

Settings → Tools & Integrations → MCP, or edit ~/.cursor/mcp.json.

Hosted (OAuth):

{
"mcpServers": {
  "audiodn": {
    "url": "https://mcp.audiodelivery.net/mcp"
  }
}
}

Local stdio:

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

Prefer a guided install? Start from Build with AI, which includes Cursor deeplinks.

Claude Desktop

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

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

Claude Code

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

VS Code (Copilot)

Add to .vscode/mcp.json:

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

Codex

In ~/.codex/config.toml:

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

Next: Tools & resources. Package details: @audiodn/mcp on npm.