MCP server · Audited from source
Strudel MCP server
by williamzujkowski/strudel-mcp-serverAGPL-3.0 licenceAudited 6 Oct 2026 · source 0cab11a8cb56
Is it safe? With care — CAUTION, grade B (84/100). It exposes 28 tools: 20 read, 7 write and 1 destructive. The audit recorded 15 findings (0 critical, 0 high, 2 medium, 13 low). Maintainer's description: A Model Context Protocol (MCP) server that gives Claude direct control over Strudel.cc for AI-assisted music generation and live coding.
Cite
Cite this page
ModelsAtlas. “Strudel MCP server (williamzujkowski/strudel-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/williamzujkowski/strudel
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared4 observations
- NetworkNone observedNothing seen in the source
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 12 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
williamzujkowskiUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@williamzujkowski/live-coding-music-mcpat version 4.0.0 - LicenceAGPL-3.0From the repository, as read at the audited commit.
- Last push7 days agoActivity of the repository when we read it.
- Source commit read0cab11a8cb56The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory28 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (15)
Sorted by severity
MEDIUMHard-coded secretssecret.generic · src/__tests__/integration/GeminiService.integration.test.ts:237
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
effect
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · src/__tests__/unit/SafePath.test.ts
SafePath.test.ts
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWCode injectioncode.eval_exec · src/__tests__/unit/GeminiService.test.ts:851
text: () => 'new Function("return 1")'- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/unit/PatternSandbox.test.ts:63
['Function', `Function('return process')(); s('bd')`],- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/unit/PatternValidator.test.ts:369
expect(result.errors).toContain('Use of eval() or Function() is not allowed');- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/unit/PatternValidator.test.ts:373
const result = validator.validate('new Function("return s(\\"bd*4\\")")');- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/unit/PatternValidator.test.ts:376
expect(result.errors).toContain('Use of eval() or Function() is not allowed');- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · scripts/verify-export-audio.ts:115
const escape = await service.exportAudio(page, { duration: 300, filename: '../../../../tmp/pwned' });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/benchmarks/latency.benchmark.ts:18
import { StrudelController } from '../../StrudelController.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/benchmarks/latency.benchmark.ts:19
import { IsolatedStrudelEngine } from '../../services/IsolatedStrudelEngine.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/browser/AnalyzerFluxTimer.browser.test.ts:17
import { AudioAnalyzer } from '../../AudioAnalyzer';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/browser/CaptureTimers.browser.test.ts:27
import { AudioCaptureService } from '../../services/AudioCaptureService';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@google/generative-ai, @modelcontextprotocol/sdk, @tonejs/midi, google-auth-library, playwright, @types/jest, @types/node, @typescript-eslint/eslint-plugin
- Why
- 15 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
28 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
effect | destructive | Add or remove a Strudel effect on the current session pattern. |
compose | write | Generate, write, and play a complete pattern in one step. Auto-initializes default browser if needed. |
edit_pattern | write | Mutate the current session pattern. |
export_audio | write | Record a window of live Strudel audio and write it to a file. |
history | write | Navigate or inspect the pattern edit history. |
import_midi | write | Convert a .mid file into a playable Strudel pattern (Phase 1: literal transcription, #201). |
set_tempo | write | Set BPM. Writes setcpm(bpm/4), assuming one bar of 4/4 per cycle. |
transform | write | Apply a single transform op to the current session pattern. |
ai_assist | read | Gemini-backed pattern assistance. |
analyze | read | Audio analysis on the currently-playing pattern. |
analyze_pattern_local | read | Static analysis (events/cycle, complexity, optional BPM) without browser playback |
audio_capture | read | Record audio output from the live Strudel session. |
browser_window | read | Interact with the visible Strudel browser window. |
diagnostics | read | Inspect server and browser state. |
export_midi | read | Export current pattern to MIDI file. Parses note(), n(), and chord() functions. |
generate_part | read | Generate a single instrumental layer and append it to the current session pattern. |
generate_rhythm | read | Generate a rhythmic pattern and append it to the current session. |
get_pattern | read | Get current pattern code |
init | read | Initialize Strudel in browser |
music_theory | read | Music-theory queries. |
pattern_store | read | Persist patterns to disk and read them back. |
playback | read | Control transport on the current session. |
query_pattern_events | read | Enumerate events the pattern would emit between two cycle indices (max 16 cycles) |
session | read | Manage isolated Strudel browser sessions (multi-session, #108). |
shape | read | Shape the current pattern along one of three high-level dimensions. |
transpile_pattern | read | Transpile pattern source via StrudelEngine; returns transpiled code or syntax error |
validate_pattern_local | read | Validate pattern syntax against the local StrudelEngine, which runs in a sandboxed child process (no browser required) |
validate_pattern_runtime | read | Validate pattern with runtime error checking (monitors Strudel console for errors) |
Install
Package version 4.0.0 · audited commit 0cab11a
Read the findings first. The most severe is Hard-coded secrets (medium) at src/__tests__/integration/GeminiService.integration.test.ts.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 4.0.0. The audit covers commit 0cab11a only.
claude mcp add live-coding-music-mcp --env GEMINI_API_KEY=${GEMINI_API_KEY} --env STRUDEL_SECRET_PROBE=${STRUDEL_SECRET_PROBE} -- npx -y @williamzujkowski/[email protected]{
"mcpServers": {
"live-coding-music-mcp": {
"command": "npx",
"args": [
"-y",
"@williamzujkowski/[email protected]"
],
"env": {
"GEMINI_API_KEY": "${GEMINI_API_KEY}",
"STRUDEL_SECRET_PROBE": "${STRUDEL_SECRET_PROBE}"
}
}
}
}The command pins the package version recorded in the source (4.0.0); the audit covers commit 0cab11a8cb56. Transport: stdio. Reads these environment variables: GEMINI_API_KEY, STRUDEL_SECRET_PROBE. Give it the narrowest token it needs.
Audit history
- !CAUTION B 84 / 100
First audit ·
0cab11a8cb56
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/williamzujkowski/strudel/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Strudel MCP server
What is the Strudel MCP server?
What tools does Strudel expose?
Is Strudel safe to connect to an agent?
What credentials does Strudel need?
How does Strudel run?
How current is this page?
Sources
- williamzujkowski/strudel-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 0cab11a8cb56Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Strudel MCP server?
- What tools does Strudel expose?
- Is Strudel safe to connect to an agent?