sonic-pi-mcp

sonic-pi-mcp

5

Sonic Pi MCP is a server enabling AI assistants to interact with Sonic Pi through OSC messages, facilitating programmatic music creation. It supports custom note playing and code execution, and integrates with MCP-compatible clients.

Sonic Pi MCP

A Model Context Protocol (MCP) server allowing AI assistants to interact with Sonic Pi via OSC messages for creating music programmatically.

Features

  • Play custom notes with synth parameters
  • Execute Sonic Pi code
  • Compatible with MCP clients like Claude Desktop and Cursor

Prerequisites

  • Bun
  • Sonic Pi (v4.0 or higher)
  • An MCP-compatible client

Troubleshooting

  1. Ensure Sonic Pi is running and listening on port 4560.
  2. Check for connection or execution errors in the Sonic Pi logs.