Skip to the content
  1. Docs
  2. Guides for AI

Set up your account with the MusicAPI MCP server

Core + Managed TransfersGuide · 4 min
Connect Claude Code, Cursor, Claude Desktop or ChatGPT to the MusicAPI MCP server, and let your AI agent set up and run your partner account. Install steps and all 26 tools.

The MusicAPI MCP server lets an AI agent work on your partner account: read its setup, add integrations, set return URLs, make API keys, set up webhooks and alert rules, check usage, and search these docs. It acts as your dashboard account, after you allow it on a consent page.

Server URL
https://api.musicapi.com/mcp
  • Transport: Streamable HTTP.
  • Sign-in: OAuth 2.1 with PKCE and dynamic client registration. Your agent registers itself and opens the consent page on app.musicapi.com. You sign in to the dashboard as usual and press Allow.
  • Scopes: account:read for the read tools, account:write for the write and delete tools.
  • An access token lives 1 hour. The agent renews it with a refresh token for up to 30 days.

Install

Terminal
claude mcp add --transport http musicapi https://api.musicapi.com/mcp

Then run /mcp in Claude Code, pick musicapi and sign in.

Try it

Ask your agent things like:

  • "Which music services are set up on my MusicAPI account, and which are off?"
  • "Add https://app.example.com/callback to my return URLs."
  • "Create a webhook for transfer.completed and match.report_ready to https://api.example.com/webhooks/musicapi, then send a test event."
  • "Page me when more than 5% of calls fail over 15 minutes."
  • "How many requests did we make this month?"

The tools

Read

ToolWhat it does
get_accountYour account: name, slug, return URLs, Managed Transfers settings, evaluation status.
list_integrationsThe music services set up on your account, whether each is on, and which content types it may move.
list_api_keysYour API keys: each Client ID in full, each Client Secret masked.
list_integration_usersThe users who connected a service, newest first, 20 per page. No service tokens.
list_transfersYour Managed Transfers runs, newest first, with status and counts.
get_transferOne run: status, progress, groups and the reason when it failed.
list_webhooksYour webhook endpoints, their events and their deliveries of the last 30 days. Secrets masked.
list_webhook_deliveriesThe delivery log of one endpoint: event, status, attempts, your server's answer.
list_alert_rulesYour alert rules and whether each one fires now. Secrets masked.
get_usage_summaryBilled requests this month and last month, from the same table as the invoices.
list_servicesThe services a user can connect, what each supports, and which the catalog search covers.
search_docsSearches these docs and answers the best pages with an excerpt.
get_doc_pageReads one docs page as Markdown, by its path or URL.

Write

ToolWhat it does
create_integrationAdds a music service with your own developer app credentials.
update_integrationTurns an integration on or off, sets its OAuth client id and secret, or its content types.
set_return_urlsReplaces the whole list of Accepted Return URLs.
create_api_keyMakes a Client ID and a Client Secret. The secret shows once, in the answer.
create_webhookAdds an endpoint for the events you pick. The signing secret shows once.
update_webhookChanges the URL, the events or the on/off switch of one endpoint.
send_test_webhookSends a test transfer.completed to one endpoint. One per endpoint per minute.
create_alert_ruleAdds a rule that emails or pages you when a metric passes its threshold.
update_alert_ruleChanges one rule.
update_managed_transfers_settingsChanges the branding, the custom domain and the destination of your hosted flow, the transfer emails and the attach-only browser tokens.

Delete

These tools carry the MCP destructiveHint. A good agent asks you before it runs one.

ToolWhat it does
delete_api_keyRevokes one key, both halves. Calls with it fail at once. The account's original key cannot be deleted.
delete_webhookRemoves one endpoint and its delivery log.
delete_alert_ruleRemoves one alert rule.

What the server never does

  • No tool deletes a connected end user, and no tool reads a user's music-service tokens.
  • No tool shows a Client Secret or a signing secret again after it was made.

Revoke access

Open Settings → Connected apps in the dashboard. Apps and AI agents lists every app that you allowed. Revoke stops its tokens at once.