Lacuna Music
Generate original music from a text description — background beds and soundtrack loops for video, podcast, game and ad workflows, and full vocal songs when…
What it can do
- Generate Music: Create an AI music generation task on Lacuna. Returns immediately with a `pending` task; poll `get_generation` to retrieve the finished tracks and their audio URLs.
- Get Generation: Retrieve the current state of a music generation task by id. Status is `pending`, `ready`, or `failed`; audio URLs appear on `ready`.
- List Models: List the music models available through the API, with their credit cost per task, tracks produced per task, and language coverage.
What data it sees
Do you need an account
No: the server works without sign-in
Generate original music from a text description — background beds and soundtrack loops for video, podcast, game and ad workflows, and full vocal songs when you supply lyrics. Every finished task returns hosted MP3 URLs, so an agent can hand the audio straight to the next step.
Tools
generate_music— queue a generation and return the task id immediatelyget_generation— read a task's status and, once ready, its audio URLs (free, no credits)list_models— available models with their credit cost and takes per request
Generation takes a few minutes, so generate_music returns a pending task rather than blocking. Poll get_generation, or subscribe to the job.completed webhook.
Models
- Aether — two takes per request, widest style range, accepts vocal register and negative tags
- Echo — one take with a complete song structure of up to three minutes
Getting started
Create an API key at lacuna.fm/profile/api. The Music API is available on the Pro plan and above — see plans and credits. Full reference at lacuna.fm/docs/api.
Credits are deducted when a task is queued and refunded automatically if the generation fails.
How to connect
How to connect Lacuna Music to Claude
The server address to paste into Claude settings:
https://lacuna--louistsangjk.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Lacuna Music to ChatGPT
The server address to paste into ChatGPT settings:
https://lacuna--louistsangjk.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Lacuna Music to Cursor
The server address to paste into Cursor settings:
https://lacuna--louistsangjk.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (3)
Raw names from tools/list. Only developers need these.
| generate_music | Create an AI music generation task on Lacuna. Returns immediately with a `pending` task; poll `get_generation` to retrieve the finished tracks and their audio URLs. |
| get_generation | Retrieve the current state of a music generation task by id. Status is `pending`, `ready`, or `failed`; audio URLs appear on `ready`. |
| list_models | List the music models available through the API, with their credit cost per task, tracks produced per task, and language coverage. |