Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
init

Initialize Strudel in browser

write

Write pattern to editor with optional auto-play and validation

append

Append code to current pattern

insert

Insert code at specific line

replace

Replace pattern section

play

Start playing pattern

pause

Pause playback

stop

Stop playback

clear

Clear the editor

get_pattern

Get current pattern code

transpose

Transpose notes by semitones

reverse

Reverse pattern

stretch

Time stretch pattern

quantize

Quantize to grid

humanize

Add human timing variation

generate_variation

Create pattern variations

generate_pattern

Generate complete pattern from style with optional auto-play

generate_drums

Generate drum pattern

generate_bassline

Generate bassline

generate_melody

Generate melody from scale

analyze

Complete audio analysis

analyze_spectrum

FFT spectrum analysis

analyze_rhythm

Rhythm analysis

detect_tempo

BPM detection

detect_key

Key detection

validate_pattern_runtime

Validate pattern with runtime error checking (monitors Strudel console for errors)

add_effect

Add effect to pattern

remove_effect

Remove effect

set_tempo

Set BPM

add_swing

Add swing to pattern

apply_scale

Apply scale to notes

save

Save pattern with metadata

load

Load saved pattern

list

List saved patterns

undo

Undo last action

redo

Redo action

list_history

List recent pattern history with timestamps and previews

restore_history

Restore a previous pattern from history by ID

compare_patterns

Compare two patterns from history showing differences

generate_scale

Generate scale notes

generate_chord_progression

Generate chord progression

generate_euclidean

Generate Euclidean rhythm

generate_polyrhythm

Generate polyrhythm

generate_fill

Generate drum fill

performance_report

Get performance metrics and bottlenecks

memory_usage

Get current memory usage statistics

show_browser

Bring browser window to foreground for visual feedback

screenshot

Take a screenshot of the current Strudel editor state

status

Get current browser and playback status (quick state check)

diagnostics

Get detailed browser diagnostics including cache, errors, and performance

show_errors

Display captured console errors and warnings from Strudel

compose

Generate, write, and play a complete pattern in one step. Auto-initializes browser if needed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/williamzujkowski/strudel-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server