Back to Home
williamzujkowski icon

strudel-mcp-server

Verified Safe

by williamzujkowski

Overview

An MCP server enabling AI-powered music generation, live coding, and algorithmic composition by controlling Strudel.cc in a browser.

Installation

Run Command
node dist/index.js

Environment Variables

  • DEBUG
  • NODE_ENV

Security Notes

The server executes user-provided JavaScript code within a Playwright-controlled browser context via `new Function()` in the `executeInStrudelContext` tool. While the `PatternValidator` attempts to detect dangerous patterns (e.g., `eval()`, infinite loops, excessive gain) and performs syntax checks for Strudel patterns, executing arbitrary, albeit validated, JavaScript in a browser still carries inherent risks if the validation is incomplete or new browser vulnerabilities emerge. File operations in `PatternStore` use `sanitizeFilename` to prevent path traversal. No hardcoded secrets were found. The default `headless: false` in `config.json` means a browser GUI will appear, which can be changed for server environments.

Similar Servers

Stats

Interest Score66
Security Score7
Cost ClassMedium
Avg Tokens750
Stars134
Forks20
Last Update2026-01-15

Tags

mcpstrudelmusic-generationlive-codingai-composition