Basic information

Transport
stdio
Version
0.3.4
Category
Author
joylink-ltd
Quality
25
Views
723

About Lacuna MCP Server

Model Context Protocol server for the Lacuna Music API — generate AI music from Claude Desktop, Claude Code, Cursor, Zed, and other MCP-compatible clients.

Lacuna MCP is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by JOYLINK-LTD. It exposes 3 tools, including generate_music, get_generation, wait_for_generation. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ai, claude, lacuna, mcp, music.

Connection details

https://www.lacuna.fm/mcp

Setup

claude mcp add mcp-joylink-ltd --transport http https://www.lacuna.fm/mcp

Lacuna MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "lacuna": {
            "command": "npx",
            "args": [
                "-y",
                "lacuna-mcp"
            ],
            "env": {
                "LACUNA_API_KEY": "lyr_live_..."
            }
        }
    }
}

Lacuna MCP tools

  • generate_music — Create an AI music generation task on Lacuna. Returns immediately with a `pending` task; use `wait_for_generation` or `get_generation` to retrieve the finished tracks.
    style:string*, title:string*, lyrics:string, instrumental:boolean, model:string, vocal_gender:string, negative_tags:string, style_weight:number, weirdness_constraint:number, audio_weight:number
  • get_generation — Retrieve the current state of a music generation task by id.
    id:string*
  • wait_for_generation — Poll a generation task until it reaches a terminal state (`ready` or `failed`) or the timeout elapses. Returns the final task object including audio URLs on success.
    id:string*, poll_interval_seconds:integer, timeout_seconds:integer

Overview

What is Lacuna MCP?

Lacuna MCP is a Model Context Protocol server that integrates with the Lacuna Music API. It enables MCP-compatible clients (Claude Desktop, Claude Code, Cursor, Zed, Continue, etc.) to generate AI music as part of an agent loop.

How to use Lacuna MCP?

The server is a single npm package run over stdio. No install step is needed — your MCP client launches it via npx lacuna-mcp. Configure it by setting the LACUNA_API_KEY environment variable (required, from your profile dashboard, begins with lyr_live_). An optional LACUNA_BASE_URL can override the API base URL. Music API access requires the Pro plan or above.

Key features of Lacuna MCP

  • Create music generation tasks and get immediate pending task IDs.
  • Retrieve the current state of a generation task by its ID.
  • Poll a generation task until it completes or fails.

Use cases of Lacuna MCP

  • Generate AI music autonomously within an agent workflow.
  • Check generation status and retrieve completed tracks programmatically.
  • Integrate music creation into multi-step AI processes.

Frequently asked questions

1 What does Lacuna MCP do exactly?

It exposes three tools — generate_music, get_generation, and wait_for_generation — for creating and monitoring AI music generation tasks via the Lacuna Music API.

2 What are the prerequisites to use Lacuna MCP?

Node.js 18 or newer, an API key from a Lacuna account on the Pro plan or above, and an MCP-compatible client.

3 How do I install and configure it?

No installation is needed; run it via npx lacuna-mcp. Set the LACUNA_API_KEY environment variable. For Claude Desktop, add an entry to the mcpServers JSON config; for Claude Code, use claude mcp add.

4 What runtime or dependencies are required?

Node.js 18+ and a valid API key. The server runs over stdio and is published as an npm package.

5 Is there a free tier or trial for the API?

The README does not mention a free tier. It states that the Music API requires a Pro plan or above.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬