strudel-mcp-bridge

phildougherty/strudel-mcp-bridge

3.4

If you are the rightful owner of strudel-mcp-bridge and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Strudel MCP Bridge is a Model Context Protocol server that allows AI assistants to create and manipulate music using Strudel live coding patterns in real-time.

The Strudel MCP Bridge is a sophisticated system designed to enable AI assistants, such as Claude Desktop, to generate, execute, and modify Strudel live coding patterns directly through a web browser. This bridge leverages the Model Context Protocol (MCP) to facilitate seamless communication between AI models and the Strudel platform, allowing for real-time music creation and iteration. The system is built on a TypeScript server that interfaces with AI models, a Chrome browser extension for Strudel integration, and a WebSocket-based communication channel for immediate audio playback. With support for over 2000 Strudel sounds and drum machines, the Strudel MCP Bridge offers a comprehensive solution for AI-driven music generation, complete with pattern validation and error handling to ensure smooth operation.

Features

  • Real-time Strudel pattern generation from natural language descriptions
  • Live pattern modification and iteration
  • Browser integration with visual feedback
  • Support for 2000+ Strudel sounds and drum machines
  • WebSocket-based communication for immediate audio playback

Usages

usage with claude desktop

{
  "mcpServers": {
    "strudel-mcp-bridge": {
      "command": "node",
      "args": ["dist/server.js"],
      "cwd": "/absolute/path/to/strudel-mcp-bridge/mcp-server",
      "env": {
        "OPENROUTER_API_KEY": "your-openrouter-api-key-here",
        "OPENROUTER_MODEL": "anthropic/claude-3-5-sonnet-20241022"
      }
    }
  }
}

Tools

  1. create_live_pattern

    Generate and play new Strudel patterns

  2. modify_live_pattern

    Modify the currently playing pattern

  3. stop_pattern

    Stop all audio playback

  4. get_connection_status

    Check browser connection status

  5. set_ai_model

    Change the AI model used for generation

  6. get_ai_info

    Display current AI configuration