Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEEPSEEK_API_KEY | No | Your DeepSeek API key for AI-powered pattern generation. Get an API key from the DeepSeek Platform (https://platform.deepseek.com/api_keys). When not configured, AI tools fall back to static pattern generation using the built-in PatternGenerator. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| init | Initialize Strudel in browser |
| write | Write pattern to editor |
| 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 |
| 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 |
| 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 |
| ai_generate_pattern | Generate a Strudel pattern from natural language description using DeepSeek AI |
| ai_enhance_pattern | Enhance or modify the current pattern using AI suggestions |
| ai_explain_pattern | Get an AI-generated explanation of what the current pattern does |
| ai_analyze_pattern | Get AI analysis of the pattern including style detection, complexity assessment, and improvement suggestions |
| ai_suggest_variations | Generate AI-suggested variations of the current pattern |
| ai_status | Check if DeepSeek AI features are available and configured |
| ai_test_connection | Test DeepSeek API connection with a simple request to diagnose connection issues |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |