A
abhishekjairath/sonic-pi-mcp
Control Sonic Pi from an assistant
View on GitHub ↗Link checked 2026-11-12 · automated check blocked (HTTP 429), status unconfirmed
Install & config
- Copy the command above
- Paste it as one entry under
mcpServersinclaude_desktop_config.json— local servers take command + args (example: clients) - Restart your client
Client config (built from the install command this repo gives)
{
"mcpServers": {
"abhishekjairath-sonic-pi-mcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
}
}
}Parsed from the README we fetched on 2026-11-06; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"abhishekjairath-sonic-pi-mcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio abhishekjairath-sonic-pi-mcp -- npx -y sonic-pi-mcp
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx -y sonic-pi-mcp
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx -y sonic-pi-mcp. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# Sonic Pi MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Model Context Protocol (MCP) server for Sonic Pi. Describe music in natural language in your LLM client; the model generates Sonic Pi code and this server sends it over OSC. Use the included queue runner in Sonic Pi for crossfades between segments.
## Features
queuesegment — send the next full musical segment (named liveloops, usebpm, etc.).
runcode — same as queuesegment (compatibility).
stopall — hard stop via OSC (/stop-all-jobs), like Sonic Pi’s Stop.
playnote — quick test note.
Resource — DJ session craft, vocabulary, and tool usage (read from the MCP client).
Prompt nextperformancesegment — help frame the next block for longer sets.
Env — OSCHOST, OSCPORT, OSCCODEPATH, OSCSTOPALLPATH.
## Prerequisites
Sonic Pi v4.x
Node.js 18+ (npx / node)
An MCP-capable client (Cursor, Claude Desktop, VS Code with MCP, etc.)
Optional: Bun for local development (bun run dev).
## One-time Sonic Pi setup (queue runner)
1. Open Sonic Pi.
2. Copy sonic-pi-queue.rb into a buffer.
3. Press Run and leave it running.
The buffer listens on the default OSC port and crossfades between segments sent by the MCP.
## Install the MCP server
bash
npx -y sonic-pi-mcp
Point your client at this command over stdio (see below).
### Cursor
Use ~/.cursor/mcp.json and/or .cursor/mcp.json in a project:
json
"mcpServers": {
"sonicpimcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
Local clone (after npm install or bun install and bun run build):
json
"mcpServers": {
"sonicpimcp": {
"command": "node",
"args": ["/absolute/path/to/sonic-pi-mcp/bin/cli.mjs"]
Bun without building — some clients ignore cwd; use an absolute path to src/server.ts, or use the launcher:
json
"mcpServers": {
"sonicpimcp": {
"command": "/absolute/path/to/sonic-pi-mcp/bin/mcp-dev.sh",
"args": []
Run chmod +x bin/mcp-dev.sh once. The script changes into the repo and runs bun run src/server.ts.
### Claude Desktop
~/Library/Application Support/Claude/claudedesktopconfig.json (paths differ on Windows):
json
"mcpServers": {
"sonicpimcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
For a local clone, prefer bin/mcp-dev.sh (see above) if you see Module not found "src/server.ts" or spawn bunx ENOENT. Remove and re-add the MCP in the app if an old definition is cached.
### VS Code
Configure your MCP extension to run npx with -y and sonic-pi-mcp, stdio transport, per the extension’s docs.
## Environment variables
| Variable | Default | Meaning |
| OSCHOST | 127.0.0.1 | Sonic Pi host |
| OSCPORT | 4560 | Sonic Pi OSC port |
| OSCCODEPATH | /run-code | OSC path for code (must match your Sonic Pi buffer) |
| OSCSTOPALLPATH | /stop-all-jobs | Hard stop path |
Allow incoming OSC in Sonic Pi if you connect from another machine; set OSCHOST accordingly.
## Development
bash
git clone https://github.com/abhishekjairath/sonic-pi-mcp.git
cd sonic-pi-mcp
bun install # or npm install
## Features
queuesegment — send the next full musical segment (named liveloops, usebpm, etc.).
runcode — same as queuesegment (compatibility).
stopall — hard stop via OSC (/stop-all-jobs), like Sonic Pi’s Stop.
playnote — quick test note.
Resource — DJ session craft, vocabulary, and tool usage (read from the MCP client).
Prompt nextperformancesegment — help frame the next block for longer sets.
Env — OSCHOST, OSCPORT, OSCCODEPATH, OSCSTOPALLPATH.
## Prerequisites
Sonic Pi v4.x
Node.js 18+ (npx / node)
An MCP-capable client (Cursor, Claude Desktop, VS Code with MCP, etc.)
Optional: Bun for local development (bun run dev).
## One-time Sonic Pi setup (queue runner)
1. Open Sonic Pi.
2. Copy sonic-pi-queue.rb into a buffer.
3. Press Run and leave it running.
The buffer listens on the default OSC port and crossfades between segments sent by the MCP.
## Install the MCP server
bash
npx -y sonic-pi-mcp
Point your client at this command over stdio (see below).
### Cursor
Use ~/.cursor/mcp.json and/or .cursor/mcp.json in a project:
json
"mcpServers": {
"sonicpimcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
Local clone (after npm install or bun install and bun run build):
json
"mcpServers": {
"sonicpimcp": {
"command": "node",
"args": ["/absolute/path/to/sonic-pi-mcp/bin/cli.mjs"]
Bun without building — some clients ignore cwd; use an absolute path to src/server.ts, or use the launcher:
json
"mcpServers": {
"sonicpimcp": {
"command": "/absolute/path/to/sonic-pi-mcp/bin/mcp-dev.sh",
"args": []
Run chmod +x bin/mcp-dev.sh once. The script changes into the repo and runs bun run src/server.ts.
### Claude Desktop
~/Library/Application Support/Claude/claudedesktopconfig.json (paths differ on Windows):
json
"mcpServers": {
"sonicpimcp": {
"command": "npx",
"args": ["-y", "sonic-pi-mcp"]
For a local clone, prefer bin/mcp-dev.sh (see above) if you see Module not found "src/server.ts" or spawn bunx ENOENT. Remove and re-add the MCP in the app if an old definition is cached.
### VS Code
Configure your MCP extension to run npx with -y and sonic-pi-mcp, stdio transport, per the extension’s docs.
## Environment variables
| Variable | Default | Meaning |
| OSCHOST | 127.0.0.1 | Sonic Pi host |
| OSCPORT | 4560 | Sonic Pi OSC port |
| OSCCODEPATH | /run-code | OSC path for code (must match your Sonic Pi buffer) |
| OSCSTOPALLPATH | /stop-all-jobs | Hard stop path |
Allow incoming OSC in Sonic Pi if you connect from another machine; set OSCHOST accordingly.
## Development
bash
git clone https://github.com/abhishekjairath/sonic-pi-mcp.git
cd sonic-pi-mcp
bun install # or npm install
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/abhishekjairath-sonic-pi-mcp/)
- Source
- awesome · https://github.com/abhishekjairath/sonic-pi-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.