@mthines/reaper-mcp 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/main.js +26 -15
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -540,6 +540,7 @@ function createServer() {
540
540
  import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "node:fs";
541
541
  import { join as join3, dirname } from "node:path";
542
542
  import { fileURLToPath } from "node:url";
543
+ import { homedir as homedir2 } from "node:os";
543
544
 
544
545
  // apps/reaper-mcp-server/src/cli.ts
545
546
  import { copyFileSync, existsSync, mkdirSync, readdirSync, statSync, writeFileSync } from "node:fs";
@@ -630,11 +631,12 @@ async function setup() {
630
631
  console.log(" 2. Actions > Show action list > Load ReaScript");
631
632
  console.log(` 3. Select: ${luaDest}`);
632
633
  console.log(" 4. Run the script (it will keep running in background via defer loop)");
633
- console.log(" 5. Add reaper-mcp to your Claude Code config (see: reaper-mcp doctor)");
634
+ console.log(" 5. Add reaper-mcp to your Claude Code config (see: npx @mthines/reaper-mcp doctor)");
634
635
  }
635
636
  async function installSkills() {
636
637
  console.log("REAPER MCP \u2014 Install AI Mix Engineer Skills\n");
637
638
  const targetDir = process.cwd();
639
+ const globalClaudeDir = join3(homedir2(), ".claude");
638
640
  const knowledgeSrc = resolveAssetDir(__dirname, "knowledge");
639
641
  const knowledgeDest = join3(targetDir, "knowledge");
640
642
  if (existsSync2(knowledgeSrc)) {
@@ -667,6 +669,11 @@ async function installSkills() {
667
669
  } else {
668
670
  console.log("Claude agents not found in package. Skipping.");
669
671
  }
672
+ const globalAgentsDir = join3(globalClaudeDir, "agents");
673
+ if (existsSync2(agentsSrc)) {
674
+ const count = copyDirSync(agentsSrc, globalAgentsDir);
675
+ console.log(`Installed Claude agents (global): ${count} files \u2192 ${globalAgentsDir}`);
676
+ }
670
677
  const mcpJsonPath = join3(targetDir, ".mcp.json");
671
678
  if (createMcpJson(mcpJsonPath)) {
672
679
  console.log(`
@@ -684,22 +691,22 @@ async function doctor() {
684
691
  const bridgeRunning = await isBridgeRunning();
685
692
  console.log(`Lua bridge: ${bridgeRunning ? "\u2713 Connected" : "\u2717 Not detected"}`);
686
693
  if (!bridgeRunning) {
687
- console.log(' \u2192 Run "reaper-mcp setup" then load mcp_bridge.lua in REAPER');
694
+ console.log(' \u2192 Run "npx @mthines/reaper-mcp setup" then load mcp_bridge.lua in REAPER');
688
695
  }
689
696
  const agentsExist = existsSync2(join3(process.cwd(), ".claude", "agents"));
690
697
  console.log(`Mix agents: ${agentsExist ? "\u2713 Found (.claude/agents/)" : "\u2717 Not installed"}`);
691
698
  if (!agentsExist) {
692
- console.log(' \u2192 Run "reaper-mcp install-skills" in your project directory');
699
+ console.log(' \u2192 Run "npx @mthines/reaper-mcp install-skills" in your project directory');
693
700
  }
694
701
  const knowledgeExists = existsSync2(join3(process.cwd(), "knowledge"));
695
702
  console.log(`Knowledge base: ${knowledgeExists ? "\u2713 Found in project" : "\u2717 Not installed"}`);
696
703
  if (!knowledgeExists) {
697
- console.log(' \u2192 Run "reaper-mcp install-skills" in your project directory');
704
+ console.log(' \u2192 Run "npx @mthines/reaper-mcp install-skills" in your project directory');
698
705
  }
699
706
  const mcpJsonExists = existsSync2(join3(process.cwd(), ".mcp.json"));
700
707
  console.log(`MCP config: ${mcpJsonExists ? "\u2713 .mcp.json found" : "\u2717 .mcp.json missing"}`);
701
708
  if (!mcpJsonExists) {
702
- console.log(' \u2192 Run "reaper-mcp install-skills" to create .mcp.json');
709
+ console.log(' \u2192 Run "npx @mthines/reaper-mcp install-skills" to create .mcp.json');
703
710
  }
704
711
  console.log('\nTo check SWS Extensions, start REAPER and use the "list_available_fx" tool.');
705
712
  console.log("SWS provides enhanced plugin discovery and snapshot support.\n");
@@ -718,7 +725,7 @@ async function serve() {
718
725
  if (!bridgeRunning) {
719
726
  log("WARNING: Lua bridge does not appear to be running in REAPER.");
720
727
  log("Commands will timeout until the bridge script is started.");
721
- log('Run "reaper-mcp setup" for installation instructions.');
728
+ log('Run "npx @mthines/reaper-mcp setup" for installation instructions.');
722
729
  } else {
723
730
  log("Lua bridge detected \u2014 connected to REAPER");
724
731
  }
@@ -766,18 +773,22 @@ switch (command) {
766
773
  console.log(`reaper-mcp \u2014 AI-powered mixing for REAPER DAW
767
774
 
768
775
  Usage:
769
- reaper-mcp Start MCP server (stdio mode)
770
- reaper-mcp serve Start MCP server (stdio mode)
771
- reaper-mcp setup Install Lua bridge + JSFX analyzers into REAPER
772
- reaper-mcp install-skills Install AI mix engineer knowledge into your project
773
- reaper-mcp doctor Check that everything is configured correctly
774
- reaper-mcp status Check if Lua bridge is running in REAPER
776
+ npx @mthines/reaper-mcp Start MCP server (stdio mode)
777
+ npx @mthines/reaper-mcp serve Start MCP server (stdio mode)
778
+ npx @mthines/reaper-mcp setup Install Lua bridge + JSFX analyzers into REAPER
779
+ npx @mthines/reaper-mcp install-skills Install AI mix engineer knowledge + agents into your project
780
+ npx @mthines/reaper-mcp doctor Check that everything is configured correctly
781
+ npx @mthines/reaper-mcp status Check if Lua bridge is running in REAPER
775
782
 
776
783
  Quick Start:
777
- 1. reaper-mcp setup # install REAPER components
784
+ 1. npx @mthines/reaper-mcp setup # install REAPER components
778
785
  2. Load mcp_bridge.lua in REAPER (Actions > Load ReaScript > Run)
779
- 3. reaper-mcp install-skills # install AI knowledge in your project
780
- 4. Open Claude Code \u2014 REAPER tools + mix engineer brain are ready
786
+ 3. npx @mthines/reaper-mcp install-skills # install AI knowledge + agents
787
+ 4. Open Claude Code \u2014 REAPER tools + mix engineer agents are ready
788
+
789
+ Tip: install globally for shorter commands:
790
+ npm install -g @mthines/reaper-mcp
791
+ reaper-mcp setup
781
792
  `);
782
793
  break;
783
794
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mthines/reaper-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "MCP server for controlling REAPER DAW — real-time mixing, FX control, and frequency analysis for AI agents",
6
6
  "license": "MIT",