Back to Home
williamzujkowski icon

strudel-mcp-server

Verified Safe

by williamzujkowski

Overview

An MCP server for AI-powered music generation and live coding through Strudel.cc, enabling AI agents to compose, manipulate, and analyze musical patterns.

Installation

Run Command
strudel-mcp

Environment Variables

  • DEBUG
  • NODE_ENV

Security Notes

The server uses Playwright to automate a browser (Strudel.cc), allowing dynamic code execution via `page.evaluate()`. This inherent risk is extensively mitigated by multiple layers of defense: - `PatternValidator` performs syntax and safety checks on user-provided code (e.g., preventing `eval()` or `Function()` calls) *before* it's executed in the browser's sandbox. - `PatternStore` rigorously sanitizes filenames using `path.basename` and regex to prevent path traversal and other file system attacks. - File I/O is restricted to a designated 'patterns' directory. - The browser operates within its own sandbox, providing isolation from the host system. - There are no hardcoded secrets or direct `child_process` calls in the core server logic; `child_process` is only used in test files. Input validation (`InputValidator`) is robust across all tools.

Similar Servers

Stats

Interest Score64
Security Score9
Cost ClassMedium
Avg Tokens250
Stars101
Forks13
Last Update2025-12-14

Tags

mcpmodel-context-protocolstrudelmusic-generationlive-codingaialgorithmic-compositionweb-audio