Lacuna Music

Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
77%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~542Token(工具定義)
~1.4 KB典型回應大小
極小的注意力影響(128k 上下文的 0.42%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "lacuna-mcp": {
      "command": "npx",
      "args": [
        "lacuna-mcp"
      ]
    }
  }
}

可執行的套件

npmlacuna-mcp0.3.4stdio

遠端端點

https://www.lacuna.fm/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡generate_music(style, title, lyrics, instrumental, model, ...)

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.

輸入結構描述

{
  "type": "object",
  "properties": {
    "style": {
      "type": "string",
      "maxLength": 1000,
      "description": "Style description, e.g. \"pop, female vocal, 120 bpm, energetic\"."
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "description": "Track title."
    },
    "lyrics": {
      "type": "string",
      "maxLength": 5000,
      "description": "Lyrics in plain text. Required unless `instrumental` is true."
    },
    "instrumental": {
      "type": "boolean",
      "description": "Generate an instrumental track (no lyrics). Defaults to false."
    },
    "model": {
      "type": "string",
      "enum": [
        "aether",
        "echo"
      ],
      "description": "Generation model. Defaults to `aether`. Call `list_models` for what each one covers."
    },
    "vocal_gender": {
      "type": "string",
      "enum": [
        "m",
        "f"
      ],
      "description": "Lead vocal gender hint (aether only)."
    },
    "negative_tags": {
      "type": "string",
      "maxLength": 500,
      "description": "Negative style tags to avoid (aether only)."
    },
    "style_weight": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Style weight 0–1 (aether only)."
    },
    "weirdness_constraint": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Weirdness constraint 0–1 (aether only)."
    },
    "audio_weight": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Audio reference weight 0–1 (aether only)."
    }
  },
  "required": [
    "style",
    "title"
  ],
  "additionalProperties": false
}
🟢get_generation(id)

Retrieve the current state of a music generation task by id. Status is `pending`, `ready`, or `failed`; audio URLs appear on `ready`.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Generation task id, returned by generate_music."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢list_models

List the music models available through the API, with their credit cost per task, tracks produced per task, and language coverage.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具