sonic-pi-mcp

sonic-pi-mcp

3.4

If you are the rightful owner of sonic-pi-mcp 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.

A Model Context Protocol (MCP) server that allows AI assistants to interact with Sonic Pi through OSC messages.

Sonic Pi MCP is a server that facilitates the interaction between AI tools and Sonic Pi, a live coding music synthesizer. By using OSC (Open Sound Control) messages, this server allows AI assistants like Claude and Cursor to programmatically create and control music in Sonic Pi. The server supports playing individual notes with customizable parameters and executing arbitrary Sonic Pi code. It is compatible with any MCP-compatible client, making it versatile for various AI applications. To use the server, prerequisites include having Bun, Sonic Pi version 4.0 or higher, and an MCP-compatible client. The server requires specific configuration in Sonic Pi to handle OSC messages, ensuring seamless communication between the server and the music synthesizer.

Features

  • Play individual notes with customizable synth parameters
  • Execute arbitrary Sonic Pi code
  • Works with any MCP-compatible client (Claude Desktop, Cursor, etc.)

Tools

  1. play_note

    Plays a single note with customizable parameters.

  2. run_code

    Executes arbitrary Sonic Pi code.