strudel-ai
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@strudel-aiCreate a session with a simple synth pattern and render it to WAV"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
strudel-ai
Local HTTP + MCP tool for AI agents to write/edit Strudel code, offline-render WAV audio, and get a structured “hearing” report (waveform, spectrogram, dB envelopes, bands, onsets, estimated BPM).
Sibling project to cryptid-crawler — finished sounds can be copied into the game later.
License: AGPL-3.0-or-later (inherits from Strudel / superdough).
Quick start
cd ~/Projects/strudel-ai
npm install
npm run smoke # render + analyze a tiny pattern
npm start # HTTP on http://127.0.0.1:8787
npm run mcp # MCP stdio server for CursorRelated MCP server: MCP MiniMax Music Server
Agent loop
POST /sessions→ create sessionPUT /sessions/:id/code→ write StrudelPOST /sessions/:id/render-analyze→ WAV + hearing reportRead
hearing.summary/ artifacts;PATCH /sessions/:id/codeto editGET /sessions/:id/diff?from=1&to=2→ code + metric deltas
Same ops exist as MCP tools: session_create, code_set, code_patch, render_analyze, hearing_get, session_diff, artifact_paths, …
HTTP surface
Method | Path | Purpose |
GET |
| liveness |
POST |
| create |
GET |
| list |
GET |
| meta |
PUT |
| new full revision |
PATCH |
| search/replace or unified diff |
GET |
| read code |
POST |
| offline WAV |
POST |
| hearing pack |
POST |
| both |
GET |
| JSON report |
GET |
| png/wav/json |
GET |
| code + hearing delta |
POST |
| open Strudel.cc REPL + play WAV (mpv/xdg-open) |
Pass "open": true on render-analyze to do that automatically when finished.
# CLI: open code in Strudel editor + play media
npm run open -- out/ps1_pistol.strudel.js out/ps1_pistol.wav
npm run open -- <sessionId>Example
SID=$(curl -s -X POST http://127.0.0.1:8787/sessions -H 'content-type: application/json' -d '{"title":"demo"}' | jq -r .id)
curl -s -X PUT http://127.0.0.1:8787/sessions/$SID/code \
-H 'content-type: application/json' \
-d '{"code":"note(\"c3 e3 g3 c4\").s(\"sawtooth\").gain(0.4)"}' | jq .currentRevision
curl -s -X POST http://127.0.0.1:8787/sessions/$SID/render-analyze \
-H 'content-type: application/json' \
-d '{"cycles":2,"cps":0.5}' | jq '.hearing.summary'Cursor MCP config
Add to your MCP settings (stdio):
{
"mcpServers": {
"strudel-ai": {
"command": "npx",
"args": ["tsx", "src/cli.ts", "mcp"],
"cwd": "/home/agbowman99/Projects/strudel-ai"
}
}
}Notes
Default sample bank is
github:tidalcycles/dirt-samples(override withSTRUDEL_AI_SAMPLES). Synths (sawtooth,sine, …) come fromsuperdough.@kabelsalat/webis patched onpostinstallso Node can importSalatRepl.Session data lives in
./sessions/(gitignored).Architecture diagram: mermaid-lite project Strudel AI (
ml show "Strudel AI").
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI-powered music generation and live coding by providing direct control over Strudel.cc through browser automation. Supports pattern creation, audio analysis, and pattern storage for TidalCycles/Strudel music patterns.2731230AGPL 3.0
- FlicenseBqualityDmaintenanceEnables AI agents to generate music and audio content using the MiniMax Music API through text prompts, with support for reference audio and lyric generation.15
- FlicenseCqualityDmaintenanceEnables AI agents to generate, manipulate, and perform algorithmic music using Strudel.cc live coding environment. Provides 46+ tools for pattern generation across multiple genres, music theory operations, real-time audio analysis, and AI-powered composition.50
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Strudel, a JavaScript live coding music environment, by executing patterns, retrieving states, and accessing documentation.2AGPL 3.0
Related MCP Connectors
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
Generate images, video, and audio with Glif's media-generation agent
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bowmana/strudel-ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server