← Back to directory
L

Live Coding Music MCP Server

Community
Drive Strudel with MCP to create and live-code music.
Category
Other #217 of 678
Stars
★ 252 Very popular
Transport
stdio (local process)
Runtime
Node.js 22+
Credentials
Optional API key
License
AGPL-3.0
Last commit
Tools
28
55FMRS · C

This unofficial beta MCP server supports local Strudel music creation with browser control, pattern generation and editing, audio analysis, and file export. Users should account for its lack of authentication, disabled Chromium OS sandbox, and experimental status.

Strongest · Maintenance 13/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
11/20
Maintenance
13/20
Documentation
12/20
Setup experience
10/20
Why each score
Reliability 9/20
The README describes the main initialize, edit, playback, and analysis workflow and claims extensive tests and CI. This review was not given the manifest, workflows, or test files to verify the MCP handshake, tool implementations, or those test claims. The README also says tempo detection reflects polling cadence and labels the project Beta, so key paths and diagnosable edge-case handling remain unverified.
Security and permissions 11/20
The README discloses pattern validation, path traversal protection, a non-persistent browser context, and the disabled Chrome OS sandbox. It also says network requests remain allowed and the server has no authentication and trusts all incoming requests. These risks are disclosed, but evidence for permission scoping, confirmation of dangerous operations, and concrete data-flow controls is limited, so points are deducted. No evidence of a listed red line was provided.
Maintenance 13/20
The README claims active development, npm releases, CI-gated dependency updates, and provides an AGPL license and a security reporting channel. The object metadata also says the repository is not archived and has open issues. Commit history, release history, and issue response evidence were not provided, so sustained maintenance cannot be established and the score is limited.
Documentation 12/20
The README provides installation steps, client configuration, a tool overview, examples, configuration guidance, and troubleshooting, and discloses Beta status and several known limitations. Some details conflict, such as the example-pattern counts in different sections; cost, authentication boundaries, and verifiable evidence for tool behavior are also limited, so points are deducted.
Setup experience 10/20
The README gives npm and source installation steps, Node.js and Chromium prerequisites, and configuration examples for Claude Desktop and Claude Code. The process still requires a separate Playwright Chromium installation, and no verifiable CI, test, or live connection evidence was supplied. Platform compatibility is mostly described in prose, so the score is conservative.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkControls a browser

Best for

  • Users who want to explore Strudel pattern-based music creation and are willing to run browser automation locally.
  • Claude users who want to iteratively generate, play, and refine music patterns.

Not for

  • Users who need production stability or guarantees against breaking changes.
  • Users who require official Strudel support, a remote network service, or authenticated access.

Required permissions

  • Needs to launch Chromium and access strudel.cc; configuration can also point to a self-hosted or pinned Strudel page.
  • Needs an audio output device for playback; saving patterns and exporting files require local read/write access to the relevant directories.
  • Gemini-backed assistance requires GEMINI_API_KEY or a logged-in supported CLI on PATH.

Risks and side effects

  • This is an unofficial fan project in beta and experimental, so bugs and breaking changes are possible.
  • The documentation says the Chromium OS-level sandbox is disabled; although the browser context is fresh and non-persistent, page scripts and network requests run normally.
  • The server has no authentication and is intended for local use; patterns execute in a browser context with audio access.
  • The documentation says current tempo detection reflects agent polling cadence rather than the actual audio tempo.

Setup

Before you start

Runtime:Node.js 22+

GEMINI_API_KEY optionalsecret Optional Gemini API key for enabling `ai_assist`; obtain it from Gemini.
Other optional settings (1)
DEBUG optional Optional environment variable for verbose debug logging; the docs show setting it to `*`.

Requires Node.js 22.x or later, npm 10 or later, Chromium installed by Playwright, and an audio output device for playback. Run npm install -g @williamzujkowski/live-coding-music-mcp, then npx playwright install chromium. Add {"mcpServers":{"live-coding-music":{"command":"live-coding-music-mcp"}}} to the Claude Desktop configuration and restart the client. For Claude Code, run claude mcp add strudel live-coding-music-mcp.

claude_desktop_config.json
{"mcpServers":{"live-coding-music":{"command":"live-coding-music-mcp"}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "live-coding-music": {
      "command": "live-coding-music-mcp"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.live-coding-music]
command = "live-coding-music-mcp"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add live-coding-music -- live-coding-music-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that the MCP client lists tools such as `init` and `compose` for `live-coding-music`. Then ask it to initialize Strudel and compose a techno beat; confirm the browser editor opens and playback starts.

Troubleshooting

  1. If the browser does not start, confirm `npx playwright install chromium` has been run; Linux may also need Chromium system dependencies.
  2. If audio analysis is not connected, start playback first; some systems also require a visible browser window and user interaction on first use.
  3. If a pattern will not play, check quotes, parentheses, and note names, then validate with a simple pattern such as `s("bd*4")`.
  4. If the MCP client cannot find the server, confirm the global install and configured command name, then restart the client.
  5. If patterns will not save, check that the patterns directory exists and is writable, and use a name without path separators.

Things to try

Once connected, you can ask your AI assistant things like:

  • Initialize Strudel and compose a techno beat.
  • Analyze the rhythm and frequency spectrum of the music playing now.
  • Add a techno bassline in C to the current pattern.

Tools 28

init writes
Initialize Strudel in a browser.
edit_pattern writes
Write, append, insert, replace, or clear the current pattern code.
get_pattern read-only
Read the current pattern code.
playback writes
Play, pause, or stop the current pattern.
set_tempo writes
Set the BPM.
pattern_store writes
Save patterns to disk, load them, or list saved patterns.
import_midi writes
Convert a MIDI file into a playable Strudel pattern.
history writes
Inspect or navigate pattern edit history, including undo, redo, restore, and compare.
Show 20 more tools
compose writes
Generate, write, and play a complete pattern in one step.
generate_part writes
Generate a drum, bass, melody, or fill part and append it to the current pattern.
generate_rhythm writes
Generate a Euclidean rhythm or polyrhythm and append it to the current pattern.
music_theory writes
Query scales or generate a chord progression written into the current pattern.
transform writes
Apply transposition, reversal, stretching, quantization, humanization, swing, scale filtering, or variation to the current pattern.
effect writes
Add or remove a Strudel effect on the current pattern.
shape writes
Adjust the current pattern by mood, energy, or a directional refinement.
ai_assist writes
Use Gemini for pattern feedback, suggestions, or generating and merging a new layer; requires Gemini credentials or a logged-in supported CLI.
analyze read-only
Analyze currently playing audio, including tempo, key, spectrum, and rhythm complexity.
validate_pattern_runtime read-only
Check a pattern at runtime and monitor Strudel console errors.
validate_pattern_local read-only
Check pattern syntax using the local StrudelEngine without a browser.
analyze_pattern_local read-only
Statically analyze a pattern without browser playback.
query_pattern_events read-only
List events a pattern would emit over a specified cycle range.
transpile_pattern read-only
Transpile pattern source through StrudelEngine and return code or a syntax error.
session writes
Create, destroy, list, or switch isolated Strudel browser sessions.
export_midi writes
Export the current pattern as a MIDI file.
browser_window read-only
Show the Strudel browser window or capture an editor screenshot.
audio_capture writes
Record audio from the current Strudel session and return audio data.
diagnostics read-only
Inspect server and browser state, errors, or performance information.
export_audio writes
Record a window of playing Strudel audio and write it to a file.

Use cases

Generate and play patterns in styles such as techno, house, and ambient using natural language.
Edit, transform, save, and restore Strudel patterns in real time.
Analyze playing audio or generate Euclidean rhythms, polyrhythms, and chord progressions.
Import or export MIDI and record audio files.

Supported clients

Claude Desktop
Claude Code

Listed from the project's documentation, not tested by this site.

Overview

Live Coding Music MCP Server is an unofficial adapter for Strudel.cc that lets Claude control Strudel through a browser to generate, edit, play, and analyze pattern-based music. The project is in beta and explicitly described as experimental, with possible bugs and breaking changes.

Similar servers

Source revision bbf19bd09991 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/live-coding-music-mcp.svg)](https://followmcp.com/en/servers/live-coding-music-mcp)