Skip to main content
Glama
README.md
<p align="center">
  <a href="https://lumimusic.ai/mcp">
    <img src="./assets/icon-400.png" alt="LumiMusic Logo" width="88" height="88" />
  </a>
</p>

<h1 align="center">LumiMusic MCP Server</h1>

<p align="center">
  Official Remote <a href="https://modelcontextprotocol.io">Model Context Protocol (MCP)</a> server for <a href="https://lumimusic.ai/mcp"><strong>LumiMusic AI Music Studio</strong></a>.<br />
  Generate full songs, remix tracks, split up to 12 stems, analyze BPM/key, and master studio audio directly from Claude, Cursor, VS Code, ChatGPT, Codex, Gemini CLI, or Cline.
</p>

<p align="center">
  <a href="https://cursor.com/install-mcp?name=lumimusic&config=eyJ1cmwiOiJodHRwczovL21jcC5sdW1pbXVzaWMuYWkvbWNwIn0%3D">
    <img src="https://img.shields.io/badge/Install_in_Cursor-000000?style=for-the-badge&logo=cursor&logoColor=white" alt="Install in Cursor" />
  </a>
  <a href="https://vscode.dev/redirect/mcp/install?name=lumimusic&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.lumimusic.ai%2Fmcp%22%7D">
    <img src="https://img.shields.io/badge/Install_in_VS_Code-007ACC?style=for-the-badge&logo=visualstudiocode&logoColor=white" alt="Install in VS Code" />
  </a>
  <a href="https://lumimusic.ai/mcp">
    <img src="https://img.shields.io/badge/Website-lumimusic.ai%2Fmcp-6D28D9?style=for-the-badge" alt="LumiMusic MCP Website" />
  </a>
</p>

---

## Highlights

- **Zero Local Setup, Zero API Keys**: Hosted Remote MCP over **Streamable HTTP** (`https://mcp.lumimusic.ai/mcp`) secured with **OAuth 2.1 + PKCE + Dynamic Client Registration (RFC 9728)**. Sign in once in your browser and revoke anytime in Account settings.
- **Full End-to-End Studio in 14 Tools**: Songwriting, multi-model generation across **7 AI music engines** (`V4_5ALL`, `V5`, `V5_5`, `M9`, `M9_5`, `R1`, `R2`), reference audio, custom voices, track extension, remixing, curated voice covers, vocal/instrumental layering, 2/4/12-stem splitting, BPM/key analysis, AI mastering, lossless WAV export, and word-level LRC lyrics.
- **Live Web Studio Sync**: Every generated song, stem, and master syncs immediately to your [LumiMusic Library](https://lumimusic.ai/library) and Workspaces.
- **Same Account & Auto-Refund Protection**: Included with every LumiMusic account (Free & paid plans) at no extra fee. Failed tasks—including upstream copyright filter blocks—automatically refund reserved credits.
- **Safe by Design**: Non-destructive tool set with explicit MCP safety annotations (`readOnlyHint`, `destructiveHint`, `idempotentHint`). Track deletion and trashing are intentionally disabled over MCP.

---

## Remote Endpoint

| Property | Value |
| --- | --- |
| **MCP Endpoint** | `https://mcp.lumimusic.ai/mcp` |
| **Transport** | Streamable HTTP (`streamable-http`) |
| **Authentication** | OAuth 2.1 + PKCE + Dynamic Client Registration |
| **Protected Resource Metadata** | `https://mcp.lumimusic.ai/.well-known/oauth-protected-resource` |
| **OAuth Scopes** | `mcp:read`, `mcp:create`, `mcp:organize` |
| **Documentation & Web Setup** | [https://lumimusic.ai/mcp](https://lumimusic.ai/mcp) |

---

## Quick Start

### Claude Code

**Option A — Install as a Claude Code Plugin (Remote MCP + Producer Skill):**

```bash
claude plugin marketplace add lumimusic-ai/lumimusic-mcp
claude plugin install lumimusic@lumimusic
```

**Option B — Connect the Remote MCP Server directly:**

```bash
claude mcp add --transport http lumimusic https://mcp.lumimusic.ai/mcp
```

Then run `/mcp` inside Claude Code and complete browser OAuth sign-in.

### Cursor

Click **[Install in Cursor](https://cursor.com/install-mcp?name=lumimusic&config=eyJ1cmwiOiJodHRwczovL21jcC5sdW1pbXVzaWMuYWkvbWNwIn0%3D)**, or add this to `.cursor/mcp.json` (or `~/.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "lumimusic": {
      "url": "https://mcp.lumimusic.ai/mcp"
    }
  }
}
```

### VS Code

Click **[Install in VS Code](https://vscode.dev/redirect/mcp/install?name=lumimusic&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.lumimusic.ai%2Fmcp%22%7D)**, or add this to `.vscode/mcp.json`:

```json
{
  "servers": {
    "lumimusic": {
      "type": "http",
      "url": "https://mcp.lumimusic.ai/mcp"
    }
  }
}
```

### OpenAI Codex CLI

```bash
codex mcp add lumimusic --url https://mcp.lumimusic.ai/mcp
codex mcp login lumimusic
```

### Gemini CLI

**Option A — Install as a Gemini CLI Extension (Remote MCP + Producer Skill):**

```bash
gemini extensions install https://github.com/lumimusic-ai/lumimusic-mcp
```

**Option B — Connect the Remote MCP Server directly:**

```bash
gemini mcp add --transport http lumimusic https://mcp.lumimusic.ai/mcp
gemini mcp auth lumimusic
```

### Claude (Web & Desktop)

1. Open **Claude → Customize → Connectors** and click **Add custom connector**.
2. Set **Name** to `LumiMusic` and **URL** to `https://mcp.lumimusic.ai/mcp`.
3. Click **Connect** and finish browser OAuth sign-in.

### ChatGPT

1. Open **ChatGPT → Settings → Apps & Connectors** and click **New app** (requires Developer Mode where applicable).
2. Set **Name** to `LumiMusic` and **MCP Server URL** to `https://mcp.lumimusic.ai/mcp`.
3. Authorize with your LumiMusic account via OAuth.

### Cline

Add to `cline_mcp_settings.json` (or give Cline [`llms-install.md`](./llms-install.md) directly):

```json
{
  "mcpServers": {
    "lumimusic": {
      "url": "https://mcp.lumimusic.ai/mcp",
      "type": "streamableHttp",
      "disabled": false
    }
  }
}
```

---

## Example Prompts

Try pasting any of these into your connected AI assistant:

- **Create from scratch**:
  > *"I want a nostalgic midnight city-pop song. Let's brainstorm the tempo and write the lyrics first, then generate the track with LumiMusic."*
- **Voice memo → full song**:
  > *"Turn my local vocal memo `./demo-vocals.m4a` into a warm indie-folk track with full band backing in LumiMusic, and let me know when it's ready."*
- **Reference track analysis → original**:
  > *"Analyze the BPM, musical key, and structure of `./reference.mp3` in LumiMusic, then write an original upbeat synthwave track with a similar vibe."*
- **Remix & rearrange**:
  > *"Take my latest track in LumiMusic and remix it into a moody acoustic lo-fi version, keeping the main melody and chorus intact."*
- **Stems, mastering & lossless WAV**:
  > *"Move my latest favorite LumiMusic song into a workspace called 'EP Demos', split it into 4 stems, master the final mix, and export a lossless WAV."*
- **Custom voice profile**:
  > *"Check my saved custom voices in LumiMusic and sing a heartfelt acoustic ballad using my voice profile, with soft fingerpicked guitar."*

---

## Available Tools (14)

### Account, Polling & Audio Input

| Tool | Scope | Mode | Description |
| --- | --- | --- | --- |
| `get_account_status` | `mcp:read` | Read-only | Inspect current plan, credit balance, unlocked models, custom voices, and download permissions. |
| `wait_for_task` | `mcp:read` | Read-only | Long-poll async music tasks (`taskId`) or lossless WAV exports (`target="wav_export"`) up to 20s per call, with copyright-block recovery hints. |
| `prepare_audio_source` | `mcp:create` | Write | Ingest an external HTTPS audio URL or mint a single-use HTTP `PUT` upload URL for local files (MP3, WAV, FLAC, OGG, WebM, M4A; `<= 20 MB`, `<= 8 min`). |
| `submit_feedback` | `mcp:read` | Write | Submit a user-requested bug report, task error report, billing issue, or feature request to the LumiMusic team. |

### Music Creation & Transformation

| Tool | Scope | Cost | Description |
| --- | --- | --- | --- |
| `generate_music` | `mcp:create` | 10–20 cr / 2 songs | Generate original vocal or instrumental songs across 7 models (`V4_5ALL`, `V5`, `V5_5`, `M9`, `M9_5`, `R1`, `R2`), supporting structured lyrics, creative sliders, target duration (`10..360`s on `V5`/`V5_5`), reference audio, and custom voices (`M9`/`M9_5`). |
| `extend_music` | `mcp:create` | 10–20 cr | Seamlessly continue an existing library track (`musicId`) or uploaded audio (`uploadId`) from a chosen timestamp (`continueAt`). |
| `remix_music` | `mcp:create` | 10–20 cr | Re-arrange a library track or uploaded audio into a new genre, groove, or instrumentation (`R1` or V-series). |
| `cover_with_voice` | `mcp:create` | 10 cr | Create an AI vocal cover using curated vocal personas from `lumimusic://catalog/cover-voices` with optional pitch shift (`-12` to `+12` semitones). |
| `layer_vocals_or_instrumental` | `mcp:create` | 10–20 cr | Add AI vocals onto an instrumental (`action="add_vocals"`) or generate a full backing band around acapella vocals (`action="add_instrumental"`). |

### Audio Processing & Analysis

| Tool | Scope | Cost | Description |
| --- | --- | --- | --- |
| `separate_audio` | `mcp:create` | 10 or 50 cr | Split a track into 2 stems (`separate_vocal`, 10 cr), 4 stems (`split_four_stem`, 10 cr), or up to 12 detailed stems (`split_stem`, 50 cr, Starter+). |
| `analyze_music` | `mcp:create` | 2 cr | Synchronously analyze BPM, musical key, genres, moods, instrumentation, arrangement, mix notes, and a ready-to-use recreation prompt (`<= 15 MB` MP3/WAV/M4A). |

### Library, Mastering & Export

| Tool | Scope | Cost | Description |
| --- | --- | --- | --- |
| `browse_library` | `mcp:read` | Read-only | List, search, filter, and inspect generated songs, separated stems, and music analyses. |
| `manage_workspaces` | `mcp:organize` | Non-destructive | List, create, and rename workspaces; move tracks; toggle favorites; rename track titles. |
| `master_and_export` | `mcp:create` | 0 or 10 cr | Run studio AI mastering (`action="master"`, 10 cr, genre preset or reference track, MP3/WAV/FLAC), export lossless WAV (`action="export_wav"`, 0 cr, Pro+/Credit Pack), or extract word-level timestamps + `.lrc` lyrics (`action="timestamped_lyrics"`, 0 cr, Starter+/Credit Pack). |

---

## Built-in Resources & Prompts

### MCP Resources (3)

- `lumimusic://guides/models-and-routing` — Full model matrix (V-series, Mureka, R-series), plan gates, limits, and copyright-block recovery protocol.
- `lumimusic://guides/songwriting-and-tags` — Zero-credit songwriting metatags (`[Intro]`, `[Verse]`, `[Chorus]`, `[Bridge]`, `[Outro]`) and high-signal style tag guide.
- `lumimusic://catalog/cover-voices` — JSON catalog of curated vocal personas accepted by `cover_with_voice`.

### MCP Prompts (4)

- `create-full-song` — End-to-end original songwriting and generation workflow.
- `copyright-safe-retry` — Rewrite artist-referenced prompts into pure sonic descriptors and switch model families safely.
- `reference-to-original` — Analyze a reference track or upload and produce an original song inspired by its arrangement.
- `remix-or-cover-workflow` — Guided remix, extension, vocal layering, voice cover, or stem splitting workflow.

---

## Multi-Model Matrix

| Model Key | Family | Cost (2 songs) | Plan Gate | Highlights |
| --- | --- | --- | --- | --- |
| `V4_5ALL` | V-Series | 10 credits | Free+ | Fast, versatile default with reference audio & word-level lyrics |
| `V5` / `V5_5` | V-Series | 10 credits | Starter+ | Richer vocals, creative sliders, explicit target duration (`10..360`s) |
| `M9` | Mureka | 10 credits | Free+ | Strong long-form melody, multilingual vocals, custom voices (`voiceId`) |
| `M9_5` | Mureka | 15 credits | Starter+ | Higher-fidelity Mureka vocals, custom voices, reference audio |
| `R1` | R-Series | 20 credits | Free+ | Independent MusicGPT pipeline, acoustic realism, copyright-block fallback |
| `R2` | R-Series | 20 credits | Starter+ | Upgraded R-series realism & independent fallback pipeline |

---

## Multi-Client Plugin Bundle & Open-Source Agent Skill

In addition to the hosted Remote MCP server, this repository packages a reusable Agent Skill at [`skills/lumimusic-producer/SKILL.md`](./skills/lumimusic-producer/SKILL.md) alongside native plugin manifests so AI coding clients can install both the MCP connection and production playbook together:

- **Agent Plugins Open Standard**: [`plugin.json`](./plugin.json) + [`mcp.json`](./mcp.json)
- **Claude Code**: [`.claude-plugin/plugin.json`](./.claude-plugin/plugin.json) + [`.claude-plugin/marketplace.json`](./.claude-plugin/marketplace.json)
- **Cursor**: [`.cursor-plugin/plugin.json`](./.cursor-plugin/plugin.json)
- **OpenAI Codex**: [`.codex-plugin/plugin.json`](./.codex-plugin/plugin.json)
- **Gemini CLI**: [`gemini-extension.json`](./gemini-extension.json) + [`.gemini-plugin/plugin.json`](./.gemini-plugin/plugin.json)
- **Official MCP Registry**: [`server.json`](./server.json)
- **Cline Auto-Install**: [`llms-install.md`](./llms-install.md)

---

## Pricing, Privacy & Support

- **Web Studio & MCP Docs**: [https://lumimusic.ai/mcp](https://lumimusic.ai/mcp)
- **Plans & Credits**: [https://lumimusic.ai/pricing](https://lumimusic.ai/pricing)
- **Privacy Policy**: [https://lumimusic.ai/privacy](https://lumimusic.ai/privacy)
- **Terms of Service**: [https://lumimusic.ai/terms](https://lumimusic.ai/terms)
- **Support**: [support@lumimusic.ai](mailto:support@lumimusic.ai)

---

## License

The documentation, `server.json` manifest, installation instructions, and Agent Skills in this repository are released under the [MIT License](./LICENSE). The hosted LumiMusic MCP service and AI Music Studio platform are operated by Yian AI, LLC and governed by the [LumiMusic Terms of Service](https://lumimusic.ai/terms).