Step-by-Step: Set Up Freebeat MCP
Step 1: Get your Freebeat API key
Sign in to Freebeat and copy the API key from your profile. Keep it private; you will add it to the MCP client’s environment configuration rather than placing it in a prompt.
Success: You have the key ready to paste into the `FREEBEAT_API_KEY` value.
Avoid: Do not paste a real API key into a public example, shared screenshot, or source-controlled file.
Step 2: Confirm Node.js/npm access
Freebeat MCP runs through npm without a separate installation step. Confirm that your environment can launch `npx`; the client will use it to run `freebeat-mcp` when it starts the server.
Success: Your system can access `npx` from the environment used by your MCP client.
Avoid: Do not assume a terminal’s Node.js setup is available to a desktop client running under a different environment.
Step 3: Add the server to Claude Desktop
Open Claude Desktop’s MCP configuration and add the following server entry. Replace the placeholder with your Freebeat key, save, then restart or refresh Claude Desktop to load it.
{
"mcpServers": {
"freebeat": {
"command": "npx",
"args": ["-y", "freebeat-mcp"],
"env": {
"FREEBEAT_API_KEY": "your-api-key-here"
}
}
}
}
Success: Claude Desktop loads the Freebeat MCP server after restart or refresh.
Avoid: Keep the JSON structure and key spelling exact, and replace the sample value rather than leaving the placeholder in place.
Use this Claude Desktop MCP config as the basic pattern; the required environment variable is `FREEBEAT_API_KEY`.
Step 4: Add the same server configuration in Cursor
Open Cursor’s MCP settings and add a server named `freebeat`. Use the same command, arguments, and API-key environment variable shown in the Claude example, then save and reload the MCP server.
{
"mcpServers": {
"freebeat": {
"command": "npx",
"args": ["-y", "freebeat-mcp"],
"env": {
"FREEBEAT_API_KEY": "your-api-key-here"
}
}
}
}
Success: Cursor shows the Freebeat server as loaded or available after you reload it.
Avoid: Do not omit the `env` block; without the key, Freebeat cannot authenticate requests.
For a direct client-specific reference, see this Cursor MCP configuration.
Step 5: Configure Windsurf using its MCP settings
Freebeat lists Windsurf as an MCP-compatible agent and indicates that the same Freebeat setup is used. Add the server in Windsurf’s MCP settings with command `npx`, arguments `-y` and `freebeat-mcp`, and the `FREEBEAT_API_KEY` environment variable. Freebeat’s published examples do not specify Windsurf’s configuration-file location or exact UI steps.
Success: Windsurf loads the server with the Freebeat key available to its process.
Avoid: Do not copy an assumed config-file path from another client; use the MCP settings available in your Windsurf version.
Use this Windsurf MCP settings guidance for the shared server fields, and check the client’s own interface for where to enter them.
Step 6: Import audio and make a first request
Ask your assistant to upload a local audio file or import a supported track URL. The `upload_audio` tool needs exactly one of `file_path` or `url`; it returns a `music_id` for use in a later video or effect request. Then describe the intended look and framing, for example: “Make a 9:16 cyberpunk music video for this track.”
Success: The import returns a `music_id`, and the assistant can refer to it in a generation request.
Avoid: Do not provide both `file_path` and `url` to the audio-import tool in the same request.
This audio import workflow is the first handoff in a music-video task.
Step 7: Add references and check the rendered result
If you want to guide the visuals, upload one or two images and pass the returned image URLs as reference images in your video request. Generation is asynchronous: use `get_task_status` until the task reaches a terminal status, then call `get_task_result` for a completed music-video or effect task.
Success: The task reaches `completed` and you can retrieve the generated video and cover URLs.
Avoid: Do not request a music-video or effect result before the status is completed; the server may return `TASK_NOT_COMPLETED`.
For visual guidance, use image reference uploads. For a request that uses the track’s `music_id`, review the beat-synced video generation flow. Keep checking with asynchronous task polling while rendering runs.