filopastry
by youwenshao
Overview
AI-powered live coding music generation using Strudel.cc, enabling agents to compose, manipulate, and analyze algorithmic music across various genres.
Installation
npm startEnvironment Variables
- DEEPSEEK_API_KEY
- DEBUG
Security Notes
Critical vulnerability: The `write` tool directly writes user-provided pattern code (which is JavaScript) to the Strudel.cc editor in the browser without enforcing validation. Although a `PatternValidator` exists to check for 'eval()' and other dangerous functions, it is not utilized by default when using the `write` tool, allowing arbitrary code execution within the browser context. This poses a severe risk if a malicious client or compromised AI provides harmful code. The `executeInStrudelContext` method also uses `eval()` internally but is not exposed as a direct MCP tool. Hardcoded API keys are avoided by relying on environment variables, which is a good practice.
Similar Servers
strudel-mcp-server
AI-powered music generation and live coding with Strudel.cc, enabling Claude to compose, manipulate, and analyze musical patterns.
spotify-streamable-mcp-server
Provides an LLM-friendly interface to control Spotify playback, search music, and manage playlists/saved songs, enabling voice control and smart-home automations.
tuisic
A terminal-based online music streaming application that provides an MCP (Model Context Protocol) server for AI integration, allowing AI clients to control music playback and search.
midi-mcp-server
An MCP server that enables AI models to generate MIDI files from text-based music data, allowing programmatic creation of musical compositions.